nefarius/BthPS3

Upgrade to Visual Studio 2022

nefarius opened this issue ยท 6 comments

A reminder so all projects (especially modern .NET UI components) can be built and edited under one IDE it should be fairly frictionless to upgrade from 2019 to 2022.

Trying to figure out why the setup project doesn't load:

image

Installed WiX v3 - Visual Studio 2022 Extension, no change.

WiX toolset v3.14.0.6526 is currently installed on the machine.

Oh, reloading the project did the trick. Don't ask me why, now it opens right away after IDE restart, magic ๐Ÿ˜…

image

Next issue: driver building doesn't work (sigh):

MSB4062	The "ValidateNTTargetVersion" task could not be loaded from the assembly C:\Program Files (x86)\Windows Kits\10\build\bin\Microsoft.DriverKit.Build.Tasks.17.0.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\Windows Kits\10\build\bin\Microsoft.DriverKit.Build.Tasks.17.0.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

I have a suspicion how to fix it, better make a full machine backup first though...

Progress! Installed latest Windows 11 SDK & WDK, and Spectre mitigation libs:

image

image

More problems, obviously...

image

image

Oh man... latest Windows 11 WDK still completely breaks old builds... I think I should do another writeup ๐Ÿ˜’

image

Alright, everything builds again ๐Ÿ˜ƒ