diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml-net_4_5.csproj')
-rw-r--r-- | mcs/class/System.XML/System.Xml-net_4_5.csproj | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/mcs/class/System.XML/System.Xml-net_4_5.csproj b/mcs/class/System.XML/System.Xml-net_4_5.csproj index 0fd8a699c3d..e39b9a75b43 100644 --- a/mcs/class/System.XML/System.Xml-net_4_5.csproj +++ b/mcs/class/System.XML/System.Xml-net_4_5.csproj @@ -24,7 +24,7 @@ <DebugType>full</DebugType>
<NoWarn>1699,618,612,642</NoWarn>
<Optimize>false</Optimize>
- <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;CONFIGURATION_DEP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -32,7 +32,7 @@ <DebugType>pdbonly</DebugType>
<NoWarn>1699,618,612,642</NoWarn>
<Optimize>true</Optimize>
- <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
+ <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;CONFIGURATION_DEP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -432,8 +432,8 @@ <Compile Include="System.Xml\XmlWriter.cs" />
<Compile Include="System.Xml\XmlWriterSettings.cs" />
<Compile Include="System.Xml\XQueryConvert.cs" />
- <Compile Include="Mono.Xml.Xsl\PatternParser.cs" />
- <Compile Include="Mono.Xml.Xsl\PatternTokenizer.cs" />
+ <Compile Include="Mono.Xml.Xsl\net_4_5_PatternParser.cs" />
+ <Compile Include="Mono.Xml.Xsl\net_4_5_PatternTokenizer.cs" />
<Compile Include="System.Xml.XPath\Parser.cs" />
</ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@@ -443,15 +443,25 @@ </Target>
-->
<PropertyGroup>
- <PreBuildEvent>
-$(ProjectDir)\..\..\..\mono\msvc\scripts\prepare.exe $(ProjectDir)..\.. xml
-$(ProjectDir)\..\..\jay\jay.exe -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\System.Xml.XPath\Parser.jay > $(ProjectDir)\System.Xml.XPath\Parser.cs
-echo #define XSLT_PATTERN > $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
-$(ProjectDir)\..\..\jay\jay.exe -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\Mono.Xml.Xsl\PatternParser.jay >> $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
-echo #define XSLT_PATTERN > $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
+ <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> +mono $(ProjectDir)\..\..\..\msvc\scripts\prepare.exe $(ProjectDir)..\.. xml
+$(ProjectDir)\..\..\jay\jay -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\System.Xml.XPath\Parser.jay > $(ProjectDir)\System.Xml.XPath\Parser.cs
+echo "#define XSLT_PATTERN" > $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
+$(ProjectDir)\..\..\jay\jay -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\Mono.Xml.Xsl\PatternParser.jay >> $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
+echo "#define XSLT_PATTERN" > $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
+cat $(ProjectDir)\System.Xml.XPath\Tokenizer.cs >> $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
+
+ </PreBuildEvent> + <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' "> + $(ProjectDir)\..\..\..\msvc\scripts\prepare.exe $(ProjectDir)..\.. xml
+$(ProjectDir)\..\..\jay\jay -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\System.Xml.XPath\Parser.jay > $(ProjectDir)\System.Xml.XPath\Parser.cs
+echo "#define XSLT_PATTERN" > $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
+$(ProjectDir)\..\..\jay\jay -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\Mono.Xml.Xsl\PatternParser.jay >> $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
+echo "#define XSLT_PATTERN" > $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
type $(ProjectDir)\System.Xml.XPath\Tokenizer.cs >> $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
-
- </PreBuildEvent>
+
+ </PreBuildEvent> +
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> </PostBuildEvent> @@ -460,13 +470,17 @@ type $(ProjectDir)\System.Xml.XPath\Tokenizer.cs >> $(ProjectDir)\Mono.Xml.Xsl\P </PostBuildEvent>
</PropertyGroup>
<ItemGroup>
- <ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
+ <ProjectReference Include="../corlib/corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
- <ProjectReference Include="..\System\System-net_4_5.csproj">
- <Project>{FFAC0B73-D997-493B-9C62-27656CD858BB}</Project>
- <Name>System\System-net_4_5</Name>
+ <ProjectReference Include="../System/System-bare-net_4_5.csproj">
+ <Project>{91CDF14E-F60F-4AB7-BC9D-5CBD7E669076}</Project>
+ <Name>System\System-bare-net_4_5</Name>
+ </ProjectReference>
+ <ProjectReference Include="../System.Configuration/System.Configuration-net_4_5.csproj">
+ <Project>{D52A2CEA-245E-4877-950E-3EAC5F541B8E}</Project>
+ <Name>System.Configuration\System.Configuration-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
|