Azure Data Studio NU1101 Unable to Find Package

Azure Data Studio NU1101 Unable to Find Package

  • data
  • 2021-06-03
  • 1 minute to read

This post is over 24 months old, that is an lifetime in tech! Please be mindful of that when reading this post as it could be outdated. I try to keep on top of changes where possible. I try to keep things up to date, but if you think something needs updating, please let me know in the comments.

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 %appdata%\NuGet\NuGet.Config and replace the contents with the following;

<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
  </packageSources>
</configuration>

Builds are now working again!

#mtfbwy



Recent Posts

How to Search for a Lost File in the Git Log

How to Search for a Lost File in the Git Log

  • 2024-04-27
  • 4 minutes to read

I have lost a file in my Git repository. How can I find it by searching the git log?

Read More
No Such Shell Function 'Zle Line Init' in Zsh

No Such Shell Function 'Zle Line Init' in Zsh

  • 2024-04-25
  • 3 minutes to read

Troubleshooting the error message "no such shell function 'zle line init'" in zsh when using OhMyPosh.

Read More
Getting Started With Python in Vscode

Getting Started With Python in Vscode

  • 2024-04-05
  • 2 minutes to read

This post will help you get started with Python in Vscode and identify some of the useful extensions to install.

Read More