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
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:
We need to detect this condition and not try to create properties from packages.config