VSTS Nuget packages not FOUND during .NET Core 2.1 build
Clash Royale CLAN TAG#URR8PPP
VSTS Nuget packages not FOUND during .NET Core 2.1 build
I don't think this is a duplicate question as it relates to .NET Core 2.1 and the ever-changing VSTS build support by Microsoft. The closest I've found is here, but not the same as it is a bit outdated.
I have a .NET Core 2.1 console app that builds fine locally in VS 2017 18.1. It includes one other local library, of which references two Nuget packages using the new migrated PackageReference support in Visual Studio.
When I attempt to build this project using VSTS online, the build fails because it doesn't see the Nuget assemblies at all? I've tried adding the VSTS agent tooling for both ".NET Core Tool Installer" and the "NuGet Tool Installer" and these make no difference. I've got a simple Restore and Build agent. I can also see the Nuget assemblies being locked and pulled as part of the Restore step, but the Build just doesn't see those Nuget assemblies.
Program.cs(2,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Program.cs(4,7): error CS0246: The type or namespace name 'NUglify' could not be found (are you missing a using directive or an assembly reference?)
Here is my setup:
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.