Jump to content
  • Advertisement
Sign in to follow this  
Talib

Which .NET Framework is my software compiled for?

This topic is 3178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I want to find out for which version of .NET Framework my code gets compiled to. Id it the .NET version installed on the system or the version in VS Help->About? I'm leaning to the second, but just want to make sure. Thanks PS Tried googling this, but seemed to ask the wrong question, as "What version of .NET is my software compiled" or any alternative yields anything but what I want. And I can't seem to find the right keywords. PPS And for those wondering it is C#

Share this post


Link to post
Share on other sites
Advertisement
Right click on your project in the Solution Explorer and choose properties. On the Application tab is a drop down for Target Framework. This will show you (and let you change) which version of the .NET framework you are targeting.

Share this post


Link to post
Share on other sites
Regardless, basically all versions released since 2.0 have been binary compatible with each other. The only major difference is what is contained in each library. Because of this you can configure which version of the .NET framework you wish to compile against from your project properties page. In the Application 'tab' look at the 'target framework' field.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!