Sean Kearon
Sean Kearon

Reputation: 11427

How to detect .Net 4 Full Profile

How can you detect whether a PC has the .Net 4 Full Profile installed, as opposed to the .Net 4 Client Profile?

Upvotes: 1

Views: 1034

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038780

Here are the registry keys. Also if your application is targeting the full .NET 4.0 profile and this profile is not installed you will probably not go as far as checking the registry keys because your application won't run at all. So this check is better to be done when deploying the application on the client machine as part of the setup and deployment project. You could use a launch condition:

alt text

Upvotes: 2

Related Questions