-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Is your feature request related to a problem? Please describe.
In ADO projects can't use the public nuget feed, they need to create a custom and use a feed to be able to install nuget dependencies. They typically specify that custom feed via a nuget.config file.
winappcli currently doesn't check if a project has specified a nuget.config file, so when npx winapp restore is run winappcli always uses the public nuget feed even when I project has specified a custom feed in a nuget.config file.
Describe the solution you'd like
Expose a way in winappcli for a project's nuget.config file to be used by winappcli during nuget install steps. Ideally winappcli would assume the file (if present) is in the current directory where npx winapp restore is being called. Otherwise, the dev could specify where the file is like npx winapp restore --config path/to/config.
Additional context
Note temporarily you can get this to work by copying your nuget.config file into .winapp/packages and then running restore.