I have successfully downloaded Visual Studio Installer using curl with the following command:
C:\Windows\System32\curl.exe -o vs_installer.exe https://aka.ms/vs/17/release/vs_installer.exe
However, when I attempt to run vs_installer.exe --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --passive
, I encounter an error message stating:
This app can't run on your PC
To find a version for your PC, check with the software publisher.
I am unsure how to resolve this issue and would appreciate any guidance. Has anyone else encountered this problem or knows what might be causing it? My goal is install the VIsual Studio Community from the cmd command line.