c:\vs2022_offline\vs_community.exe --noweb --add Microsoft.VisualStudio.Workload.ManagedDesktop
There are several reasons why you might want to use the offline installer for Visual Studio Community 2022: visual studio community 2022 offline installer
The offline layout may contain for package signing. On a truly offline machine, Windows cannot check CRL/CTL. To avoid installation failures: c:\vs2022_offline\vs_community