Merge pull request #656 from LogosBible/collection_lock
[mono.git] / mcs / class / System.ServiceProcess / System.ServiceProcess-net_2_0.csproj
index 5a48aa5ba879c148bd63e50daa6331c5dc035fc1..a85a054c230c703cff3988a97882a6a613e0e87b 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>{523116C5-1B31-443C-B431-F716517CD061}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,618</NoWarn>\r
-    <OutputPath>./../../class/lib/net_2_0</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\System.ServiceProcess-net_2_0</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.ServiceProcess</AssemblyName>\r
     <TargetFrameworkVersion>v2.0</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,618</NoWarn>\r
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_2_0</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
-    <PlatformTarget>AnyCPU</PlatformTarget>  \r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699,618</NoWarn>\r
     <Optimize>true</Optimize>\r
     <DefineConstants>NET_1_1;NET_2_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_2_0</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="Assembly\AssemblyInfo.cs" />
-   <Compile Include="..\..\build\common\Consts.cs" />
-   <Compile Include="..\..\build\common\Locale.cs" />
-   <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
-   <Compile Include="System.ServiceProcess\PowerBroadcastStatus.cs" />
-   <Compile Include="System.ServiceProcess\ServiceAccount.cs" />
-   <Compile Include="System.ServiceProcess\ServiceController.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerImpl.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerPermissionAccess.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerStatus.cs" />
-   <Compile Include="System.ServiceProcess\ServiceInstaller.cs" />
-   <Compile Include="System.ServiceProcess\ServiceProcessInstaller.cs" />
-   <Compile Include="System.ServiceProcess\ServiceStartMode.cs" />
-   <Compile Include="System.ServiceProcess\ServiceType.cs" />
-   <Compile Include="System.ServiceProcess\ServiceBase.cs" />
-   <Compile Include="System.ServiceProcess\TimeoutException.cs" />
-   <Compile Include="System.ServiceProcess\ServiceProcessDescriptionAttribute.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerPermission.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerPermissionAttribute.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerPermissionEntry.cs" />
-   <Compile Include="System.ServiceProcess\ServiceControllerPermissionEntryCollection.cs" />
-   <Compile Include="System.ServiceProcess\SessionChangeDescription.cs" />
-   <Compile Include="System.ServiceProcess\SessionChangeReason.cs" />
-   <Compile Include="System.ServiceProcess\UnixServiceController.cs" />
-   <Compile Include="System.ServiceProcess\Win32ServiceController.cs" />
-   <Compile Include="System.ServiceProcess.Design\ServiceInstallerDialog.cs" />
-   <Compile Include="System.ServiceProcess.Design\ServiceInstallerDialogResult.cs" />
-   <Compile Include="System.ServiceProcess.Design\ServiceNameConverter.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.ServiceProcess.Design\ServiceInstallerDialog.cs" />\r
+    <Compile Include="System.ServiceProcess.Design\ServiceInstallerDialogResult.cs" />\r
+    <Compile Include="System.ServiceProcess.Design\ServiceNameConverter.cs" />\r
+    <Compile Include="System.ServiceProcess\PowerBroadcastStatus.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceAccount.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceBase.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceController.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerImpl.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerPermission.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerPermissionAccess.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerPermissionAttribute.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerPermissionEntry.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerPermissionEntryCollection.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceControllerStatus.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceInstaller.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceProcessDescriptionAttribute.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceProcessInstaller.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceStartMode.cs" />\r
+    <Compile Include="System.ServiceProcess\ServiceType.cs" />\r
+    <Compile Include="System.ServiceProcess\SessionChangeDescription.cs" />\r
+    <Compile Include="System.ServiceProcess\SessionChangeReason.cs" />\r
+    <Compile Include="System.ServiceProcess\TimeoutException.cs" />\r
+    <Compile Include="System.ServiceProcess\UnixServiceController.cs" />\r
+    <Compile Include="System.ServiceProcess\Win32ServiceController.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_2_0\ /Y /R /D\r
+  </PostBuildEvent>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <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>
-    <Reference Include="System.Windows.Forms.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Windows.Forms.dll</HintPath>
-    </Reference>
-\r
+    <ProjectReference Include="..\corlib\corlib-net_2_0.csproj">\r
+      <Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>\r
+      <Name>corlib\corlib-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_2_0-2.csproj">\r
+      <Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>\r
+      <Name>System\System-net_2_0-2</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Configuration.Install\System.Configuration.Install-net_2_0.csproj">\r
+      <Project>{5CE6E3F2-E63D-4C2B-9CCE-6446021A1AF5}</Project>\r
+      <Name>System.Configuration.Install\System.Configuration.Install-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\Managed.Windows.Forms\System.Windows.Forms-net_2_0.csproj">\r
+      <Project>{19413C30-6E39-4AAC-B9D1-FC88082E74C8}</Project>\r
+      <Name>Managed.Windows.Forms\System.Windows.Forms-net_2_0</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>