Ignacio Soler Garcia
Ignacio Soler Garcia

Reputation: 21855

Is there any difference between targeting an application to Framework 4 or Framework 4.5 if you don't use any 4.5 APIs?

after looking at these posts:

http://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx

http://weblog.west-wind.com/posts/2012/Mar/13/NET-45-is-an-inplace-replacement-for-NET-40

and asked this question:

Is there any difference between building / running an application targeting .Net 4 having installed .Net 4 or .Net 4.5?

Now I have a similar but different question. As the CLR is replaced by .Net 4.5 is there any difference if I change a working application from targeting .Net 4 to target .Net 4.5? Only this change.

Do I need to regression the application or can I be 100% that the application will work the same as the CLR is the same and I am not using any new feature of .Net 4.5?

Upvotes: 1

Views: 52

Answers (1)

Thomas Weller
Thomas Weller

Reputation: 59208

As mentioned by Hans Passant in the comments,

  • a .NET 4.0 application will run on Windows XP where a .NET 4.5 application doesn't

But there's a bit more than that technically

and to do organizationally

  • update manuals and the company website
  • follow promised phase-out times, e.g. announce the discontinuation of OS some months in advance
  • ...

Upvotes: 1

Related Questions