Is it possible to tell Visual Studio 2010 to use an older version of aspnet_compiler to build and debug a web application project? I have a web app targeted for .Net 3.5 that complains and mentions something about using version 2.0 of the aspnet_compiler command. I know where on the disk this magical version of aspnet_compiler is located, but I can not for the life of me figure out how to tell the IDE where it is.
full text of the error here:
This version of the aspnet_compiler command is used to compile Web applications that target version 4.0 or later of the .NET Framework. The element in the Web.config file for this Web application does not contain the required 'targetFrameworkMoniker' attribute (for example, ''). To compile this Web application for earlier versions of the .NET Framework, use version 2.0 of the aspnet_compiler command, or use the current version of Visual Studio. To compile this Web application for version 4.0 or later of the .NET Framework, update the element in the Web.config file to include the 'targetFrameworkMoniker' attribute and the correct version number.