Open the project properties and select Target Framework on the Application tab. Must be values such as ".NET Framework 3.5", ".NET Framework 2.0", etc. You can access the project properties in your solution explorer by right-clicking the name of your project and selecting "Properties" from the right-click menu.
If Solution Explorer is not displayed for you in Visual Studio, you can access it through the View menu> Solution Explorer.
source
share