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.Razor | |
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.Razor')
-rw-r--r-- | mcs/class/System.Web.Razor/System.Web.Razor.csproj (renamed from mcs/class/System.Web.Razor/System.Web.Razor-net_4_x.csproj) | 104 |
1 files changed, 32 insertions, 72 deletions
diff --git a/mcs/class/System.Web.Razor/System.Web.Razor-net_4_x.csproj b/mcs/class/System.Web.Razor/System.Web.Razor.csproj index f1c7e7a1770..93f53e8ab95 100644 --- a/mcs/class/System.Web.Razor/System.Web.Razor-net_4_x.csproj +++ b/mcs/class/System.Web.Razor/System.Web.Razor.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>{11928A85-4C26-4258-AC86-2AFB0A69DED2}</ProjectGuid>
+ <ProjectGuid>{8E52C399-8506-4FDD-80C2-8C12B41D636A}</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.Razor</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;ASPNETWEBPAGES</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;ASPNETWEBPAGES</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;ASPNETWEBPAGES</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\CommonAssemblyInfo.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\CommonResources.Designer.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\ExceptionHelper.cs" />
@@ -205,46 +194,17 @@ <Compile Include="..\..\..\external\aspnetwebstack\src\System.Web.Razor\VBRazorCodeLanguage.cs" />
<Compile Include="..\..\..\external\aspnetwebstack\src\TransparentCommonAssemblyInfo.cs" />
<Compile Include="..\..\build\common\Consts.cs" />
- <Compile Include="Assembly\AssemblyInfo.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/System-net_4_x.csproj">
- <Project>{2762E921-91A8-4C87-91E9-BA628013F753}</Project>
- <Name>System-net_4_x</Name>
- </ProjectReference>
- <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="../corlib/corlib-net_4_x.csproj">
- <Project>{2CA6026B-2DC8-4C4C-A12C-1E8234049DB7}</Project>
- <Name>corlib-net_4_x</Name>
- </ProjectReference>
+ <Compile Include="Assembly\AssemblyInfo.cs" />
</ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
+ <!-- @ALL_SOURCES@ -->
+ <!-- @COMMON_PROJECT_REFERENCES@ -->
+ <ItemGroup Condition=" '$(Platform)' == 'net_4_x' ">
+ <ProjectReference Include="../System/System.csproj" />
+ <ProjectReference Include="../System.Core/System.Core.csproj" />
+ <ProjectReference Include="../corlib/corlib.csproj" />
</ItemGroup>
- <ItemGroup>
+ <!-- @ALL_REFERENCES@ -->
+ <ItemGroup Condition=" '$(Platform)' == 'net_4_x' ">
<EmbeddedResource Include="../../../external/aspnetwebstack/src/CommonResources.resx">
<LogicalName>System.Web.Razor.Common.CommonResources.resources</LogicalName>
</EmbeddedResource>
@@ -252,5 +212,5 @@ <LogicalName>System.Web.Razor.Resources.RazorResources.resources</LogicalName>
</EmbeddedResource>
</ItemGroup>
-</Project>
- + <!-- @ALL_RESOURCES@ -->
+</Project>
\ No newline at end of file |