Skip to content

Add .NET Framework SDK support - #181

Open
nurfed1 wants to merge 2 commits into
Jake-Shadle:mainfrom
nurfed1:main
Open

Add .NET Framework SDK support#181
nurfed1 wants to merge 2 commits into
Jake-Shadle:mainfrom
nurfed1:main

Conversation

@nurfed1

@nurfed1 nurfed1 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

  • add an opt-in --netfxsdk-version option that selects and downloads the matching .NET Framework SDK package
  • splat NetFxSDK headers and architecture-specific libraries in both regular and /winsysroot layouts
  • include NetFxSDK files in minimization maps while remaining compatible with existing map files
  • preserve the existing public pruning and execution entry points, and leave default output unchanged when NetFxSDK is not requested

Validation

Tested with Rust 1.98.0 / LLVM 22.1.8:

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --lib --bin xwin
  • cargo test --release verify_compiles -- --test-threads=1
  • cargo test --release verify_deterministic -- --test-threads=1
  • cargo publish --dry-run --allow-dirty

Also verified package selection with VS 16 (4.8) and the current manifest (4.8.1), regular and winsysroot splats, minimized-map replay, and compilation/linking of a metahost.h / mscoree.lib probe importing CLRCreateInstance.

@nurfed1
nurfed1 requested a review from Jake-Shadle as a code owner August 26, 2026 15:40
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.

1 participant