diff --git a/build/vs2010/Lol.Core.Rules.props b/build/vs2010/Lol.Core.Rules.props
index 815b04b1..b84ad5a7 100644
--- a/build/vs2010/Lol.Core.Rules.props
+++ b/build/vs2010/Lol.Core.Rules.props
@@ -18,10 +18,12 @@
$(GlIncludes);$(SdlIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)
NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
-
- LOL_CONFIG_PROJECTDIR=\"$(ProjectDir.Replace('\\','\').Replace('\','\\'))\";%(PreprocessorDefinitions)
- LOL_CONFIG_SOLUTIONDIR=\"$(SolutionDir.Replace('\\','\').Replace('\','\\'))\";%(PreprocessorDefinitions)
+
+ LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','\\'))";%(PreprocessorDefinitions)
+ LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','\\'))";%(PreprocessorDefinitions)
+ LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','/'))";%(PreprocessorDefinitions)
+ LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','/'))";%(PreprocessorDefinitions)
WIN32;$(Win32Defines);%(PreprocessorDefinitions)
WIN32;$(Win32Defines);%(PreprocessorDefinitions)