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

Patch for MSBuild reference of System.Security.Permissions #17246

Closed

Conversation

mthalman
Copy link
Member

@mthalman mthalman requested a review from a team as a code owner August 23, 2023 21:36
@MichaelSimons
Copy link
Member

msbuild has been flowing in pretty fast. Thoughts on just waiting for it versus adding a patch that will require manual removal in the dependency flow (usually delaying the process)?

+ <Dependency Name="System.Security.Permissions" Version="7.0.0">
+ <Uri>https://github.com/dotnet/runtime</Uri>
+ <Sha>d099f075e45d2aa6007a22b71b45a08758559f80</Sha>
+ </Dependency>
Copy link
Member

Choose a reason for hiding this comment

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

@mthalman for my understanding of what this does:

When building the msbuild repo, when the build normally uses the System.Security.Permissions version 7.0.0 package, during source-build, it will use the live version package instead.

Does live version mean: the latest version available?
What are the Uri and Sha for?

Copy link
Member

Choose a reason for hiding this comment

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

Does live version mean: the latest version available?
What are the Uri and Sha for?

Generally speaking it means either

  1. The current version being source-built - if the dependent package was already built during the full source build
  2. The n-1 version coming from the previous artifacts - if the dependent package was not already built during the full source build. If this is the case, the reference package is not allowed to be bundled as that would break the source build rules and would get detected by the poison infrastructure.

@mthalman
Copy link
Member Author

msbuild has been flowing in pretty fast. Thoughts on just waiting for it versus adding a patch that will require manual removal in the dependency flow (usually delaying the process)?

That seems fine. A patch would have allowed for faster validation of the fix but that's already been done (dotnet/source-build#3571 (comment)).

@mthalman mthalman closed this Aug 24, 2023
@mthalman mthalman deleted the msbuild-permissions branch August 24, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants