diff --git a/pythonnet/setup.py b/pythonnet/setup.py index d1d66e06c..0c01b9e96 100644 --- a/pythonnet/setup.py +++ b/pythonnet/setup.py @@ -24,7 +24,7 @@ cc = msvc9compiler.MSVCCompiler() cc.initialize() - _xbuild = cc.find_exe("msbuild.exe") + _xbuild = "\"%s\"" % cc.find_exe("msbuild.exe") _defines_sep = ";" _config = "%sWin" % CONFIG _npython_exe = "nPython.exe"