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

Created Issue: Package Restore doesn't work in conjunction with ExcludeVersion [2956]

$
0
0
Hi,

I'm using NuGet for all internal dependencies, and want to reference the latest versions of these.

As part of each build, our build server checks in an auto-generated packages.config that contains references to our latest internal dependencies. I have a separate, manually updated packages.config for our external dependencies.

The idea is that I'll be able to pull these changes to a development machine, and package restore will get the right version as and when is needed. This means no merge conflicts for project files or packages.config. I just created an extended nuget command 'updateLatest' to auto-generate the packages.config from a template.

The problem is that package restore only seems to happen when the folder in \packages is deleted, when using ExcludeVersion. I see the nuget package is also inside this folder. Could the nuget package retain the version number and allow package restore to work together with ExcludeVersion?

I hope this makes sense. I think this is an important issue for use of NuGet for internal dependencies.

Thanks,

Justin

ps. I posted on work item 2929, but didn't realise it wouldn't re-open.


Viewing all articles
Browse latest Browse all 7612

Trending Articles