We have a Windows Server 2016, with a build agent for TFS 2017 update 1, which is using Visual Studio Entreprise 2017.
- All windows updates are done
- I installed the .NET 4.7 Runtime and the .NET 4.7 Targeting Pack (I tried online and offline)
- the key in registery exists (see screenshot)
- this folder is present C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7
- I relaunched Visual Studio Installer
- I reinstalled Visual Studio
- I rebooted a bunch of times
But I still can't see the .NET Framework 4.7 SDK or targeting pack in Visual Studio Installer > individual Components.
A working short term solution, to add this param the Build solution Step
/p:FrameworkPathOverride="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7"
Does anyone have any ideas how to force .NET 4.7 to be detected by the Visual Studio Installer?