Wednesday, August 4, 2010

aspnet_merge.exe

I installed the VS2008 Web Deployment Projects on my machine and when I try to run msbuild (for K2 Workflow deployment) I am getting this error:
System.Exception: The forms could not be published successfully to the server. Please review logger details for more information. Logger Error: C:\Program Files (x86)\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(575,9,The specified task executable location "bin\aspnet_merge.exe" is invalid.)

It seems that aspnet_merge.exe is not packaged together with VS2008. One solution is to install the Windows 2008 SDK.

Alternatively, can try to extract the exe file from another machine with Visual Studio installed and place it in this folder: C:\Program Files\Microsoft SDKs\Windows\v6.1
You might also need to set the environment variable for FrameworkSDKDir:
SET FrameworkSDKDir="C:\Program Files\Microsoft SDKs\Windows\v6.1"

References:

No comments:

Post a Comment