Skip to content

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

Closed
mthalman wants to merge 1 commit into
dotnet:release/8.0.1xxfrom
mthalman:msbuild-permissions
Closed

Patch for MSBuild reference of System.Security.Permissions#17246
mthalman wants to merge 1 commit into
dotnet:release/8.0.1xxfrom
mthalman:msbuild-permissions

Conversation

@mthalman
Copy link
Copy Markdown
Member

@mthalman mthalman requested a review from a team as a code owner August 23, 2023 21:36
@MichaelSimons
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

3 participants