Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

CBT.NuGet property generation fails when packages.config exists and project is using PackageReference #254

Open
jeffkl opened this issue Jun 28, 2018 · 0 comments

Comments

@jeffkl
Copy link
Contributor

jeffkl commented Jun 28, 2018

If a project is using PackageReference, property generation still attempts to read packages.config and generate properties. However, there are no packages in the package folder so you get an error:

The NuGet repository 'XXX' does not exist.  Ensure that NuGet is restore packages to the location specified in your NuGet.config.

We need to detect this condition and not try to create properties from packages.config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant