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

Add interop API to enumerate fallback folders without requiring a solution/project #9395

Closed
debonte opened this issue Apr 3, 2020 · 2 comments · Fixed by NuGet/NuGet.Client#3478
Assignees
Labels
Area:Settings NuGet.Config and related issues Functionality:SDK The NuGet client packages published to nuget.org Partner:VS-Other Priority:1 High priority issues that must be resolved in the current sprint. Type:Feature

Comments

@debonte
Copy link

debonte commented Apr 3, 2020

Environment Details

NuGet product used: VS UI
NuGet version: 5.6.0.6489
VS version: 16.7
Worked before?: No

Feature Request

NuGet settings can be set in the following locations:

  • machine-wide (%ProgramFiles(x86)%\NuGet\Config\*.config)
  • user-specific (%APPDATA%\NuGet\NuGet.config)
  • solution-wide

The XAML and WinForms teams need an API to enumerate machine-wide and user-specific fallback folders that:

  1. Works without requiring a solution to be open
  2. Ignores solution-wide settings if a solution is loaded

In order to call this API from within VS, it needs to be an interop API.

Likely choices to support from NuGet according to @rrelyea:

  1. Tweak existing VS interop API to allow null value (or similar) to get what you need. Note that the requirement to ignore solution config when a solution is open may make this option impossible.
  2. Add a new VS interop API.
@debonte
Copy link
Author

debonte commented Apr 3, 2020

@aortiz-msft aortiz-msft added the Tenet:Acquisition Install of VS/other NuGet products label Apr 3, 2020
@donnie-msft donnie-msft removed the Tenet:Acquisition Install of VS/other NuGet products label Apr 6, 2020
@nkolev92 nkolev92 added Priority:1 High priority issues that must be resolved in the current sprint. Functionality:SDK The NuGet client packages published to nuget.org and removed NuGet API labels Apr 17, 2020
@aortiz-msft aortiz-msft added this to the Sprint 171 - 2020.05.25 milestone May 22, 2020
@zkat zkat self-assigned this May 26, 2020
@zkat zkat added the Area:Settings NuGet.Config and related issues label Jun 15, 2020
@aortiz-msft aortiz-msft assigned nkolev92 and unassigned zkat Jun 19, 2020
@nkolev92
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Settings NuGet.Config and related issues Functionality:SDK The NuGet client packages published to nuget.org Partner:VS-Other Priority:1 High priority issues that must be resolved in the current sprint. Type:Feature
Projects
None yet
7 participants