[corlib] Improve flow of ExecutionContext (few tests taken from https://github.com...
[mono.git] / mcs / class / System.Management / System.Management-net_4_5.csproj
index 6cf5227de16b4d2b33b2ac3255219311a0b9d71e..31b3b4c8f12ee4b3fdbda29e9efe549dc26232ba 100644 (file)
@@ -5,22 +5,21 @@
     <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>{07BD11C9-C562-4EC3-8B7E-26EA909393C0}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_5</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\System.Management-net_4_5</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.Management</AssemblyName>\r
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
-    <!-- Filter out System.Core added by: Microsoft.NETFramework.props  -->\r
-    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
-    <PlatformTarget>AnyCPU</PlatformTarget>\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
     <NoWarn>1699</NoWarn>\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
-    <PlatformTarget>AnyCPU</PlatformTarget>  \r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699</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="..\..\build\common\Consts.cs" />
-   <Compile Include="..\..\build\common\Locale.cs" />
-   <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
-   <Compile Include="Assembly\AssemblyInfo.cs" />
-   <Compile Include="System.Management\AuthenticationLevel.cs" />
-   <Compile Include="System.Management\CimType.cs" />
-   <Compile Include="System.Management\CodeLanguage.cs" />
-   <Compile Include="System.Management\ComparisonSettings.cs" />
-   <Compile Include="System.Management\CompletedEventArgs.cs" />
-   <Compile Include="System.Management\CompletedEventHandler.cs" />
-   <Compile Include="System.Management\ConnectionOptions.cs" />
-   <Compile Include="System.Management\DeleteOptions.cs" />
-   <Compile Include="System.Management\EnumerationOptions.cs" />
-   <Compile Include="System.Management\EventArrivedEventArgs.cs" />
-   <Compile Include="System.Management\EventArrivedEventHandler.cs" />
-   <Compile Include="System.Management\EventQuery.cs" />
-   <Compile Include="System.Management\EventWatcherOptions.cs" />
-   <Compile Include="System.Management\ImpersonationLevel.cs" />
-   <Compile Include="System.Management\InvokeMethodOptions.cs" />
-   <Compile Include="System.Management\ManagementBaseObject.cs" />
-   <Compile Include="System.Management\ManagementClass.cs" />
-   <Compile Include="System.Management\ManagementDateTimeConverter.cs" />
-   <Compile Include="System.Management\ManagementEventArgs.cs" />
-   <Compile Include="System.Management\ManagementEventWatcher.cs" />
-   <Compile Include="System.Management\ManagementException.cs" />
-   <Compile Include="System.Management\ManagementNamedValueCollection.cs" />
-   <Compile Include="System.Management\ManagementObject.cs" />
-   <Compile Include="System.Management\ManagementObjectCollection.cs" />
-   <Compile Include="System.Management\ManagementObjectSearcher.cs" />
-   <Compile Include="System.Management\ManagementOperationObserver.cs" />
-   <Compile Include="System.Management\ManagementOptions.cs" />
-   <Compile Include="System.Management\ManagementPath.cs" />
-   <Compile Include="System.Management\ManagementQuery.cs" />
-   <Compile Include="System.Management\ManagementScope.cs" />
-   <Compile Include="System.Management\ManagementStatus.cs" />
-   <Compile Include="System.Management\MethodData.cs" />
-   <Compile Include="System.Management\MethodDataCollection.cs" />
-   <Compile Include="System.Management\ObjectGetOptions.cs" />
-   <Compile Include="System.Management\ObjectPutEventArgs.cs" />
-   <Compile Include="System.Management\ObjectPutEventHandler.cs" />
-   <Compile Include="System.Management\ObjectQuery.cs" />
-   <Compile Include="System.Management\ObjectReadyEventArgs.cs" />
-   <Compile Include="System.Management\ObjectReadyEventHandler.cs" />
-   <Compile Include="System.Management\ProgressEventArgs.cs" />
-   <Compile Include="System.Management\ProgressEventHandler.cs" />
-   <Compile Include="System.Management\PropertyData.cs" />
-   <Compile Include="System.Management\PropertyDataCollection.cs" />
-   <Compile Include="System.Management\PutOptions.cs" />
-   <Compile Include="System.Management\PutType.cs" />
-   <Compile Include="System.Management\QualifierData.cs" />
-   <Compile Include="System.Management\QualifierDataCollection.cs" />
-   <Compile Include="System.Management\RelatedObjectQuery.cs" />
-   <Compile Include="System.Management\RelationshipQuery.cs" />
-   <Compile Include="System.Management\SelectQuery.cs" />
-   <Compile Include="System.Management\StoppedEventArgs.cs" />
-   <Compile Include="System.Management\StoppedEventHandler.cs" />
-   <Compile Include="System.Management\TextFormat.cs" />
-   <Compile Include="System.Management\WqlEventQuery.cs" />
-   <Compile Include="System.Management\WqlObjectQuery.cs" />
-   <Compile Include="System.Management.Instrumentation\BaseEvent.cs" />
-   <Compile Include="System.Management.Instrumentation\DefaultManagementProjectInstaller.cs" />
-   <Compile Include="System.Management.Instrumentation\IEvent.cs" />
-   <Compile Include="System.Management.Instrumentation\IInstance.cs" />
-   <Compile Include="System.Management.Instrumentation\IgnoreMemberAttribute.cs" />
-   <Compile Include="System.Management.Instrumentation\Instance.cs" />
-   <Compile Include="System.Management.Instrumentation\Instrumentation.cs" />
-   <Compile Include="System.Management.Instrumentation\InstrumentationClassAttribute.cs" />
-   <Compile Include="System.Management.Instrumentation\InstrumentationType.cs" />
-   <Compile Include="System.Management.Instrumentation\InstrumentedAttribute.cs" />
-   <Compile Include="System.Management.Instrumentation\ManagedNameAttribute.cs" />
-   <Compile Include="System.Management.Instrumentation\ManagementInstaller.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\build\common\Consts.cs" />\r
+    <Compile Include="..\..\build\common\Locale.cs" />\r
+    <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />\r
+    <Compile Include="Assembly\AssemblyInfo.cs" />\r
+    <Compile Include="System.Management.Instrumentation\BaseEvent.cs" />\r
+    <Compile Include="System.Management.Instrumentation\DefaultManagementProjectInstaller.cs" />\r
+    <Compile Include="System.Management.Instrumentation\IEvent.cs" />\r
+    <Compile Include="System.Management.Instrumentation\IgnoreMemberAttribute.cs" />\r
+    <Compile Include="System.Management.Instrumentation\IInstance.cs" />\r
+    <Compile Include="System.Management.Instrumentation\Instance.cs" />\r
+    <Compile Include="System.Management.Instrumentation\Instrumentation.cs" />\r
+    <Compile Include="System.Management.Instrumentation\InstrumentationClassAttribute.cs" />\r
+    <Compile Include="System.Management.Instrumentation\InstrumentationType.cs" />\r
+    <Compile Include="System.Management.Instrumentation\InstrumentedAttribute.cs" />\r
+    <Compile Include="System.Management.Instrumentation\ManagedNameAttribute.cs" />\r
+    <Compile Include="System.Management.Instrumentation\ManagementInstaller.cs" />\r
+    <Compile Include="System.Management\AuthenticationLevel.cs" />\r
+    <Compile Include="System.Management\CimType.cs" />\r
+    <Compile Include="System.Management\CodeLanguage.cs" />\r
+    <Compile Include="System.Management\ComparisonSettings.cs" />\r
+    <Compile Include="System.Management\CompletedEventArgs.cs" />\r
+    <Compile Include="System.Management\CompletedEventHandler.cs" />\r
+    <Compile Include="System.Management\ConnectionOptions.cs" />\r
+    <Compile Include="System.Management\DeleteOptions.cs" />\r
+    <Compile Include="System.Management\EnumerationOptions.cs" />\r
+    <Compile Include="System.Management\EventArrivedEventArgs.cs" />\r
+    <Compile Include="System.Management\EventArrivedEventHandler.cs" />\r
+    <Compile Include="System.Management\EventQuery.cs" />\r
+    <Compile Include="System.Management\EventWatcherOptions.cs" />\r
+    <Compile Include="System.Management\ImpersonationLevel.cs" />\r
+    <Compile Include="System.Management\InvokeMethodOptions.cs" />\r
+    <Compile Include="System.Management\ManagementBaseObject.cs" />\r
+    <Compile Include="System.Management\ManagementClass.cs" />\r
+    <Compile Include="System.Management\ManagementDateTimeConverter.cs" />\r
+    <Compile Include="System.Management\ManagementEventArgs.cs" />\r
+    <Compile Include="System.Management\ManagementEventWatcher.cs" />\r
+    <Compile Include="System.Management\ManagementException.cs" />\r
+    <Compile Include="System.Management\ManagementNamedValueCollection.cs" />\r
+    <Compile Include="System.Management\ManagementObject.cs" />\r
+    <Compile Include="System.Management\ManagementObjectCollection.cs" />\r
+    <Compile Include="System.Management\ManagementObjectSearcher.cs" />\r
+    <Compile Include="System.Management\ManagementOperationObserver.cs" />\r
+    <Compile Include="System.Management\ManagementOptions.cs" />\r
+    <Compile Include="System.Management\ManagementPath.cs" />\r
+    <Compile Include="System.Management\ManagementQuery.cs" />\r
+    <Compile Include="System.Management\ManagementScope.cs" />\r
+    <Compile Include="System.Management\ManagementStatus.cs" />\r
+    <Compile Include="System.Management\MethodData.cs" />\r
+    <Compile Include="System.Management\MethodDataCollection.cs" />\r
+    <Compile Include="System.Management\ObjectGetOptions.cs" />\r
+    <Compile Include="System.Management\ObjectPutEventArgs.cs" />\r
+    <Compile Include="System.Management\ObjectPutEventHandler.cs" />\r
+    <Compile Include="System.Management\ObjectQuery.cs" />\r
+    <Compile Include="System.Management\ObjectReadyEventArgs.cs" />\r
+    <Compile Include="System.Management\ObjectReadyEventHandler.cs" />\r
+    <Compile Include="System.Management\ProgressEventArgs.cs" />\r
+    <Compile Include="System.Management\ProgressEventHandler.cs" />\r
+    <Compile Include="System.Management\PropertyData.cs" />\r
+    <Compile Include="System.Management\PropertyDataCollection.cs" />\r
+    <Compile Include="System.Management\PutOptions.cs" />\r
+    <Compile Include="System.Management\PutType.cs" />\r
+    <Compile Include="System.Management\QualifierData.cs" />\r
+    <Compile Include="System.Management\QualifierDataCollection.cs" />\r
+    <Compile Include="System.Management\RelatedObjectQuery.cs" />\r
+    <Compile Include="System.Management\RelationshipQuery.cs" />\r
+    <Compile Include="System.Management\SelectQuery.cs" />\r
+    <Compile Include="System.Management\StoppedEventArgs.cs" />\r
+    <Compile Include="System.Management\StoppedEventHandler.cs" />\r
+    <Compile Include="System.Management\TextFormat.cs" />\r
+    <Compile Include="System.Management\WqlEventQuery.cs" />\r
+    <Compile Include="System.Management\WqlObjectQuery.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>\r
+      xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D\r
+  </PostBuildEvent>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.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.Configuration.Install.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Configuration.Install.dll</HintPath>
-    </Reference>
-\r
+    <ProjectReference Include="..\corlib\corlib-net_4_5.csproj">\r
+      <Project>{07C1F58B-9E99-47F8-A847-79EDA5157DA8}</Project>\r
+      <Name>corlib\corlib-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_4_5-2.csproj">\r
+      <Project>{38FCD731-0E11-46F7-A31B-DCBE853AD8D7}</Project>\r
+      <Name>System\System-net_4_5-2</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Configuration.Install\System.Configuration.Install-net_4_5.csproj">\r
+      <Project>{D413E89D-CE81-4766-BBC1-AC17A3FD5C95}</Project>\r
+      <Name>System.Configuration.Install\System.Configuration.Install-net_4_5</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>