Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Unassigned: relative path in reporitorypath and clearing package source problems [3387]

$
0
0
I'm using nuget 2.5.40416.9020

here is the example to reproduce my problems it http://docs.nuget.org/docs/reference/nuget-config-file

in f:\Project1 I typed:

nuget install nlog

it was installed in F:\Project1\$\External\Packages not in F:\Project1\External\Packages as you said*

* When invoked from F:\Project1 or F:\Project1\Source: 1, 2 and 3. The last config file that gets loaded overrides repositorypath therefore packages get expanded in F:\Project1\External\Packages instead of F:\tmp. It also clears <packageSources> therefore nuget.org is no longer available as a source; instead only http://MyPrivateRepo/ES/nuget is available.

is it documnetation error? and repositorypath is relative to deepest nuget.config in witch I have overwritten repositorypath?

nuget.org was not cleared also.
nuget install nlog

should fail (now only warns me WARNING: An error occurred while loading packages from'http://myprivaterepo/ES/nuget': The remote name could not be resolved: 'myprivaterepo') because the only source available is "MyPrivateRepo - ES", and address http://MyPrivateRepo clearly does not exist.

when I changed "MyPrivateRepo - ES" address to unc folder witch holds nlog 2.0.0.2000, nlog 2.0.1.2 from nuget.org was installed.



Comments: Can you please update to latest NuGet 2.6 and verify the project still repros. I am not able to clearly understand the repro steps. Can you please share the content of your nuget.config that has the repositorypath setting.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>