Where can I download the .NET 4.5 multitasking package for my build server?

I want to build a .net 4.5 / VS2012 solution in TeamCity. My assemblies work with an agent on which VS2012 is installed, but on an agent that does not have VS2012, I receive the following warnings:

C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Common.targets (983.5): warning MSB3644: link assemblies for the ".NETFramework, Version = v4.5" framework were not found,

To solve this problem, install the SDK or Targeting Pack for this version of the framework or reconfigure the application to the version of the framework for which the SDK or Targeting Pack is installed. Note that assemblies will be resolved from the global assembly cache (GAC) and will be used instead of referenced assemblies. Therefore, your assembly may not properly target the structure you plan to use.

Can I set goals without installing all of Visual Studio 2012, as I could with .NET 4.0?

Where can I download?

(It’s funny for me to ask about it ... but I searched and searched for it! Honestly This site offers to use it only with VS2012, which seems crazy.)

+45
continuous-integration
Jun 20 '13 at 18:02
source share
8 answers

You do not need to install the SDK. Just copy the following folder from your development machine to the same folder on your TFS build machine:

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




If this does not work for you, refer to: http://getdotnet.azurewebsites.net/target-dotnet-platforms.html , where you will find the SDKs you need. However, pay attention to the comment from @ Lu55: The link to the "Windows Software Development Kit (SDK) for Windows 8" from the .NET Framework 4.5 section suddenly redirects to the "Windows Software Development Kit (SDK) for Windows 8.1", which is intended for .NET Framework 4.5 0.1.




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

+87
Aug 27 '13 at 14:39
source share
β€” -

If you are looking for confirmation in the Windows SDK here is the installer:

enter image description here

Note. This still does not give you Microsoft.WebApplication.targets , for which you still need to either copy it manually or install VS on your server.

I just posted a free Visual Studio Express 2013 that fixed this.

+26
Feb 22 '14 at 4:54
source share

try installing the Windows SDK for Windows 8, http://msdn.microsoft.com/en-us/library/windows/desktop/hh852363.aspx , this worked for me.

+5
Aug 08 '13 at 10:14
source share

This is the official solution that worked for me (TFS 2012) http://dotnetnsqlcorner.blogspot.nl/2012/11/microsoftcommomtargets-warning-983.html

In short:

  • Install the SDK or Target-Pack for the .NET Framework 4.5. But they are significantly large in size.
  • Another option is to copy the following folder from your development machine to your TFS build machine. C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5
+3
Oct 08 '13 at
source share

This page lists the .NET SDKs for each version of Visual Studio. http://getdotnet.azurewebsites.net/target-dotnet-platforms.html

For a smaller download, select the "developer package" or the "targeting package" rather than the full Windows SDK.

+1
Feb 04 '15 at 14:33
source share

My Win7 x64 OS

I have the same problem, and based on another answer, I found a solution:

I only have " C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5.2 " on my system, and to resolve it, I renamed v4.52 to v4.5 and it worked.

So in the long run, I made a connection to folder 4.5.2 and renamed the junction point v.4.5, and it works. 😊

0
Feb 06
source share

I got the error below on Windows Server 2016

Reference assemblies for framework ".NETFramework, Version = 4.6.1" not found

I went to my build server "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework" and noticed that I did not have the required versions.

Then I installed the latest version of the .NET Framework from https://visualstudio.microsoft.com/downloads/

0
Jan 03 '19 at 19:39
source share

I am facing this problem in my project using Visual Studio 2013 and .NET 4.5. It seems like a problem because I moved the project to another directory.

You can solve this problem by checking that the HintPath in the project file is correct or not (.csproj file).

 <HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1\System.Runtime.WindowsRuntime.dll</HintPath> 

Since I created a new directory and moved my project to this directory, I found that the relative path to System.Runtime.WindowsRuntime.dll in HintPath no longer correct and therefore cannot find the library.

Fixing this way solved the problem for me.

0
Jun 28 '19 at 15:14
source share



All Articles