TFSBuild 2013 unable to change msbuild version

后端 未结 1 1344
走了就别回头了
走了就别回头了 2020-12-21 11:12

I have a TFSBuild 2013 server that we are trying to now build UWP projects with, but we cannot seem to make it use the correct MSBuild version.

Symptoms:

Whe

相关标签:
1条回答
  • 2020-12-21 11:22

    I finally gave up trying to make this behave with configuration, but managed to get this working on the build machine by hacking the registry.

    I changed the following registry keys:

    HKLM\SOFTWARE\Wow6432Node\Microsoft\MSBuild\12.0\MSBuildOverrideTasksPath
    HKLM\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\12.0\MSBuildToolsPath
    

    In both cases, I changed the value

    from:

    C:\Program Files (x86)\MSBuild\12.0\bin\
    

    to:

    C:\Program Files (x86)\MSBuild\14.0\bin\
    

    Disclaimer: I don't know what other affects this will have, but its got our builds using the correct MSBuild version, and is limited in scope to the build server.

    0 讨论(0)
提交回复
热议问题