While creating a Windows Form Application, I selected target to .Net Framework 4.0. Now I would like to build it to .Net Framework 2.0. How can I do it using Visual Studio 2010?
It is a VB.Net project. I could not see “Target Framework”. For my C# projects, I can see the “Target Framework” property.
For C# project, if you go to the project properties, you will find
Target FrameworkonApplicationtab. Switch it to.NET Framework 2.0.Try to build and remove unsupported namespaces.
If you used any features specific to .NET 4, you will have to fix it manually.
[Edit] As you mentioned that you use VB.NET.
For VB.NET go to project properties, hit
Advanced Compile Options...to theCompiletab.Select target framework: