Merge pull request #1082 from esdrubal/bug19287
[mono.git] / mcs / class / System.Configuration / System.Configuration-tests-net_4_5.csproj
index 5595a6415d8a4878b328adf044efbcc9c25b024b..2ff30ccd8a81dd606f45525ebf1c0d49eae44ae5 100644 (file)
@@ -5,14 +5,16 @@
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
     <ProductVersion>9.0.30729</ProductVersion>\r
     <SchemaVersion>2.0</SchemaVersion>\r
-    <ProjectGuid>{155AEF28-C81F-405D-9072-9D52780E3E70}</ProjectGuid>\r
+    <ProjectGuid>{9A11832B-834C-4518-98E3-0E301CAD589D}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
-    <NoWarn>1699</NoWarn>\r
-    <OutputPath>.\</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <NoWarn>1699,618</NoWarn>\r
+    <OutputPath>bin\Debug\System.Configuration-tests-net_4_5</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>False</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.Configuration_test_net_4_5</AssemblyName>\r
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
-    <NoWarn>1699</NoWarn>\r
+    <NoWarn>1699,618</NoWarn>\r
     <Optimize>false</Optimize>\r
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_5</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
     <DebugType>pdbonly</DebugType>\r
-    <NoWarn>1699</NoWarn>\r
+    <NoWarn>1699,618</NoWarn>\r
     <Optimize>true</Optimize>\r
     <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_5</AdditionalLibPaths>\r
+  </PropertyGroup>\r
+  <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0, \r
+  Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This\r
+  is a problem to compile the Mono mscorlib.dll -->\r
+  <PropertyGroup>\r
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
   <ItemGroup>\r
-   <Compile Include="Test\System.Configuration\CallbackValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\CommaDelimitedStringCollectionConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\CommaDelimitedStringCollectionTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationElementTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationErrorsExceptionTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationLockCollectionTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationPermissionTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationPropertyTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationManagerTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationSectionGroupTest.cs" />
-   <Compile Include="Test\System.Configuration\ConfigurationSectionTest.cs" />
-   <Compile Include="Test\System.Configuration\ConnectionStringSettingsTest.cs" />
-   <Compile Include="Test\System.Configuration\DefaultValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\ExeConfigurationFileMapTest.cs" />
-   <Compile Include="Test\System.Configuration\GenericEnumConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\InfiniteIntConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\InfiniteTimeSpanConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\IntegerValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\KeyValueConfigurationCollectionTest.cs" />
-   <Compile Include="Test\System.Configuration\KeyValueConfigurationElementTest.cs" />
-   <Compile Include="Test\System.Configuration\LongValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\PositiveTimeSpanValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\RegexStringValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\StringValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\SubclassTypeValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\TimeSpanMinutesConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\TimeSpanMinutesOrInfiniteConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\TimeSpanSecondsConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\TimeSpanSecondsOrInfiniteConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\TimeSpanValidatorTest.cs" />
-   <Compile Include="Test\System.Configuration\TypeNameConverterTest.cs" />
-   <Compile Include="Test\System.Configuration\WhiteSpaceTrimStringConverterTest.cs" />
-   <Compile Include="Test\System.Configuration.Provider\ProviderBaseTest.cs" />
-   <Compile Include="Test\System.Configuration.Provider\ProviderCollectionTest.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="Test\System.Configuration.Provider\ProviderBaseTest.cs" />\r
+    <Compile Include="Test\System.Configuration.Provider\ProviderCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\AppSettingsSectionTest.cs" />
+    <Compile Include="Test\System.Configuration\CallbackValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\CommaDelimitedStringCollectionConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\CommaDelimitedStringCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationElementTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationErrorsExceptionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationLockCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationManagerTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationPermissionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationPropertyTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationSaveTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationSectionGroupTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConfigurationSectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ConnectionStringSettingsTest.cs" />\r
+    <Compile Include="Test\System.Configuration\DefaultValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ExeConfigurationFileMapTest.cs" />\r
+    <Compile Include="Test\System.Configuration\GenericEnumConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\InfiniteIntConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\InfiniteTimeSpanConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\IntegerValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\KeyValueConfigurationCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\KeyValueConfigurationElementTest.cs" />\r
+    <Compile Include="Test\System.Configuration\LongValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\PositiveTimeSpanValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\RegexStringValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\StringValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\SubclassTypeValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\TimeSpanMinutesConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\TimeSpanMinutesOrInfiniteConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\TimeSpanSecondsConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\TimeSpanSecondsOrInfiniteConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\TimeSpanValidatorTest.cs" />\r
+    <Compile Include="Test\System.Configuration\TypeNameConverterTest.cs" />\r
+    <Compile Include="Test\System.Configuration\WhiteSpaceTrimStringConverterTest.cs" />\r
+    <Compile Include="Test\Util\TestLabel.cs" />\r
+    <Compile Include="Test\Util\TestUtil.cs" />\r  </ItemGroup>\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
        Other similar extension points exist, see Microsoft.Common.targets.\r
   <Target Name="BeforeBuild">\r
   </Target>\r
   -->\r
   <PropertyGroup>\r
-    <PreBuildEvent></PreBuildEvent>\r
+    <PreBuildEvent>\r
+\r
+    </PreBuildEvent>\r
+    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
+
+    </PostBuildEvent>
+    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
+
+    </PostBuildEvent>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-        <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="./../../class/lib/net_4_5/System.Configuration.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>./../../class/lib/net_4_5/System.Configuration.dll</HintPath>
-    </Reference>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Xml.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Xml.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Security.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Security.dll</HintPath>
-    </Reference>
-    <Reference Include="nunit.framework" />
-\r
+    <Reference Include="..\lib\net_4_5\nunit.framework.dll" />\r
+    <ProjectReference Include="..\corlib\corlib-net_4_5.csproj">\r
+      <Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>\r
+      <Name>corlib\corlib-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Configuration\System.Configuration-net_4_5.csproj">\r
+      <Project>{D52A2CEA-245E-4877-950E-3EAC5F541B8E}</Project>\r
+      <Name>System.Configuration\System.Configuration-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_4_5-1.csproj">\r
+      <Project>{6822DF7D-F859-4F02-9946-F138AA756A0E}</Project>\r
+      <Name>System\System-net_4_5-1</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.XML\System.Xml-net_4_5.csproj">\r
+      <Project>{2951DEC2-4393-4A78-83F9-42EB39CB708F}</Project>\r
+      <Name>System.XML\System.Xml-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Security\System.Security-net_4_5.csproj">\r
+      <Project>{B55E59B2-31CA-438B-ADB8-4B9A9A547830}</Project>\r
+      <Name>System.Security\System.Security-net_4_5</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
 </Project>\r