Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conditionalize all of the CsWin32 related interop for the source build - #52788

#52788
Merged
JeremyKuhne merged 1 commit into
dotnet:maindotnet/sdk:mainfrom
JeremyKuhne:fixvmrJeremyKuhne/sdk:fixvmrCopy head branch name to clipboard
Feb 4, 2026
Merged

Conditionalize all of the CsWin32 related interop for the source build#52788
JeremyKuhne merged 1 commit into
dotnet:maindotnet/sdk:mainfrom
JeremyKuhne:fixvmrJeremyKuhne/sdk:fixvmrCopy head branch name to clipboard

Conversation

@JeremyKuhne

Copy link
Copy Markdown
Member

@JeremyKuhne
JeremyKuhne requested review from baronfel and Copilot and removed request for Copilot February 2, 2026 21:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR conditionalizes CsWin32-related interop code for source builds by excluding Windows-specific files when DotNetBuildSourceOnly is set to true.

Changes:

  • Reorganizes source build exclusions into a dedicated ItemGroup
  • Adds exclusion of Windows/** and Microsoft/VisualStudio/** directories for source builds

@JeremyKuhne
JeremyKuhne requested a review from MiYanni February 2, 2026 21:24
@JeremyKuhne

Copy link
Copy Markdown
Member Author

The project now builds with dotnet build -p:DotNetBuildSourceOnly=true

@JeremyKuhne
JeremyKuhne merged commit 323323e into dotnet:main Feb 4, 2026
25 checks passed
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.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.