Note that there are some explanatory texts on larger screens.

plurals
  1. POVS2005 Web Deployment Project to VS2008 - ASPNET compiler errors
    text
    copied!<p>I'm having problems with a <code>wdproj</code> I've upgraded to VS2008; This is the error I'm getting while trying to compile the project using msbuild:</p> <p><code>ASPNETCOMPILER : error ASPRUNTIME: The precompilation target directory (C:\code\CCI\CORUS\Website\Website_DeploymentProject\TempBuildDir\) cannot be in the same tree as the source application directory (C:\code\Website\).</code></p> <p>This is what the relevant section of my <code>wdproj</code> file looks like:</p> <pre><code>&lt;Project DefaultTargets="Build;AfterBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"&gt; &lt;PropertyGroup&gt; &lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "&gt; &lt;Platform Condition=" '$(Platform)' == '' "&gt;AnyCPU&lt;/Platform&gt; &lt;ProductVersion&gt;8.0.60403&lt;/ProductVersion&gt; &lt;SchemaVersion&gt;2.0&lt;/SchemaVersion&gt; &lt;ProjectGuid&gt;{36799864-6917-499B-814B-F542D3C6828B}&lt;/ProjectGuid&gt; &lt;SourceWebPhysicalPath&gt;..\SWebSite&lt;/SourceWebPhysicalPath&gt; &lt;SourceWebProject&gt;{283D5526-6B10-4CD1-B492-0283D351DC77}|WebSite\WebSite.csproj&lt;/SourceWebProject&gt; &lt;SourceWebVirtualPath&gt;/WebSite&lt;/SourceWebVirtualPath&gt; &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt; &lt;OutputPath&gt;$(BuildSourceCodePath)\WebSites\$(Configuration)&lt;/OutputPath&gt; &lt;EnableUpdateable&gt;true&lt;/EnableUpdateable&gt; &lt;UseMerge&gt;true&lt;/UseMerge&gt; &lt;UseWebConfigReplacement&gt;true&lt;/UseWebConfigReplacement&gt; &lt;ValidateWebConfigReplacement&gt;true&lt;/ValidateWebConfigReplacement&gt; &lt;/PropertyGroup&gt; </code></pre> <p>However that's mostly irrelavant as all I really need to do is somehow change / override the location of %(TempBuildDir) without manually hacking <code>$(MSBuildExtensionsPath)\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets</code>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload