-
Notifications
You must be signed in to change notification settings - Fork 132
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
Stop making src modifications to every repo's NuGet.config #3170
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
It appears that we'd need a different set of feeds for @MichaelSimons what are the current thoughts on available options, considering that some VMR plans might have changed in the meantime? |
Cloaking the repo-specific nuget.config files works when there are no prebuilts. Even though we have eliminated prebuilts for the most part, there are some scenarios when they still occur. For example, a developer would like to do some cross cutting feature work in the VMR. If you remove the nuget.configs it would hurt the VMR UX as the build would stop on the first prebuilt. I personally see this as a blocker for this approach. Maybe others have different opinions. Another approach mentioned in the past is to perform the NuGet.config manipulation during/within the inner clone. I don't think this is a viable option either given our long term plan of removing the inner clone within the VMR. An ideal solution to me would permit dynamically modifying/swapping out the nuget configuration. Are there any msbuild or nuget control that can be utilized for this? |
I think what we might need here is the |
This would be the best - I'll investigate what's possible. |
Thanks - this looks promising. There are few more related properties that could be useful as well. |
Note that |
I think we should be able to use |
@MichaelSimons this is the place where we document multiple possible
We do process them all in various tasks, in the same target. I do not see this used in source-build infra. If we got rid of this, it would simplify the changes I'm making, but also simplify existing infra. The only other place where we reference
|
Unfortunately, MSBuild needs to restore the SDK before evaluating properties. It uses |
Contributes to: dotnet/source-build#3170 Backport of changes in dotnet/installer#18478 ### Description Each .NET repo needs to specify all used SDKs in `global.json` file. This change adds the missing SDK.
When building the VMR, there are several checked in files that are being modified. This yields a poor UX as these must be undone before you can build cleanly again. These edits will also become a nuisance in .NET 9 when the VMR can be used to checkin changes.
One type of file being modified is each repo's NuGet.config. The source-build sources are injected as the first feeds. If building offline, all other feeds are removed.
The text was updated successfully, but these errors were encountered: