Skip to content

Conversation

@Alan-Jowett
Copy link
Member

This pull request updates how NuGet packages are referenced and managed in the project, moving from the older packages.config approach to the more modern PackageReference method in the MSBuild property file. This streamlines package management and aligns with best practices for C++ projects using NuGet.

Migration to PackageReference for NuGet package management:

  • Removed the legacy packages.config file, eliminating the old package reference mechanism.
  • Removed the inclusion of packages.config from the project file usersim_dll_skeleton.vcxproj.
  • Refactored wdk.props to use PackageReference items for all required Windows SDK and WDK packages, replacing the previous explicit import statements and error handling for missing packages. Also added NuGet restore properties for better package management.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
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