GenerateProjectFiles error when setting up

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.CSharp.CurrentVersion.targe
ts(322,5): error MSB4019: The imported project “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuil
d\15.0\bin\Roslyn\Microsoft.CSharp.Core.targets” was not found. Confirm that the path in the declaration is co
rrect, and that the file exists on disk. [C:\Users\Bruno\Documents\GitHub\UnrealEngine\Engine\Source\Programs\UnrealBui
ldTool\UnrealBuildTool.csproj]

Where am I supposed to move the file to? Thanks

To anyone interested (since it happened to me with UE4 1.19.2 and Visual Studio 2017), I resolved installing in VS Desktop development with .NET and Desktop development with C++.

More details here: UE4.SLN not generated? -- Building from Source - General Discussion - Unreal Engine Forums

1 Like