Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

VS2010 - Visual Studio uses the wrong aspnet_compiler to compile my Web Site

$
0
0

Hello,

I have a Web Site (not a Web Application, i.e. no .csproj) that I have recently migrated from VS2005 to VS2010. The Web Site uses the .NET Framework 2.0 and ASPNET 2.0.

I had no trouble running my Web Site on my local IIS 6.0 but when I deployed it to my Integration environment the Web Site suddenly tried to use DLL that were obviously for ASPNET 4.0.

The main difference between the two environment being that on Integration the framework 2.0 therefore I concluded that Visual Studio was using the wrong version of aspnet_compiler. However if the solution is quite simple for a Web Application it is not for a Web Site who do not a project file.

My question how to modify the behavior of Visual Studio to use the correct compiler when I compile a Web Site ? As you would have guessed I'm dealing with legacy project that cannot afford to be migrated to a Web Application so please do not suggest that.

Thanks and best regards,

Eric Gaspard.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>