For a C # project, if you go to the project properties, you will find the Target Framework on the Application tab. Switch it to the .NET Framework 2.0 .

Try creating and deleting unsupported namespaces.
If you used any features related to .NET 4, you will have to fix them manually.
[Edit] As you already mentioned, you are using VB.NET.
For VB.NET go to the project properties, click Advanced Compile Options... on the Compile tab.

Select the target structure:

Alex aza
source share