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/Mono.Posix | |
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/Mono.Posix')
-rw-r--r-- | mcs/class/Mono.Posix/Mono.Posix.csproj (renamed from mcs/class/Mono.Posix/Mono.Posix-net_4_x.csproj) | 103 |
1 files changed, 39 insertions, 64 deletions
diff --git a/mcs/class/Mono.Posix/Mono.Posix-net_4_x.csproj b/mcs/class/Mono.Posix/Mono.Posix.csproj index ca7d02bc265..51a584fc48c 100644 --- a/mcs/class/Mono.Posix/Mono.Posix-net_4_x.csproj +++ b/mcs/class/Mono.Posix/Mono.Posix.csproj @@ -1,57 +1,56 @@ -<?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>{66DBB049-785B-4C2E-9EF6-C9E163F7DDD1}</ProjectGuid>
+ <ProjectGuid>{CDCF8A59-1328-481A-8B0B-95B426F99743}</ProjectGuid>
<OutputType>Library</OutputType>
<NoWarn>1699,618,612</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>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>
- </RootNamespace>
<AssemblyName>Mono.Posix</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../mono.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</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Platform)' == 'monodroid' ">
+ <OutputPath>./../../class/lib/monodroid</OutputPath>
+ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-monodroid</IntermediateOutputPath>
+ <DefineConstants>NET_1_1;NET_2_0;NET_2_1;NET_3_5;NET_4_0;NET_4_5;MONO;MOBILE;MOBILE_LEGACY;MOBILE_DYNAMIC;MONODROID;ANDROID</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Platform)' == 'xammac_net_4_5' ">
+ <OutputPath>./../../class/lib/xammac_net_4_5-$(HostPlatform)</OutputPath>
+ <IntermediateOutputPath>./../../class/obj/$(AssemblyName)-xammac_net_4_5-$(HostPlatform)</IntermediateOutputPath>
+ <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;FEATURE_INTERCEPTABLE_THREADPOOL_CALLBACK;NO_SYSTEM_DRAWING_DEPENDENCY;NO_WINFORMS_DEPENDENCY;NO_SYSTEM_WEB_DEPENDENCY;XAMMAC_4_5;XAMARIN_MODERN</DefineConstants>
+ </PropertyGroup>
+ <!-- @ALL_PROFILE_PROPERTIES@ -->
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
- <NoWarn>1699,618,612</NoWarn>
<Optimize>false</Optimize>
- <DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS</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,618,612</NoWarn>
<Optimize>true</Optimize>
- <DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM;MULTIPLEX_OS</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>
@@ -111,40 +110,16 @@ <Compile Include=".\Mono.Unix\UnixSignal.cs" />
<Compile Include=".\Mono.Unix\UnixStream.cs" />
<Compile Include=".\Mono.Unix\UnixSymbolicLinkInfo.cs" />
- <Compile Include=".\Mono.Unix\UnixUserInfo.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="../corlib/corlib-net_4_x.csproj">
- <Project>{2CA6026B-2DC8-4C4C-A12C-1E8234049DB7}</Project>
- <Name>corlib-net_4_x</Name>
- </ProjectReference>
+ <Compile Include=".\Mono.Unix\UnixUserInfo.cs" />
+ </ItemGroup>
+ <ItemGroup Condition=" '$(Platform)' == 'monodroid' ">
+ <Compile Include=".\Mono.Unix.Android\AndroidUtils.cs" />
</ItemGroup>
+ <!-- @ALL_SOURCES@ -->
<ItemGroup>
- <Folder Include="Properties\" />
+ <ProjectReference Include="../System/System.csproj" />
+ <ProjectReference Include="../corlib/corlib.csproj" />
</ItemGroup>
-</Project>
- + <!-- @ALL_REFERENCES@ -->
+ <!-- @ALL_RESOURCES@ -->
+</Project>
\ No newline at end of file |