Add custom package source to Visual Studio Code
Adding a nuget.config in the project solves it for the project. Adding to the root is ok. The config could look like this: <?xml version=”1.0″ encoding=”utf-8″?> <configuration> <packageSources> <add key=”MyGet” value=”https://www.myget.org/F/aspnet-contrib/api/v3/index.json” /> </packageSources> </configuration>