`dotnet build` errors NU1202 but building in IDE works - C#