msbuild error

  1.   C:WindowsMicrosoft.NETFramework64v4.0.30319Microsoft.Common.targets(4513,5): error MSB3147: Could not find required file 'setup.bin' in 'C:Program Files (x86)JenkinsworkspacefolderRSPPDFReaderEngine'. [...*.csproj]
  2. Removing .Net 4.5 (release) and reinstalling 4.0 worked on my TeamCity server.
  3. on the build machine there is no 4.0 registry key inside HKLMSoftwareMicrosoftGenericBootstrapper, but the dev machines do have one containing a path string with a value of c:Program Files (x86)Microsoft SDKsWindowsv7.0ABootstrapper
  4. An existing workaround is to copy the Engine directory to the project directory, however this has to be done every time you make a new project.
  5. http://stackoverflow.com/questions/3567543/issue-with-clickonce-bootstrapper-and-msbuild
  6. 手动拷贝engine文件夹可以解决问题:从C:Program Files (x86)Microsoft SDKsWindowsv7.0ABootstrapperEngine到项目目录
  7. Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftGenericBootstrapper4.0]
    "Path"="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\"

原文地址:https://www.cnblogs.com/dmdj/p/3757593.html