Skip to content

Instantly share code, notes, and snippets.

@dhollenbeck
Created February 12, 2019 20:14
Show Gist options
  • Save dhollenbeck/379d7a784636ba86fa8f229cab1e24e7 to your computer and use it in GitHub Desktop.
Save dhollenbeck/379d7a784636ba86fa8f229cab1e24e7 to your computer and use it in GitHub Desktop.
VS2010 Change .NET Framework target

The only way I could find to change the .NET framework version for an existing project using VS2010 was to edit the *.vbproj file.

From:

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
```xml

To:
```xml
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment