Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.
This repository was 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

@jeffkl

Description

@jeffkl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions