nwheels-io / NuLink

The missing LINK feature of NuGet: develop & test packages as if they were part of the main project
MIT License
53 stars 15 forks source link

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

Open wisepotato opened 3 years ago

wisepotato commented 3 years ago

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