I have a Web Service Application Project in Visual Studio 2008. This is supposed to be an ASP.Net 2.0 project and at some point this has been rebuilt using 3.5.
VS has kindly added in project level imports to System.Linq and System.Xml.Linq, but when I have re-targeted the project at 2.0 these project level imports have remained.
Because the Web Service Application Project does not have the detailed window for editing project references I cannot find how to remove these project level imports.
There is no .proj file which is where I would assume these were included.
I cannot now build the project as it fails, even though I only get warnings (no errors reported) such as this:
Namespace or type specified in the project-level Imports 'System.Linq' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Help would be much appreciated.