From 3b3b69dae1a851289376e8430a100797cae6a083 Mon Sep 17 00:00:00 2001 From: Alexis Christoforides Date: Tue, 6 Dec 2016 16:49:49 -0500 Subject: [PATCH] [Mac SDK] Use MSBuild to build IronPython/IronRuby. Xbuild currently fails with 'CSC: error CS0041: Unexpected error writing debug information -- 'Windows PDB writer is not available -- could not find Microsoft.DiaSymReader.Native.x86.dll' Xbuild should be passing "/debug:Portable" to csc in order to work. There is a possibly broken attempt to this in 2d08353991213b17f58f64b6ef0fb4525eb4c659. --- packaging/MacSDK/ironlangs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/MacSDK/ironlangs.py b/packaging/MacSDK/ironlangs.py index 0d4e336a879..bf1c347de10 100644 --- a/packaging/MacSDK/ironlangs.py +++ b/packaging/MacSDK/ironlangs.py @@ -23,9 +23,9 @@ class IronLanguagesPackage(GitHubTarballPackage): self.ironpython = os.path.join( self.workspace, 'ironpython', 'bin') + os.sep self.sh( - 'xbuild /p:Configuration=Release /p:OutDir="%{ironruby}" Solutions/Ruby.sln') + 'msbuild /p:Configuration=Release /p:OutDir="%{ironruby}" Solutions/Ruby.sln' self.sh( - 'xbuild /p:Configuration=Release /p:OutDir="%{ironpython}" Solutions/IronPython.Mono.sln') + 'msbuild /p:Configuration=Release /p:OutDir="%{ironpython}" Solutions/IronPython.Mono.sln') def install_ruby_scripts(self, path, installdir): for cmd, ext in map(os.path.splitext, os.listdir(path)): -- 2.25.1