Merge pull request #1605 from iainx/cov-install-coverage-filter
[mono.git] / mcs / class / System.Security / System.Security-tests-net_4_5.csproj
index 3c5a1834ea901cea54aa7be5e6464afa1ef215dd..9beb057c78c8b7bca1524862de880f0629b86286 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>{D49E3075-7A78-4CF1-8300-DF847C9B6796}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,618,414,169,219,1595,168,183,414</NoWarn>\r
-    <OutputPath>.\</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\System.Security-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.Security_test_net_4_5</AssemblyName>\r
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
@@ -25,7 +27,6 @@
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;SECURITY_DEP</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
     <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5;SECURITY_DEP</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.Security.Cryptography\CryptographicAttributeObjectCollectionTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectEnumeratorTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography\ProtectedDataTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography\ProtectedMemoryTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\AlgorithmIdentifierTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\CmsRecipientCollectionTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\CmsRecipientTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\CmsSignerTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\ContentInfoTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\EnvelopedCmsTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\KeyTransRecipientInfoTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9AttributeTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9ContentTypeTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9DocumentDescriptionTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9DocumentNameTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9MessageDigestTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9SigningTimeTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\PkitsTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkits_4_01_SignatureVerification.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\SignedCmsTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\SignerInfoCollectionTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\SignerInfoTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Pkcs\SubjectIdentifierTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\AssertCrypto.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\DataObjectTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\DSAKeyValueTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\DataReferenceTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\EncryptedXmlTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoNameTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoNodeTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoRetrievalMethodTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoX509DataTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\ReferenceTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\RSAKeyValueTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\SignatureTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\SignedInfoTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\SignedXmlTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\TransformChainTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\TransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDecryptionTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigBase64TransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigEnvelopedSignatureTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigC14NTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigC14NWithCommentsTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigExcC14NTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigExcC14NWithCommentsTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigXPathTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigXsltTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.Xml\XmlLicenseTransformTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography.X509Certificates\X509Certificate2UITest.cs" />
-   <Compile Include="Test\System.Security.Permissions\DataProtectionPermissionAttributeTest.cs" />
-   <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectCas.cs" />
-   <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectCollectionCas.cs" />
-   <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectEnumeratorCas.cs" />
-   <Compile Include="Test\System.Security.Cryptography\ProtectedDataCas.cs" />
-   <Compile Include="Test\System.Security.Cryptography\ProtectedMemoryCas.cs" />
-   <Compile Include="Test\System.Security.Cryptography.X509Certificates\X509Certificate2UICas.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\AlgorithmIdentifierTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\CmsRecipientCollectionTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\CmsRecipientTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\CmsSignerTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\ContentInfoTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\EnvelopedCmsTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\KeyTransRecipientInfoTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9AttributeTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9ContentTypeTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9DocumentDescriptionTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9DocumentNameTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9MessageDigestTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkcs9SigningTimeTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\Pkits_4_01_SignatureVerification.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\PkitsTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\SignedCmsTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\SignerInfoCollectionTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\SignerInfoTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Pkcs\SubjectIdentifierTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.X509Certificates\X509Certificate2UICas.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.X509Certificates\X509Certificate2UITest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\AssertCrypto.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\DataObjectTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\DataReferenceTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\DSAKeyValueTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\EncryptedXmlTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoNameTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoNodeTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoRetrievalMethodTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\KeyInfoX509DataTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\ReferenceTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\RSAKeyValueTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\SignatureTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\SignedInfoTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\SignedXmlTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\TransformChainTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\TransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDecryptionTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigBase64TransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigC14NTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigC14NWithCommentsTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigEnvelopedSignatureTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigExcC14NTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigExcC14NWithCommentsTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigXPathTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlDsigXsltTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography.Xml\XmlLicenseTransformTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectCas.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectCollectionCas.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectCollectionTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectEnumeratorCas.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeObjectEnumeratorTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\CryptographicAttributeTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\ProtectedDataCas.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\ProtectedDataTest.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\ProtectedMemoryCas.cs" />\r
+    <Compile Include="Test\System.Security.Cryptography\ProtectedMemoryTest.cs" />\r
+    <Compile Include="Test\System.Security.Permissions\DataProtectionPermissionAttributeTest.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.Security.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>./../../class/lib/net_4_5/System.Security.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="Mono.Security.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>Mono.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.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
+    <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="..\Mono.Security\Mono.Security-net_4_5.csproj">\r
+      <Project>{D68D4FED-CA32-4800-A628-58BAE485562C}</Project>\r
+      <Name>Mono.Security\Mono.Security-net_4_5</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
 </Project>\r