I'm using VS 2022, and have a UWP app that references a WinRT project. I'm trying to create a package so I can sideload it onto a separate computer to test that the installer includes everything required.
I've included references to Microsoft.VCLibs and Visual C++ 2015-2019 UWP Desktop Runtime for native apps in the .csproj of the UWP project, and they show up in the "dependencies" folder when the package gets created. However, my app does not work correctly when installed. It works if I install VC_redist.64 manually (separately).
I'm not sure what I've done wrongly? Is there a way to include the VC_redist libraries in a package for sideload?