This is a post that should be flagged for permanent availability. Great advice, Mark.
Also the reason why the useless package manager in vs doesn't work, and why the poster is having problems, is that the packages to be imported are conditional on the target, x64 gets one set, ARM64 a different set. That is trivial to express in msbuild xml, which is what directory.build.props does, in addition to consolidating any changes to one file for all projects.
I'm not able to access your Google Drive link.
@Mark_Roddy — we’re glad to hear you’ve found value in the Windows Drivers Samples repo. We’re committed to improving the experience with the Visual Studio NuGet package manager and definitely don’t want it to be perceived as “useless.”
If you’re able to share detailed repro steps or logs, we’d love to investigate further and work toward a better experience and support.
This discussion should be in it's own thread.
I don't have a problem. The poster I was responding to had a problem using VS2022 and it's nuget package manager to build both ARM64 and X64 builds.
I just doc'd how to do this correctly (or at least easily). It is the same way your samples build on github.