[Mac SDK] Use MSBuild to build IronPython/IronRuby.
authorAlexis Christoforides <alexis@thenull.net>
Tue, 6 Dec 2016 21:49:49 +0000 (16:49 -0500)
committerAlexis Christoforides <alexis@thenull.net>
Tue, 6 Dec 2016 21:53:32 +0000 (16:53 -0500)
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

index 0d4e336a879945a336d1099639fb1c1e210baacc..bf1c347de101930d68f8a722f9a41c06f7ba3441 100644 (file)
@@ -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)):