If you’ve created a project (let’s say a class) in Visual Studio 2010 and you’d like to change the target framework, in C#, it’s very easy to find.
All you need to do is double-click on ‘Properties’ in the Solution Explorer, and it’s right there, in the Application Tab. (it’s also under the Project menu – ‘Your project name’ Properties)
However, in VB.Net, it’s a little bit harder. You might even call it hidden, if you don’t know where it is. Instead of ‘Project’, you double click on ‘My Project’ in the Solution Explorer. Project Properties window can be found under the Project menu, just as it is in C#, but to find where you change the Target Framework, you need to dig a little deeper.
In VB.Net, go to the ‘Compile’ tab. Then, click on the ‘Advanced Compile Options’ button. You will find it at the bottom of the next window.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF