Skip to content

[Cherry-Pick]Use Centralized Nuget Package Management for vcxproj (#579) - #590

Merged
haonanttt merged 1 commit into
release/2.0-stablefrom
user/haonanttt/snapSamples
Feb 6, 2026
Merged

[Cherry-Pick]Use Centralized Nuget Package Management for vcxproj (#579)#590
haonanttt merged 1 commit into
release/2.0-stablefrom
user/haonanttt/snapSamples

Conversation

@haonanttt

Copy link
Copy Markdown
  • Built successful one in 1st round

  • Untried one, but AI converted

  • 2nd Fix

  • 3rd changes

  • 4th Fix

  • Fix WinML build issue

  • 5th fix

  • Fix WindowsAISample.csproj restore nuget problem

  • Fix further build issue

  • Ensure only 1 newline, not multiple, for csproj and vcxproj

  • Try to have reliable version update for Directory.Packages.props

  • Test failure because the waproj doesn't reference correct MSVCP

  • Fix build error for CsWpfState/CsWpfState.csproj

  • Fix CppWinMainEnv failed to launch with error VCRuntime140_1.dll not found

  • Add missing VCRForwarders

  • Fix copilot comment

  • Convert WinUI3 to single package - starting with Instancing

  • Update the rest to be single package

  • pdateVersions.ps1 should restore package even when packages folder not provided

  • Remove all vcxproj.filters's packages.config reference

  • Restore some of original property - phase 1

  • Restore original packages path

  • Remove extra symbols

  • Restore originally appxmanifest value for those migrated one

  • remove unnecessary property in Directory.Build.props for WinML

  • Add warning only if restore not successful

  • Nuget install on pipeline will be done itself, it cannot fail

Description

Please include a summary of the change and/or which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Target Release

Please specify which release this PR should align with. e.g., 1.0, 1.1, 1.1 Preview 1.

Checklist

Note that /azp run currently isn't working for this repo.

* Built successful one in 1st round

* Untried one, but AI converted

* 2nd Fix

* 3rd changes

* 4th Fix

* Fix WinML build issue

* 5th fix

* Fix  WindowsAISample.csproj restore nuget problem

* Fix further build issue

* Ensure only 1 newline, not multiple, for csproj and vcxproj

* Try to have reliable version update for Directory.Packages.props

* Test failure because the waproj doesn't reference correct MSVCP

* Fix build error for CsWpfState/CsWpfState.csproj

* Fix CppWinMainEnv failed to launch with error VCRuntime140_1.dll not found

* Add missing VCRForwarders

* Fix copilot comment

* Convert WinUI3 to single package - starting with Instancing

* Update the rest to be single package

* pdateVersions.ps1 should restore package even when packages folder not provided

* Remove all vcxproj.filters's packages.config reference

* Restore some of original property - phase 1

* Restore original packages path

* Remove extra symbols

* Restore originally appxmanifest value for those migrated one

* remove unnecessary property in Directory.Build.props for WinML

* Add warning only if restore not successful

* Nuget install on pipeline will be done itself, it cannot fail
@haonanttt
haonanttt merged commit f933100 into release/2.0-stable Feb 6, 2026
4 checks passed
@haonanttt
haonanttt deleted the user/haonanttt/snapSamples branch February 6, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants