I have a .net core class library that I am trying to create a nugget in a package. however, on my build server (running team city), I get the following error:
C: \ TeamCity \ buildAgent \ work \ 3c6531587491c25e \ MySolution \ MyProject.csproj error MSB4019: imported project "C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ build tool \ MSBuild \ SDKs \ Microsoft.NET.Sdk \ SDK \ Sdk.props "was not found. Verify that the path in the declaration is correct and that the file exists on disk.
When I look in this directory, I am not in the "Microsoft.NET.Sdk" folder from my build server. Where can I get these tools without installing a visual studio?
Thank!
source
share