Will an application targeted for .NET 4.0 work on a system with .NET 4.0 client profile version

Client on their WinSerevr 2003 R2 server has .NET 4.0 Client Profile as in this screen shot they sent me:

enter image description here

I am using VS 2012 Professional and have Targeted .NET 4.0 ..not

4.0 Client Profile

Will that be a problem? Should I instead compile to Client Profile one?

Upvotes: 0

Views: 47

Answers (2)

Darren Wainwright
Darren Wainwright

Reputation: 30737

Depends if your application is using features not included in the client profile.

you can see a full list of the assemblies included in the client profile, and a whole host of other information, here: What’s new in .NET Framework 4 Client Profile RTM

Upvotes: 1

Patrick Hofman
Patrick Hofman

Reputation: 156978

No. You have to compile for Client Profile to let it work on a .NET 4.0 Client Profile installed machine.

You need to choose whether you really need the Extended version. This post might help you making your mind up.

My opinion: start building with Client Profile. If there is anything you miss and really need, use and build for Extended.

Upvotes: 2

Related Questions