When trying to install VS 2022 it's a bit hit and miss.. mostly miss..
Tried to install with the "ASP.NET and web development" and Maui workloads..
got a general "oops that didn't work" message
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Initializer;PackageAction=Install;ReturnCode=-2147467259
Details
Return code: -2147467259
Return code details: The supplied user buffer is not valid for the requested operation
Log
C:\Users\{me}\AppData\Local\Temp\dd_setup_20221212150923_010_Microsoft.VisualStudio.Initializer.log
Impacted workloads
.NET Multi-platform App UI development (Microsoft.VisualStudio.Workload.NetCrossPlat,version=17.4.33006.217)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.4.33006.217,productarch=x64)
Visual Studio core editor (Microsoft.VisualStudio.Workload.CoreEditor,version=17.4.33006.217)
Managed to install 2022 core with no workloads.. I then modified wo add the "asp.net" workload.. so at least I can do my job
But trying to install anything else (MAUI, Azure, .NET desktop) Just fails.
Again, lots and lots of "System.ComponentModel.Win32Exception (0x80004005): The supplied user buffer is not valid for the requested operation" kind of thing.