Using Visual Studio 2008 projects for web deployment - finding aspnet_merge.exe errors

I recently upgraded the VS2005 web deployment project to VS2008 - and now I get the following error when creating:

The specified task executable location "bin\aspnet_merge.exe" is invalid.

Here is the source of the error (from the website deployment targets file):

<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)"
      />

What is the solution to this problem?

Note. I also created a web deployment project from scratch in VS2008 and got the same error.

+4
source share
2 answers

Obviously, aspnet_merge.exe (and all other SDK tools) are NOT packaged in Visual Studio 2008. Visual Studio 2005 packaged these tools as part of its installation.

- SDK Windows 2008 ( ). Windows 7/Windows 2008 R2 SDK:

SDK Windows , FrameworkSDKDir IDE. :

SET FrameworkSDKDir="C:\Program Files\Microsoft SDKs\Windows\v6.1"

. , , SDK, .

VS2008 , aspnet_merge.exe.

+8

, MSBuild - . "-" SDK, 500 , , , , . , " .NET". 250 , aspnet_merge.exe sgen.exe

winsdk_web.exe Win 7 .NET 3.5 SP1 .

+3

All Articles