diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-03-28 20:29:28 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-03-28 20:29:28 +0300 |
commit | 2f66873ab2a10034b281dc2229811421786f3434 (patch) | |
tree | ea1a479870581eafeb782bf3ed96a7386f0064a6 /mcs/class/System.Web.Http.WebHost | |
parent | 753cc874f640f8734908ac8d1311b57b6613acd2 (diff) |
[msvc] Update csproj files (#7811)
* [msvc] Update csproj files
* [msvc] Delete old net_4_x.csproj and xbuild_12.csproj files
Diffstat (limited to 'mcs/class/System.Web.Http.WebHost')
-rw-r--r-- | mcs/class/System.Web.Http.WebHost/System.Web.Http.WebHost.csproj (renamed from mcs/class/System.Web.Http.WebHost/System.Web.Http.WebHost-net_4_x.csproj) | 159 |
1 files changed, 43 insertions, 116 deletions
diff --git a/mcs/class/System.Web.Http.WebHost/System.Web.Http.WebHost-net_4_x.csproj b/mcs/class/System.Web.Http.WebHost/System.Web.Http.WebHost.csproj index 1fc9598e2d6..572a92f70fa 100644 --- a/mcs/class/System.Web.Http.WebHost/System.Web.Http.WebHost-net_4_x.csproj +++ b/mcs/class/System.Web.Http.WebHost/System.Web.Http.WebHost.csproj @@ -1,61 +1,50 @@ -<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<!-- WARNING: this file is autogenerated, don't modify it. Edit the .sources file of the corresponding assembly instead if you want to add/remove C# source files. -->
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{2AF7E697-07BA-439E-89BF-076AEE4AE04C}</ProjectGuid>
+ <ProjectGuid>{1A834697-A8E8-47CE-B54E-992068B9F4EA}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699</NoWarn>
<LangVersion>latest</LangVersion>
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Windows_NT'">win32</HostPlatform>
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">darwin</HostPlatform>
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix'">linux</HostPlatform>
- <OutputPath>./../../class/lib/net_4_x-$(HostPlatform)</OutputPath>
- <IntermediateOutputPath>obj-net_4_x-$(HostPlatform)</IntermediateOutputPath>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<NoStdLib>True</NoStdLib>
-
-
<NoConfig>True</NoConfig>
-
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>
- </RootNamespace>
<AssemblyName>System.Web.Http.WebHost</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
<AssemblyOriginatorKeyFile>../winfx.pub</AssemblyOriginatorKeyFile>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
+ is a problem to compile the Mono mscorlib.dll -->
+ <PropertyGroup>
+ <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Platform)' == 'net_4_x' ">
+ <OutputPath>./../../class/lib/net_4_x-$(HostPlatform)</OutputPath>
+ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-net_4_x-$(HostPlatform)</IntermediateOutputPath>
+ <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;ASPNETMVC</DefineConstants>
+ </PropertyGroup>
+ <!-- @ALL_PROFILE_PROPERTIES@ -->
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
- <NoWarn>1699</NoWarn>
<Optimize>false</Optimize>
- <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;ASPNETMVC</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
+ <!-- TRACE is set only for Debug configuration, so inherit from platform-specific value -->
+ <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>pdbonly</DebugType>
- <NoWarn>1699</NoWarn>
<Optimize>true</Optimize>
- <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS;ASPNETMVC</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
- Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
- is a problem to compile the Mono mscorlib.dll -->
- <PropertyGroup>
- <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <ItemGroup>
+ <!-- @COMMON_SOURCES@ -->
+ <ItemGroup Condition=" '$(Platform)' == 'net_4_x' ">
<Compile Include="..\..\..\external\aspnetwebstack\src\Common\CommonWebApiResources.Designer.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\Common\DictionaryExtensions.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\Common\Error.cs" />
@@ -84,90 +73,28 @@ <Compile Include="..\..\..\external\aspnetwebstack\src\System.Web.Http.WebHost\TaskWrapperAsyncResult.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\System.Web.Http.WebHost\WebHostAssembliesResolver.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\System.Web.Http.WebHost\WebHostHttpControllerTypeResolver.cs" />
- <Compile Include="..\..\..\external\aspnetwebstack\src\TransparentCommonAssemblyInfo.cs" />
</ItemGroup>
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <PropertyGroup>
- <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> - - </PreBuildEvent>
- <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
-
- </PreBuildEvent>
- <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> - - </PostBuildEvent>
- <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
-
- </PostBuildEvent>
- </PropertyGroup>
- <ItemGroup>
- <ProjectReference Include="../System.Core/System.Core-net_4_x.csproj">
- <Project>{359142A1-D80F-401E-AA64-7167C9317649}</Project>
- <Name>System.Core-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System/System-net_4_x.csproj">
- <Project>{2762E921-91A8-4C87-91E9-BA628013F753}</Project>
- <Name>System-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.XML/System.Xml-net_4_x.csproj">
- <Project>{87FD2F0F-5222-4AE6-BD63-2D4975E11E5B}</Project>
- <Name>System.Xml-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Configuration/System.Configuration-net_4_x.csproj">
- <Project>{D5CDC09C-F19A-4811-A6C8-70F51CBFB644}</Project>
- <Name>System.Configuration-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Net.Http/System.Net.Http-net_4_x.csproj">
- <Project>{F1636C0A-FC68-4362-918F-9CCC789FED13}</Project>
- <Name>System.Net.Http-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Runtime.Serialization/System.Runtime.Serialization-net_4_x.csproj">
- <Project>{D845AD9D-3CCB-49CB-9543-028678E94938}</Project>
- <Name>System.Runtime.Serialization-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.ServiceModel/System.ServiceModel-net_4_x.csproj">
- <Project>{FE596C31-BDA2-4850-8F79-F8F4DF70F44A}</Project>
- <Name>System.ServiceModel-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.IdentityModel/System.IdentityModel-net_4_x.csproj">
- <Project>{FA718FA9-32C2-4BAC-BAAB-DB3A7A326D4C}</Project>
- <Name>System.IdentityModel-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Web.Http/System.Web.Http-net_4_x.csproj">
- <Project>{6DDAE502-A602-410C-B182-C18D5100DDB0}</Project>
- <Name>System.Web.Http-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Net.Http.Formatting/System.Net.Http.Formatting-net_4_x.csproj">
- <Project>{5883D056-B748-4D13-A7E3-2D2756CDC6BC}</Project>
- <Name>System.Net.Http.Formatting-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Web.Routing/System.Web.Routing-net_4_x.csproj">
- <Project>{EBD67AE3-F249-4768-A143-6B2F9E56BC39}</Project>
- <Name>System.Web.Routing-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../System.Web/System.Web-net_4_x.csproj">
- <Project>{9DB806CB-B828-49B7-BAE2-2E52402CB4DC}</Project>
- <Name>System.Web-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../Microsoft.Web.Infrastructure/Microsoft.Web.Infrastructure-net_4_x.csproj">
- <Project>{CD409902-9DA0-48A3-B360-C09060168CB5}</Project>
- <Name>Microsoft.Web.Infrastructure-net_4_x</Name>
- </ProjectReference>
- <ProjectReference Include="../corlib/corlib-net_4_x.csproj">
- <Project>{2CA6026B-2DC8-4C4C-A12C-1E8234049DB7}</Project>
- <Name>corlib-net_4_x</Name>
- </ProjectReference>
+ <Compile Include="..\..\..\external\aspnetwebstack\src\TransparentCommonAssemblyInfo.cs" />
</ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
+ <!-- @ALL_SOURCES@ -->
+ <!-- @COMMON_PROJECT_REFERENCES@ -->
+ <ItemGroup Condition=" '$(Platform)' == 'net_4_x' ">
+ <ProjectReference Include="../System.Core/System.Core.csproj" />
+ <ProjectReference Include="../System/System.csproj" />
+ <ProjectReference Include="../System.XML/System.Xml.csproj" />
+ <ProjectReference Include="../System.Configuration/System.Configuration.csproj" />
+ <ProjectReference Include="../System.Net.Http/System.Net.Http.csproj" />
+ <ProjectReference Include="../System.Runtime.Serialization/System.Runtime.Serialization.csproj" />
+ <ProjectReference Include="../System.ServiceModel/System.ServiceModel.csproj" />
+ <ProjectReference Include="../System.IdentityModel/System.IdentityModel.csproj" />
+ <ProjectReference Include="../System.Web.Http/System.Web.Http.csproj" />
+ <ProjectReference Include="../System.Net.Http.Formatting/System.Net.Http.Formatting.csproj" />
+ <ProjectReference Include="../System.Web.Routing/System.Web.Routing.csproj" />
+ <ProjectReference Include="../System.Web/System.Web.csproj" />
+ <ProjectReference Include="../Microsoft.Web.Infrastructure/Microsoft.Web.Infrastructure.csproj" />
+ <ProjectReference Include="../corlib/corlib.csproj" />
</ItemGroup>
- <ItemGroup>
+ <!-- @ALL_REFERENCES@ -->
+ <ItemGroup Condition=" '$(Platform)' == 'net_4_x' ">
<EmbeddedResource Include="../../../external/aspnetwebstack/src/Common/CommonWebApiResources.resx">
<LogicalName>System.Web.Http.WebHost.Properties.CommonWebApiResources.resources</LogicalName>
</EmbeddedResource>
@@ -175,5 +102,5 @@ <LogicalName>System.Web.Http.WebHost.Properties.SRResources.resources</LogicalName>
</EmbeddedResource>
</ItemGroup>
-</Project>
- + <!-- @ALL_RESOURCES@ -->
+</Project>
\ No newline at end of file |