My project has a dependency on the NuGet package
<package id="Microsoft.Net.Compilers" version="1.3.2"
targetFramework="net461" developmentDependency="true" />
The imported project "C:\MyService\packages\Microsoft.Net.Compilers.1.3.2\tools\Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets
You can use the Nuget commandline tool to restore your packages. If your system doesn't yet have it, you can find it here: https://www.nuget.org/
Issue this on the commandline: