I'm getting the following error when using the new Web Deployment Project 2008. The build logs shows the following:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /DuncanAndTodd.iTrust.Web.csproj -p "C:\Work\Duncan & Todd\iTrust\Source\Web" -u -f -d .\TempBuildDir\
Running aspnet_merge.exe.
C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(586,9): error MSB6004: The specified task executable location "bin\aspnet_merge.exe" is invalid.
Done building project "DuncanAndTodd.iTrust.Web.Deploy.wdproj" -- FAILED.
This is the line in the Microsoft.WebDeployment.targets file is:
<Target Name="AspNetMerge" Condition="'$(UseMerge)' == 'true'" DependsOnTargets="$(MergeDependsOn)">
<AspNetMerge
ExePath="$(FrameworkSDKDir)bin"
ApplicationPath="$(TempBuildDir)"
KeyFile="$(_FullKeyFile)"
DelaySign="$(DelaySign)"
Prefix="$(AssemblyPrefixName)"
SingleAssemblyName="$(SingleAssemblyName)"
Debug="$(DebugSymbols)"
Nologo="$(NoLogo)"
ContentAssemblyName="$(ContentAssemblyName)"
ErrorStack="$(ErrorStack)"
RemoveCompiledFiles="$(DeleteAppCodeCompiledFiles)"
CopyAttributes="$(CopyAssemblyAttributes)"
AssemblyInfo="$(AssemblyInfoDll)"
MergeXmlDocs="$(MergeXmlDocs)"
ErrorLogFile="$(MergeErrorLogFile)"
/>
Not sure if changing ExePath="$(FrameworkSDKDir)bin" would help. Havn't tried it yet.
Any ideas guys?