Merge pull request #600 from tr8dr/master
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting-net_4_5.csproj
index 811d5b9b54e05e0152295c475eb8b76df295170d..a73b46eb211ebac8f05de38650efb0d4f5a01c67 100644 (file)
@@ -1,34 +1,32 @@
 <?xml version="1.0" encoding="utf-8"?>\r
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <PropertyGroup>\r
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
     <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>{7E62A1A2-DEED-44AD-9FF2-178065ED8A44}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_5</OutputPath>\r
-    <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\System.Runtime.Remoting-net_4_5</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>mscorlib</RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.Runtime.Remoting</AssemblyName>\r
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
-    <StartupObject>\r
-    </StartupObject>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</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
+    <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
     <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="Assembly\AssemblyInfo.cs" />
-   <Compile Include="..\..\build\common\Consts.cs" />
-   <Compile Include="..\..\build\common\Locale.cs" />
-   <Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\BinaryClientFormatterSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\BinaryClientFormatterSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\BinaryCore.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\BinaryServerFormatterSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\BinaryServerFormatterSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\ChannelCore.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\CommonTransportKeys.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\IAuthorizeRemotingConnection.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\RemotingThreadPool.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SoapClientFormatterSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SoapCore.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SoapServerFormatterSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SoapClientFormatterSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SoapServerFormatterSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SoapMessageFormatter.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels\SocketCachePolicy.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc\IpcChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc\IpcClientChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc\IpcServerChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcTransport.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcChannelHelper.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcClientChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcServerChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeClient.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeException.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeHelper.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeListener.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeSocket.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeStream.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\IpcChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\IpcClientChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\IpcServerChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\UnixChannelLoader.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpClientChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpMessageIO.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpServerChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpServerTransportSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpClientTransportSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpClientTransportSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpConnectionPool.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\AggregateDictionary.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpClientChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpClientTransportSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpClientTransportSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpRemotingHandler.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpRemotingHandlerFactory.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpServerChannel.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\HttpServerTransportSink.cs" />
-   <Compile Include="System.Runtime.Remoting.Channels.Http\RemotingHttpListener.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\MetaData.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\MetaDataExporter.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\MetaDataCodeGenerator.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\SdlChannelSinkProvider.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\ServiceType.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\SUDSParserException.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\SdlChannelSink.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\SdlType.cs" />
-   <Compile Include="System.Runtime.Remoting.MetadataServices\SUDSGeneratorException.cs" />
-   <Compile Include="System.Runtime.Remoting.Services\RemotingClientProxy.cs" />
-   <Compile Include="System.Runtime.Remoting.Services\RemotingService.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.Runtime.Remoting.Channels.Http\AggregateDictionary.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpClientChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpClientTransportSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpClientTransportSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpRemotingHandler.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpRemotingHandlerFactory.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpServerChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\HttpServerTransportSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Http\RemotingHttpListener.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\IpcChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\IpcClientChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\IpcServerChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Unix\UnixChannelLoader.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcChannelHelper.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcClientChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcServerChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\IpcTransport.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeClient.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeException.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeHelper.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeListener.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeSocket.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc.Win32\NamedPipeStream.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc\IpcChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc\IpcClientChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Ipc\IpcServerChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpClientChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpClientTransportSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpClientTransportSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpConnectionPool.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpMessageIO.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpServerChannel.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels.Tcp\TcpServerTransportSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\BinaryClientFormatterSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\BinaryClientFormatterSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\BinaryCore.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\BinaryServerFormatterSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\BinaryServerFormatterSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\ChannelCore.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\CommonTransportKeys.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\IAuthorizeRemotingConnection.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\RemotingThreadPool.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SoapClientFormatterSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SoapClientFormatterSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SoapCore.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SoapMessageFormatter.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SoapServerFormatterSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SoapServerFormatterSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Channels\SocketCachePolicy.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\MetaData.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\MetaDataCodeGenerator.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\MetaDataExporter.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\SdlChannelSink.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\SdlChannelSinkProvider.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\SdlType.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\ServiceType.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\SUDSGeneratorException.cs" />\r
+    <Compile Include="System.Runtime.Remoting.MetadataServices\SUDSParserException.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Services\RemotingClientProxy.cs" />\r
+    <Compile Include="System.Runtime.Remoting.Services\RemotingService.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
-  </PropertyGroup>\r
-  <ItemGroup>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Web.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.Web.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Xml.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.Xml.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.Serialization.Formatters.Soap.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.Runtime.Serialization.Formatters.Soap.dll</HintPath>
-    </Reference>
-  </ItemGroup>
+    <PreBuildEvent>\r
 \r
+    </PreBuildEvent>\r
+    <PostBuildEvent>\r
+      xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_5\ /Y /R /D\r
+  </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <ItemGroup>\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.Web\System.Web-net_4_5-1.csproj">\r
+      <Project>{6CC04C44-1378-4502-B134-FE6D46B1A4B4}</Project>\r
+      <Name>System.Web\System.Web-net_4_5-1</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.XML\System.Xml-net_4_5-1.csproj">\r
+      <Project>{4ED6CCE8-8E8A-4D82-8BCA-3EA4D4203AA4}</Project>\r
+      <Name>System.XML\System.Xml-net_4_5-1</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Runtime.Serialization.Formatters.Soap\System.Runtime.Serialization.Formatters.Soap-net_4_5.csproj">\r
+      <Project>{95593889-8509-4FFC-8EDE-C673FDA39FC8}</Project>\r
+      <Name>System.Runtime.Serialization.Formatters.Soap\System.Runtime.Serialization.Formatters.Soap-net_4_5</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>