Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't throw if no packages.config is found for old style #30

Open
wisepotato opened this issue Feb 12, 2021 · 0 comments
Open

Don't throw if no packages.config is found for old style #30

wisepotato opened this issue Feb 12, 2021 · 0 comments

Comments

@wisepotato
Copy link

wisepotato commented Feb 12, 2021

as per msft documentation: https://docs.microsoft.com/en-us/nuget/reference/packages-config

If used, packages.config is typically located in a project root. It's automatically created when the first NuGet operation is run, but can also be created manually before running any commands such as nuget restore.
Projects that use PackageReference do not use packages.config.

Note the "if used". I don't use it, as i use PackageReference. j

will make a pr if i have time. But should be a simple if statement on https://github.com/nwheels-io/NuLink/blob/master/source/NuLink.Cli/ProjectStyles/OldProjectStyle.cs#L77-L80

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

No branches or pull requests

1 participant