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

Define a RepositoryReference to sdk to get the live package sources in the NuGet.config #46330

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Jan 27, 2025

Fixes dotnet/source-build#4845
Unblocks #46244

By defining a RepositoryReference to sdk in the scenario-tests.proj file, we ensure that the NuGet.config file in the scenario-tests repository includes the live package sources from the sdk. This change is necessary to prevent build failures in the win-x64 vertical in an official build with unique versioning.

This is conditioned on when not building source-only as in that configuration, the live produced packages shouldn't be used, at least right now. This might change in the future when source-build will also enable unique versioning.

Additionally, stop putting the scenario-tests artifacts outside of the repo, under the VMR artifacts. This is necessary so that the NuGet.config in the repository gets used.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Jan 27, 2025
@ViktorHofer ViktorHofer marked this pull request as ready for review January 27, 2025 15:21
@ViktorHofer ViktorHofer requested review from a team as code owners January 27, 2025 15:21
@ViktorHofer ViktorHofer changed the title Define a RepositoryReference to sdk to get the live package sources i… Define a RepositoryReference to sdk to get the live package sources in the NuGet.config Jan 27, 2025
@ViktorHofer
Copy link
Member Author

Validated offline that this works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scenario-tests is missing feed to sdk repository inside the VMR
2 participants