I was trying to install VS2022 on my Windows 10 enterprise version 21H2 (OS build 19044.3570)
and got this error down below. Please help me solve this issue. Thanks!
=====================
Something went wrong with the install.
You can troubleshoot the package failures by:
1. Search for solutions using the search URL below for each package failure
2. Modify your selections for the affected workloads or components and then retry the installation
3. Remove the product from your machine and then install again
If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.
================================================================================
Package 'Microsoft.Net.4.8.FullRedist.20H2,version=4.8.9037.6' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.4.8.FullRedist.20H2;PackageAction=Install;ReturnCode=193
Details
Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.4.8.FullRedist.20H2,version=4.8.9037.6\dotNetFxLatest-x86-x64-AllOS-ENU.exe" /q /norestart /KeepAUPaused /ChainingPackage Visual_Studio_15_Setup /CEIPconsent /log "C:\Users\username\AppData\Local\Temp\dd_setup_20240116092157_001_Microsoft.Net.4.8.FullRedist.20H2.log"
Return code: 193
Return code details: %1 is not a valid Win32 application.
Log
C:\Users\username\AppData\Local\Temp\dd_setup_20240116092157_001_Microsoft.Net.4.8.FullRedist.20H2.log
Impacted workloads
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.8.34129.139,productarch=x64)
Azure development (Microsoft.VisualStudio.Workload.Azure,version=17.8.34129.139)
Visual Studio core editor (Microsoft.VisualStudio.Workload.CoreEditor,version=17.8.34129.139)
Impacted components
.NET Framework 4.8 development tools (Microsoft.Net.ComponentGroup.4.8.DeveloperTools,version=17.8.34129.139)
.NET Framework 4.8 targeting pack (Microsoft.Net.Component.4.8.TargetingPack,version=17.8.34129.139)
Visual Studio core editor (Microsoft.VisualStudio.Component.CoreEditor,version=17.8.34129.139)