Issue with clickonce bootstrapper and msbuild

后端 未结 9 1200
长发绾君心
长发绾君心 2020-12-28 08:25

I have a CruiseControl .NET build server running on Windows Server 2003, and I am trying to build and publish my ClickOnce application using msbuild.

Everything is w

9条回答
  •  清酒与你
    2020-12-28 09:11

    I had a similar issue to this but in my case I do have Visual Studio installed on the box, and publishing from Visual Studio works fine. When publishing from the command line with msbuild.exe, the build failed with aforementioned error "MSB3147 Could not find required file 'setup.bin'".

    The solution was to explicitly specify what version of Visual Studio to use during build.

    
    

    I have Visual Studio 2013 on a Win7 x64 machine. My reading of the problem is that MSBuild was looking in the wrong place in the registry. By explicitly telling MS Build to use VS 12.0, it picked the correct registry location entry and consequently the correct path to BootstrapperSdkPath.

提交回复
热议问题