-
Notifications
You must be signed in to change notification settings - Fork 257
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
VS Settings should include RestoreSources, RestoreAdditionalProjectSources & RestoreAdditionalProjectFallbackFolders #5321
Comments
I see this is in the 4.4 milestone. I'm using NuGet 4.5 in VS 15.5 preview, but this still doesn't appear to work. Can anyone provide a status update on this one? cc @davidfowl |
It's not done. I will change the milestone to something appropriate. We have a lot of debt in this area with hierarchical settings. |
Setting the same priority as the prerequisite issue #1820 |
Hello! Would be great to see this tackled, I have opened a (now closed...) bug report in VS about this: https://developercommunity.visualstudio.com/t/restoresources-or-restoreadditionalprojectsources/1404191. Thanks! |
Adding a 👍 reaction to the first comment in the issue will help this issue bubble up all issues sorted by 👍. See also our submitting bugs and suggestions guide |
Configuring sources in the project file would allow the solution to become self-contained. Currently, every developer has to change global NuGet configuration to use an internal feed. If you want to check in packages to source control, to make a project truly self-contained and not dependent on some external folder, you even have to configure one package source for each working copy that you check out. I find it a bit dubious that compiling a solution requires files that are not contained in source control. For that reason, I'd like to check in internal packages but the workflow for that is not very nice. For that reason, making this feature full fidelity with UI support would make a great addition to the product. |
@GSPP You can check in a nuget.config file into your repo root, and use Reference docs: https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file A quick way to bootstrap a sample nuget.config is with the .NET CLI: |
@zivkan Thanks! Can this be used to have the package source inside of the solution folder (like a |
https://github.com/NuGet/Home/wiki/%5BSpec%5D-NuGet-settings-in-MSBuild
These properties take precedence over what the user sees in the UI.
We need to think about this and change the UI accordingly.
//cc
@emgarten
The text was updated successfully, but these errors were encountered: