Hi Will, can you try this out? This should ensure that the correct exe is run. Substitute the toolpath with the location of your 2.0 framework directory. The snippet I tried is below and I could compile a project that previously displayed the error you are
talking about:
joecar
Member
524 Points
120 Posts
Microsoft
Re: Unable to build ASP.NET 2.0 web application under Visual Studio 2010
May 07, 2010 05:37 PM|LINK
Hi Will, can you try this out? This should ensure that the correct exe is run. Substitute the toolpath with the location of your 2.0 framework directory. The snippet I tried is below and I could compile a project that previously displayed the error you are talking about:
<Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler ToolPath="C:\Windows\Microsoft.NET\Framework\v2.0.50727" VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\Web" />
</Target>
Thanks,
Joe