Tvd
Tvd

Reputation: 4601

.NET exe file need to execute in .NEt 4

I have an application developed in .NET 3.5. With PC's having .NET 4.0, this application doesnot execute at all. Application in all contains 2 dll's & 2 exe's (all developed by me).

I came to know that .NET4.0 is not backward compatible, due to which this problem is arised. Now, how do I make my application running on PC with .NET4.0 or 4.5. I just installed VS2010 (have VS2008) & want to know what & how to do to make the applicaiton execute in PC's with .net <= 3.5 & >= 4.0 ? I have not yet compiled or executed my application created under 3.5 after installing VS2010.

Do I need to have 2 apps' 1 for 3.5 & 1 for higher .net versions ?

Need your guidance....

Thanks

Upvotes: 0

Views: 145

Answers (1)

Daniel Hilgarth
Daniel Hilgarth

Reputation: 174299

Yes, you need to maintain two versions:

  • One for >= .NET 4
  • One for < .NET 4

Typically, you would create one branch for the .NET 4 version and one branch for the version for the older frameworks.

The branch for .NET 4 would be the branch you add new features to.
The branch for the older frameworks would not receive any new features to encourage people to move to .NET 4. This branch would only receive critical updates like major bug fixes or fixes for security vulnerabilities.

Upvotes: 2

Related Questions