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?