These steps are for installing Build Tools for Visual Studio on Windows and then packaging them up to be use inside of a Wine install on Linux or MacOS. See Project Creation for more details.
The first few steps for creating this are the same as installing Build Tools on Windows, except you have to install the tools to a different folder (add the –installPath
argument to the vs_buildtools.exe
command. This article and the rest of the set up will be expecting the folder structure set up below.
cmd
window and navigate to the location of the vs_buildtools.exe
you just downloaded.v141
platform toolset and 10.0.17134.0
Windows 10 SDK. Afterwards, wait about ~5-10 minutes and you should have a folder at C:\MSVC\VC
with a bunch of stuff in itvs_buildtools.exe –passive –wait –norestart –nocache –installPath “C:\MSVC\VC” –add Microsoft.VisualStudio.Product.BuildTools –add Microsoft.VisualStudio.Workload.VCTools –add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 –add Microsoft.VisualStudio.Component.Windows10SDK.17134 –includeRecommended
C:\MSVC
to your desktop or somewhere else in your user spaceC:\Program Files (x86)\Windows Kits
to MSVC\Kits
and delete all folders from MSVC\Kits\10
except for bin
, Include
, and Lib
. You completed folder structure should look something like the following:
MSVC / VC / Common7/ DIA SDK/ Licenses/ MSBuild/ SDK/ Team Tools/ VC/ Kits / 10 / bin/ Include/ Lib/
MSVC
folder and copy over to the computer with your Wine install.