[ALL] Make mono-specific build better

This commit is contained in:
Matt Nadareski
2016-10-28 21:47:11 -07:00
parent ea82db8a41
commit f8a69f6de2
17 changed files with 24 additions and 30 deletions

View File

@@ -9,7 +9,7 @@ using SabreTools.Helper.Data;
using SabreTools.Helper.Dats; using SabreTools.Helper.Dats;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -8,7 +8,7 @@ using SabreTools.Helper.Data;
using SabreTools.Helper.Dats; using SabreTools.Helper.Dats;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -46,7 +46,8 @@
<OutputPath>..\..\Debug-mono</OutputPath> <OutputPath>..\..\Debug-mono</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<DebugType></DebugType> <DebugType>
</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
@@ -55,7 +56,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\Debug-mono</OutputPath> <OutputPath>..\..\Debug-mono</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG;mono</DefineConstants>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
@@ -64,7 +65,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\Debug-mono-x64</OutputPath> <OutputPath>..\..\Debug-mono-x64</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG;mono</DefineConstants>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>

View File

@@ -11,7 +11,7 @@ using SabreTools.Helper.Data;
using SabreTools.Helper.Skippers; using SabreTools.Helper.Skippers;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -4,7 +4,7 @@ using System.Text;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -28,7 +28,7 @@
using System; using System;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -44,7 +44,8 @@
<OutputPath>..\..\Release-x64</OutputPath> <OutputPath>..\..\Release-x64</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<DebugType></DebugType> <DebugType>
</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
@@ -52,7 +53,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\Debug-mono</OutputPath> <OutputPath>..\..\Debug-mono</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG;/define:mono</DefineConstants>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
@@ -61,7 +62,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\Debug-mono-x64</OutputPath> <OutputPath>..\..\Debug-mono-x64</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG;mono</DefineConstants>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
@@ -226,12 +227,4 @@
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Mono|x64' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>..\..\Debug-mono</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
</Project> </Project>

View File

@@ -6,7 +6,7 @@ using System.Xml;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -6,7 +6,7 @@ using System.Text.RegularExpressions;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
using SabreTools.Helper.Dats; using SabreTools.Helper.Dats;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -3,7 +3,7 @@ using System;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -10,7 +10,7 @@ using SabreTools.Helper.Data;
using SabreTools.Helper.Dats; using SabreTools.Helper.Dats;
using SabreTools.Helper.Skippers; using SabreTools.Helper.Skippers;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -9,7 +9,7 @@ using System.Web;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
using SabreTools.Helper.Dats; using SabreTools.Helper.Dats;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -6,7 +6,7 @@ using SabreTools.Helper.Data;
using SabreTools.Helper.Dats; using SabreTools.Helper.Dats;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -5,7 +5,7 @@ using SabreTools.Helper;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
using SabreTools.Helper.Tools; using SabreTools.Helper.Tools;
#if __MonoCS__ #if mono
using System.IO; using System.IO;
#else #else
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;

View File

@@ -72,7 +72,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\Debug-mono</OutputPath> <OutputPath>..\..\Debug-mono</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG;mono</DefineConstants>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
@@ -81,7 +81,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\Debug-mono-x64</OutputPath> <OutputPath>..\..\Debug-mono-x64</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG;mono</DefineConstants>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>