Update versions for successful build in WinUI repo - #2127
Merged
Marcel W. (marcelwgn) merged 11 commits intoFeb 20, 2026
Merged
Conversation
…al package management The MUXC repo uses central package management (Packages.props) which does not allow inline Version attributes on PackageReference items. Move the versions to the standalone ItemGroup (IsInWinUIRepo != true) so they are only applied for standalone builds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rops - Move IsAotCompatible and CsWinRTAotWarningLevel to standalone.props so they only apply to standalone builds (not WinUI repo builds) - Add TFM condition (net8.0+) to avoid NETSDK1210 warning on netstandard2.1 - Remove PublishAot from source generator (default is already false) - Downgrade Microsoft.CodeAnalysis.CSharp from 5.0.0 to 4.3.1 to fix CS9057 analyzer version mismatch with WinUI repo compiler (4.14.0.0) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Target netstandard2.0 instead of 2.1 (.NET Framework only supports ≤2.0) - Downgrade System.Text.Json to 8.0.5 (clean netstandard2.0 support) - Add CopyLocalLockFileAssemblies for dependency resolution - Downgrade Microsoft.CodeAnalysis.CSharp to 4.3.1 (compat with older compilers) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add _GetDependencyTargetPaths target to pass System.Text.Json and its transitive dependencies to the compiler as analyzer files. This fixes the FileNotFoundException on .NET Framework MSBuild hosts where Roslyn cannot resolve analyzer dependencies from the DLL directory. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add TreatAsLocalProperty to allow the project's PublishAot=false to override the command-line /p:PublishAot=True passed by the pipeline. netstandard2.0 does not support AOT (NETSDK1207). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Niels Laute (niels9001)
approved these changes
Feb 20, 2026
Marcel W. (marcelwgn)
enabled auto-merge (squash)
February 20, 2026 18:19
Contributor
Author
|
/azp run |
Contributor
Author
|
/azp run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating versions so we can be successfully integrated into their repo.