I'm trying to build a .NET project using NUGet on jenkins. It shows the below error because I do not have version 4.5.2 of .NET and that too because windows 10 has v 4.7.1 preinstalled
C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1098,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install 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. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\majid.jenkins\workspace\DotNetFreeStyle\SeleniumNUnitParam\SeleniumNUnitParam.csproj]