I've setup a nuget server and successfully published a package which has an external dependency located on nuget.org.
When trying to install my package, I get an error saying "Package NPOI 2.2.1 is not found on source (my local server)".
Can I tell nugget/Visual Studio to get this external dependency from nuget.org and not my local server?
I'm using Visual Studio 2015 and tried creating a NuGet.Config file next to the .sln file containing the following which didn't work.
<configuration>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="MyServer" value="http://nuget.dev.mynugetserver.com/nuget/" />
</packageSources>
<disabledPackageSources />
<activePackageSource>
<add key="All" value="(Aggregate source)" />
</activePackageSource>
</configuration>
Thanks