Skip to content

Fix source-build: track Cryptography.Xml via Version.Details#19839

Merged
T-Gro merged 4 commits into
mainfrom
dev/tomasgrosup/fix-crypto-xml-source-build
May 28, 2026
Merged

Fix source-build: track Cryptography.Xml via Version.Details#19839
T-Gro merged 4 commits into
mainfrom
dev/tomasgrosup/fix-crypto-xml-source-build

Conversation

@T-Gro
Copy link
Copy Markdown
Member

@T-Gro T-Gro commented May 28, 2026

Move System.Security.Cryptography.Xml from hardcoded eng/Versions.props to eng/Version.Details.xml + Version.Details.props, matching the pattern used by System.Diagnostics.DiagnosticSource and other System.* runtime deps. Fixes prebuilt package error in VMR source-only builds.

…Details

Move System.Security.Cryptography.Xml version management from hardcoded
eng/Versions.props to eng/Version.Details.xml + Version.Details.props,
following the same pattern as System.Diagnostics.DiagnosticSource and
other System.* runtime dependencies. This allows source-build to use
the live-built package instead of a prebuilt NuGet download.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro requested a review from a team as a code owner May 28, 2026 09:04
@T-Gro T-Gro requested a review from abonie May 28, 2026 09:04
@T-Gro T-Gro added AI-Auto-Resolve-Conflicts Opt-in: LabelOps merges main into this PR and resolves conflicts every 3h AI-Auto-Resolve-CI Opt-in: LabelOps triages CI failures on this PR every 3h auto-merge labels May 28, 2026
@T-Gro T-Gro enabled auto-merge (squash) May 28, 2026 09:04
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@T-Gro T-Gro added NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes and removed auto-merge labels May 28, 2026
@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label May 28, 2026
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling May 28, 2026
T-Gro and others added 3 commits May 28, 2026 15:35
Removing PrivateAssets=all caused transitive dependencies
(Microsoft.Bcl.Cryptography, System.Formats.Asn1, etc.) to flow into
fsc.fsproj on net472, triggering MSB3277 version conflicts with
System.ValueTuple from .NET Framework reference assemblies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro merged commit 1454c92 into main May 28, 2026
50 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling May 28, 2026
github-actions Bot added a commit that referenced this pull request May 28, 2026
* Fix source-build: track System.Security.Cryptography.Xml via Version.Details

Move System.Security.Cryptography.Xml version management from hardcoded
eng/Versions.props to eng/Version.Details.xml + Version.Details.props,
following the same pattern as System.Diagnostics.DiagnosticSource and
other System.* runtime dependencies. This allows source-build to use
the live-built package instead of a prebuilt NuGet download.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Restore PrivateAssets=all on System.Security.Cryptography.Xml

Removing PrivateAssets=all caused transitive dependencies
(Microsoft.Bcl.Cryptography, System.Formats.Asn1, etc.) to flow into
fsc.fsproj on net472, triggering MSB3277 version conflicts with
System.ValueTuple from .NET Framework reference assemblies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
github-actions Bot added a commit that referenced this pull request May 28, 2026
* Fix source-build: track System.Security.Cryptography.Xml via Version.Details

Move System.Security.Cryptography.Xml version management from hardcoded
eng/Versions.props to eng/Version.Details.xml + Version.Details.props,
following the same pattern as System.Diagnostics.DiagnosticSource and
other System.* runtime dependencies. This allows source-build to use
the live-built package instead of a prebuilt NuGet download.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Restore PrivateAssets=all on System.Security.Cryptography.Xml

Removing PrivateAssets=all caused transitive dependencies
(Microsoft.Bcl.Cryptography, System.Formats.Asn1, etc.) to flow into
fsc.fsproj on net472, triggering MSB3277 version conflicts with
System.ValueTuple from .NET Framework reference assemblies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Auto-Resolve-CI Opt-in: LabelOps triages CI failures on this PR every 3h AI-Auto-Resolve-Conflicts Opt-in: LabelOps merges main into this PR and resolves conflicts every 3h AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants