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

Don't use hardcoded package versions #7809

Merged
merged 4 commits into from
Jul 15, 2022
Merged

Conversation

lbussell
Copy link
Contributor

@lbussell lbussell commented Jul 11, 2022

Context

Fixes # #7794

Changes Made

Move package versions to eng/Versions.props instead of being located directly in the PackageReferences in eng/Packages.props. This allows source-build to override some PackageReferences at build time if we need to.

Testing

I tested this using ./build.sh, ./build.sh with the repo source-build configuration, and in a source-build tarball, all built fine.

Notes

I attached the prebuilt report resulting from a source-build with changes from this PR and #7798

msbuild-7-11-22.txt

@@ -25,13 +25,23 @@
</PropertyGroup>
<!-- Production Dependencies -->
<PropertyGroup>
<SystemCollectionsImmutableVersion>6.0.0</SystemCollectionsImmutableVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We weren't consistent about it before so no concerns about you not doing it but I moved these to the "Production Dependencies" group rather than "toolset" (except for the one that's actually toolset).

@lbussell
Copy link
Contributor Author

Thanks for the approvals, @rainersigwald please merge when appropriate as I don't have permissions.

@rainersigwald rainersigwald added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Jul 11, 2022
@rainersigwald rainersigwald added this to the VS 17.4 milestone Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants