Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7174617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:05:43+00:00 2026-05-28T16:05:43+00:00

There has been some mention of using 4.0 libraries from a 2.0 app, using

  • 0

There has been some mention of using 4.0 libraries from a 2.0 app, using COM interop. My requirement is slightly different in that I do not want to expose types to my 2.0 app, but I have a Diagnostics.Process.Start(….) command in the 2.0 application which until now, started an external EXE elsewhere on the local drive that had also been compiled under 2.0 framework.

The external EXE has since been upgraded to using framework 4.0 and the Diagnostics.Process.Start no longer works, it seems for this reason.

I have tried to change the framework type under the .csproj files for the called EXE, recompiled and tried that but still no joy, not sure if now that it is under VS2010 it is irreversibly changed to no longer be compatible with 2.0. I wouldn’t have thought this would be an issue as like I said I am not calling types in a library, I am just using Diagnostics.Process.Start to start an external EXE, which surely it shouldn’t matter what version of framework it is compiled under?

Has anyone experienced anything like this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:05:44+00:00Added an answer on May 28, 2026 at 4:05 pm

    If you’re launching a brand new process for your 4.0 executable, the framework version should be irrelevant. The two processes are separate with different environments. Can you specify the errors you’re getting when trying to launch the new 4.0 EXE?

    If changing the target framework to 2.0 in the new projects fails as well, I’m guessing it’s something else. Maybe code access security, or general permissions?

    Edit: If you’re not getting explicit error messages but just seeing your 4.0 EXE start and close without warning, try using tools like ProcMon or DbgView to catch unexpected messages, or add a call to System.Diagnostics.Debugger.Attach() in your 4.0 process’s main entrypoint, to enter debugging and see what’s going on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently there has been quite some hype around all the different mocking frameworks in
In the Zend Framework Quickstart , there has been a change from models that
There has been some talk of Website performance monitoring tools and services on stackoverflow,
It seems that there has been a recent rising interest in STM (software transactional
From the .net 4.0 previews I have read until now there has been lots
A coworker has been using a custom AVI to indicate progress during some longer
I understand that there has been countless of question posted here regarding opacity issues
There has been a flurry of updates released to Microsoft's Silverlight over the past
There has been a lot of sentiment to include a nameof operator in C#.
There has been a lot of talk around iPad-Apps / Approval / Store-related Questions.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.