build-libcurl-windows icon indicating copy to clipboard operation
build-libcurl-windows copied to clipboard

Add support for Visual Studio 2017

Open frk1 opened this issue 7 years ago • 2 comments

I added support for Visual Studio 2017.

Note that I also update the static versions of libcurl to be compiled with the /MT switch for static runtime aswell.

frk1 avatar Apr 22 '17 14:04 frk1

One issue: In the path to Visual Studio's vcvarsall script, you hardcoded the Studio Edition (Community). This might also be Professional or Enterprise. I guess you need a test for several folders and choose the one which exists.

Frank-Schmitt avatar Jun 06 '17 07:06 Frank-Schmitt

You can use vswhere to find the right Visual Studio 2017+ installation folder. Usually, you can add vswhere NuGet package using nuget.exe to automatically download the latest tool.

LonghronShen avatar May 03 '19 08:05 LonghronShen