你可以使用 choco 来安装 Visual Studio 的构建工具,这些工具包括了 VC 编译环境。在命令行中输入以下命令: powershell choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended" 这个命令会安装 Visual Studio 2019 的构建工具,并添加 VC...
'choco install -y git --params "'/GitOnlyOnPath /NoAutoCrlf /WindowsTerminal /NoShellIntegration /NoCredentialManager'"' The result is: `C:\>choco install -y git --params "'/GitOnlyOnPath /NoAutoCrlf /WindowsTerminal /NoShellIntegration /NoCredentialManager'" choco install -y git --param...
Therefore, the first installed Visual Studio product will install the Visual Studio Installer and all subsequent VS products will add themselves to the existing VS Installer instance. Uninstalling the VS Installer removes all VS 2017 products installed on the machine. Because of that, thechocolateyUnin...
Uninstalling the following packages: git You are uninstalling git, which is likely a metapackage for an *.install/*.portable package that it installed (git represents discoverability). For the question below, you have 20 seconds to make a selection. Would you like to uninstall git.install as ...
5340:0007][2022-08-22T12:26:46] Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" --includeRecommended --norestart --quiet --add Microsoft.VisualStudio.Workload.VCTools ...
I have an issue present in my Visual Studio installer that just says there's a problem with Visual Studio Build Tools 2017 (2) with "Couldn't download Microsoft.VisualCpp.Premium.Tools.HostX64.TargetX64.Resources" and I don't know anything about it. Sorry, something went wrong. ...
Visual Studio 2019 or Visual Studio 2019 Build Tools .NET SDK (i.e. ability to install .NET Global tools usingdotnet tool install) There is asetup.ps1file at the root of this repository, which can be used to install all of the above. ...
Another noteworthy addition is the ability to pass custom properties to Choco like you would do with nuget pack, allowing better integration with packages you manage in Visual Studio (#1313). FEATURES Function - Get-PackageParameters - see #1393 BUG FIXES Fix - "Value cannot be null" runnin...
Using a Visual Studio Command Prompt, you can verify the binary (the path below is the default install location, adjust if necessary). You can also download sn separately if necessary: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>sn -T c:\ProgramData\chocolatey\choco.exe Microsoft...