Hi everyone,
as I read the release notes for 4.18 I was excited about the possibility to have support for VSCode.
Unfortunately I can’t generate the project files.
What I did so far is:
- I created a new c++ basic code test project
- I switches the preferred IDE to VSCode in editor settings
- Right click on UProject shows only the old generate VS project files (would expect VSCode project files)
- The log shows me a command line where the “-vscode” switch isn’t active.
- Grabbed the command line in the log and added the “-vscode” switch to it and started in command prompt
The command prompt gives me the error
“ERROR: UnrealBuildTool Exception: Invalid compiler version (Default)”
NOTE: Running on Windows 7 with Visual Studio 2017 and VSCode 1.16.1 x64
Do I need to update the context menu? Or which command line I need to call to generate the “.vscode” files. This is the whole output from command line:
C:\Program Files\Epic Games\UE_4.18\Engine\Build>“C:/Program Files/Epic
Games/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe” -projectfiles -project=“C:/Us
ers/schaaf/Documents/Unreal Projects/Test_VSCode/Test_VSCode.uproject” -game -ro
cket -progress -vscode
Discovering modules, targets and source code for project…
@progress ‘Binding IntelliSense data…’ 0%
@progress ‘Binding IntelliSense data…’ 50%
@progress ‘Binding IntelliSense data…’ 100%
@progress ‘Writing project files…’ 0%
@progress ‘Writing project files…’ 33%
@progress ‘Writing project files…’ 67%
@progress ‘Writing project files…’ 100%
Discovering modules, targets and source code for project…
@progress ‘Binding IntelliSense data…’ 0%
@progress ‘Binding IntelliSense data…’ 50%
@progress ‘Binding IntelliSense data…’ 100%
@progress ‘Writing project files…’ 0%
@progress ‘Writing project files…’ 33%
@progress ‘Writing project files…’ 67%
ERROR: UnrealBuildTool Exception: Invalid compiler version (Default)
Kind regards
Andre Schaaf-Ledermüller
Heideland GameWorks