-
Hey! I would like to get all Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If your project uses PackageReference, then in your obj folder, you'll have a Another option is to use the NuGet.Configuration package from nuget.org, and Those are the only two suggestions I can think of right now. |
Beta Was this translation helpful? Give feedback.
If your project uses PackageReference, then in your obj folder, you'll have a
project.assets.json
file which will list all the config files in there somewhere. Note that since it's in the obj (intermediate) folder, we don't promise backwards compatibility, we might change the format as needed, although it's very unlikely that we'll break the format, and never have so far (but we have added new information in the past, making old versions of Nuget restore incompatible with new versions of msbuild). If your projects are using packages.config, there's no equivalent. You could add an empty project, that uses PackageReference, just for the project.assets.json file, if getting the list of confi…