diff --git a/Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs b/Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
index 595754ba3..2d7b23ce5 100644
--- a/Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
+++ b/Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
@@ -114,6 +114,7 @@ namespace Flax.Build.Projects.VisualStudio
if (Version >= VisualStudioVersion.VisualStudio2022)
vcProjectFileContent.AppendLine(" false");
vcProjectFileContent.AppendLine(" ./");
+ vcProjectFileContent.AppendLine(" ./");
vcProjectFileContent.AppendLine(" ");
// Default properties
@@ -376,9 +377,9 @@ namespace Flax.Build.Projects.VisualStudio
vcUserFileContent.AppendLine("");
- if (platforms.Any(x => x.Target == TargetPlatform.Linux))
+ if (platforms.Any(x => x.Target == TargetPlatform.Linux || x.Target == TargetPlatform.Mac))
{
- // Override MSBuild .targets file with one that runs NMake commands (workaround for Rider on Linux)
+ // Override MSBuild .targets file with one that runs NMake commands (workaround for Rider not finding "Microsoft.Cpp.Default.props" file)
var cppTargetsFileContent = new StringBuilder();
cppTargetsFileContent.AppendLine("");
cppTargetsFileContent.AppendLine(" ");