Fix building VC++-projects

This commit is contained in:
2022-11-27 15:48:47 +02:00
parent 2227642c13
commit bf190810dd

View File

@@ -134,7 +134,7 @@ namespace Flax.Build.Projects.VisualStudio
vcProjectFileContent.AppendLine(" <PropertyGroup Label=\"UserMacros\" />");
// Per configuration options
var buildToolPath = Utilities.MakePathRelativeTo(typeof(Builder).Assembly.Location, projectDirectory);
var buildToolPath = Path.ChangeExtension(Utilities.MakePathRelativeTo(typeof(Builder).Assembly.Location, projectDirectory), null);
var preprocessorDefinitions = new HashSet<string>();
var includePaths = new HashSet<string>();
foreach (var configuration in project.Configurations)