Azure Data Studio NU1101 Unable to Find Package


Build errors

Currently exploring building database projects using Azure Data Studio. I can't quite work out why this started occurring because I have been building projects for a few days but all of a sudden I was presented with this error;

error NU1101: Unable to find package Microsoft.NETFramework.ReferenceAssemblies. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages

Adjusting NuGet.Config

Not much in the way of useful content on this, but for some reason my NuGet.Config file was borked. You want to edit the NuGet.Config file found at this path;


And replace the contents with the following;

2  <packageSources>
3    <add key="" value="" protocolVersion="3" />
4  </packageSources>

Builds are now working again!


If you made it all the way down here, thanks for reading my post and enjoy your day.