Yes I have visual studio community 2019 installed
When I use haxelib run lime setup windows , the command works. No error this time.
And then running a project on haxedevelop selecting windows platform gives me error same as this thread:
Error says :
Running process: C:\Program Files (x86)\HaxeDevelop\Tools\fdbuild\fdbuild.exe “C:\Users\xxxxxxxxxxxxxxxxxxx\source\win\New Project.hxproj” -ipc 13b0755f-ee75-46ac-b072-27be55abf66d -version “4.1.0” -compiler “C:\HaxeToolkit\haxe” -notrace -library “C:\Program Files (x86)\HaxeDevelop\Library” -target “windows”
Building New Project
Running Pre-Build Command Line…
cmd: “C:\HaxeToolkit\haxe/haxelib” run lime build “project.xml” windows -release -Dfdb
C:\Users\xxxxxxxxxxxxxxxxxxxxxxx\bin\windows\obj>setlocal enabledelayedexpansion
Warning: Could not find Visual Studio 2017 VsDevCmd
Missing HXCPP_VARS
Error: Could not automatically setup MSVC
Build halted with errors.
Done(1)