最近、VS2005 Web デプロイメント プロジェクトを VS2008 にアップグレードしましたが、ビルド時に次のエラーが発生しました。
The specified task executable location "bin\aspnet_merge.exe" is invalid.
エラーの原因は次のとおりです (Web 配置ターゲット ファイルから)。
<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)"
/>
この問題の解決策は何ですか?
注 - VS2008 で Web デプロイメント プロジェクトをゼロから作成したところ、同じエラーが発生しました。