Where can I download the .NET 4.5 Multitargeting Pack for my build server?

前端 未结 8 1474
鱼传尺愫
鱼传尺愫 2020-12-13 23:52

I want to build a .net 4.5/VS2012 solution in TeamCity. My builds work on the agent that has VS2012 installed, but on the agent that doesn\'t have VS2012, I get warnings lik

相关标签:
8条回答
  • 2020-12-14 00:54

    You don't need to install any SDK. Just copy the following folder from your development machine into the same folder of your TFS build machine:

    C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5


    If this doesn't work for you, refer to: http://getdotnet.azurewebsites.net/target-dotnet-platforms.html where you'll find the SDKs you need. However note the comment from @Lu55: Link to "Windows Software Development Kit (SDK) for Windows 8" from .NET Framework 4.5 section unexpectedly redirects to "Windows Software Development Kit (SDK) for Windows 8.1" which is for .NET Framework 4.5.1.


    @dotarj mentions: The link for Windows Software Development Kit (SDK) for Windows 8, which is actually for .NET Framework 4.5, is: https://developer.microsoft.com/en-us/windows/downloads/windows-8-sdk

    0 讨论(0)
  • 2020-12-14 00:59

    I was getting the error below on Windows Server 2016

    The reference assemblies for framework ".NETFramework, Version=4.6.1" were not found

    I went on my build server "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework" and noticed that I didn't have the required versions.

    I then Installed the latest .NET Framework version from https://visualstudio.microsoft.com/downloads/

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