1

I'm using C:\Program Files (x86)\MSBuild\14.0\Bin>msbuild as it is in an answer How to build .NET 4.6 Framework app without Visual Studio installed?

I'm getting this warning:

C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1097,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6" were not found. To resolve this, i nstall the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed.

I have MS Windows Server 2016 and there is no SDK or Targeting Pack for this server version.

Was someone able to build .NET Framework 4.6 app without Visual Studio on MS Windows Server 2016?

4
  • 1
    microsoft.com/en-us/download/details.aspx?id=48136 Commented Nov 15, 2016 at 8:25
  • Is it going to work on MS Win Server 2016? Have You chacked? Commented Nov 15, 2016 at 8:27
  • Why on Earth would I check when you can do that?? Don't use a Preview version of an OS if you want a warranty. Commented Nov 15, 2016 at 8:30
  • Daniel Fisher lennybacon answer from stackoverflow.com/q/21784837/6848812 helped me to resolve my isuue I copied C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v.4.6 from a developer machine to the build server Commented Nov 15, 2016 at 8:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.