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 Framework
on Application
tab. 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 the Compile
tab.
Select target framework:
Right click the project in Solution Explorer and go to properties change the Target framework in the Application tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With