| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <!-- Include common build properties -->
- <!-- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> -->
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
- <!-- Compilation options -->
- <PropertyGroup>
- <AvailablePlatforms>x64,x86,arm,armel,arm64</AvailablePlatforms>
- <Configuration Condition=" '$(Configuration)' == '' ">$(BuildType)</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">$(BuildArch)</Platform>
- <Platform Condition=" '$(Platform)' == 'armel' ">arm</Platform>
- <ProjectGuid>{DD18B4BA-3B49-437B-9E34-41EF8A640CE0}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <!-- This prevents the default MsBuild targets from referencing System.Core.dll -->
- <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
- <!-- These prevent the default MsBuild targets from referencing System.dll and mscorlib.dll -->
- <ExcludeMscorlibFacade>true</ExcludeMscorlibFacade>
- <NoStdLib>true</NoStdLib>
- <NoCompilerStandardLib>true</NoCompilerStandardLib>
- <SubsystemVersion>6.00</SubsystemVersion>
- <UTF8OutPut>true</UTF8OutPut>
- <HighEntropyVA>true</HighEntropyVA>
- <ErrorReport>prompt</ErrorReport>
- <CLSCompliant>true</CLSCompliant>
- <WarningLevel>4</WarningLevel>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningsNotAsErrors>$(WarningsNotAsErrors);618</WarningsNotAsErrors>
- <NoWarn>649,3019,414,169,3015,591,1573,1591,0419</NoWarn>
- <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
- <SignAssembly>true</SignAssembly>
- <DelaySign>true</DelaySign>
- <DefineConstants>$(DefineConstants);_USE_NLS_PLUS_TABLE;CODE_ANALYSIS_BASELINE;netcoreapp</DefineConstants>
- <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two properties to any folder that exists to skip
- the GenerateReferenceAssemblyPaths task (not target) and to prevent it from outputting a warning (MSB3644). -->
- <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation</_TargetFrameworkDirectories>
- <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths>
- <SkipCommonResourcesIncludes>true</SkipCommonResourcesIncludes>
- <LangVersion>latest</LangVersion>
- <!--
- <DocumentationFile>$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
- -->
- </PropertyGroup>
- <!-- Platform specific properties -->
- <PropertyGroup Condition="'$(Platform)' == 'x64'">
- <PlatformTarget>x64</PlatformTarget>
- <Prefer32Bit>false</Prefer32Bit>
- <BaseAddress>0x180000000</BaseAddress>
- <DefineConstants>BIT64;AMD64;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)' == 'x86'">
- <PlatformTarget>x86</PlatformTarget>
- <BaseAddress>0x10000000</BaseAddress>
- <DefineConstants>BIT32;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)' == 'arm'">
- <PlatformTarget>arm</PlatformTarget>
- <DefineConstants>BIT32;ARM;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)' == 'arm64'">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DefineConstants>BIT64;ARM64;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <!-- Configuration specific properties -->
- <PropertyGroup Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Checked'">
- <DebugSymbols>true</DebugSymbols>
- <Optimize Condition="'$(Optimize)' == '' and '$(Configuration)' == 'Debug'">false</Optimize>
- <Optimize Condition="'$(Optimize)' == '' and '$(Configuration)' == 'Checked'">true</Optimize>
- <DebugType Condition="'$(DebugType)' == ''">full</DebugType>
- <DefineConstants>_LOGGING;DEBUG;TRACE;$(DefineConstants)</DefineConstants>
- <DefineConstants Condition="'$(Platform)' == 'x86' or '$(Platform)' == 'x64'">CODE_ANALYSIS;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)' == 'Release'">
- <DebugSymbols>true</DebugSymbols>
- <Optimize Condition="'$(Optimize)' == ''">true</Optimize>
- <DebugType Condition="'$(DebugType)' == ''">pdbOnly</DebugType>
- <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <!-- Make portable PDBs on Unix -->
- <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'">
- <DebugType>portable</DebugType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(TargetsOSX)' == 'true'">
- <DefineConstants>PLATFORM_OSX;$(DefineConstants)</DefineConstants>
- </PropertyGroup>
- <!-- Assembly attributes -->
- <PropertyGroup>
- <AssemblyName>System.Private.CoreLib</AssemblyName>
- <AssemblyVersion>4.0.0.0</AssemblyVersion>
- <MajorVersion>4</MajorVersion>
- <MinorVersion>6</MinorVersion>
- <ExcludeAssemblyInfoPartialFile>true</ExcludeAssemblyInfoPartialFile>
- </PropertyGroup>
- <!--
- Helper Paths
- -->
- <PropertyGroup>
- <CommonPath>$(MSBuildThisFileDirectory)Common</CommonPath>
- <BclSourcesRoot>$(MSBuildThisFileDirectory)src</BclSourcesRoot>
- <MscorlibDir>$(MSBuildThisFileDirectory)</MscorlibDir>
- <NlpObjDir>$(BclSourcesRoot)\System\Globalization\Tables</NlpObjDir>
- </PropertyGroup>
- <!-- Sources -->
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Resources\SR.cs" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Stubs.cs" />
- <Compile Include="Internal.Runtime.Augments\RuntimeThread.cs" />
- <Compile Include="Microsoft.Win32\UnsafeNativeMethods.cs" />
- <Compile Include="Microsoft.Win32.SafeHandles\SafeWaitHandle.Unix.cs" />
- <Compile Include="System\AppContext.cs" />
- <Compile Include="System\Activator.cs" />
- <Compile Include="System\Array.cs" />
- <Compile Include="System\Attribute.cs" />
- <Compile Include="System\DefaultBinder.cs" />
- <Compile Include="System\DateTime.cs" />
- <Compile Include="System\Environment.cs" />
- <Compile Include="System\Exception.cs" />
- <Compile Include="System\Object.cs" />
- <Compile Include="System\Math.cs" />
- <Compile Include="System\MathF.cs" />
- <Compile Include="System\MissingMemberException.cs" />
- <Compile Include="System\ModuleHandle.cs" />
- <Compile Include="System\NotImplemented.cs" />
- <Compile Include="System\RuntimeFieldHandle.cs" />
- <Compile Include="System\RuntimeMethodHandle.cs" />
- <Compile Include="System\RuntimeTypeHandle.cs" />
- <Compile Include="System\Type.cs" />
- <Compile Include="System.Globalization\GlobalizationMode.cs" />
- <Compile Include="System.Globalization\CultureData.cs" />
- <Compile Include="System.Globalization\CultureInfo.cs" />
- <Compile Include="System.Collections.Generic\Comparer.cs" />
- <Compile Include="System.Collections.Generic\EqualityComparer.cs" />
- <Compile Include="System.Diagnostics\Debugger.cs" />
- <Compile Include="System.Diagnostics\StackFrame.cs" />
- <Compile Include="System.Diagnostics\StackTrace.cs" />
- <Compile Include="System.Diagnostics.Contracts\Contract.cs" />
- <Compile Include="System.Diagnostics.Tracing\EventSource.cs" />
- <Compile Include="System.IO\Stream.cs" />
- <Compile Include="System.IO\FileLoadException.cs" />
- <Compile Include="System.Reflection\Assembly.cs" />
- <Compile Include="System.Reflection\AssemblyName.cs" />
- <Compile Include="System.Reflection\CustomAttributeExtensions.cs" />
- <Compile Include="System.Reflection\FieldInfo.cs" />
- <Compile Include="System.Reflection\MethodBase.cs" />
- <Compile Include="System.Reflection.Emit\Stubs.cs" />
- <Compile Include="System.Reflection.Metadata\AssemblyExtensions.cs" />
- <Compile Include="System.Resources\ResourceManager.cs" />
- <Compile Include="System.Runtime.CompilerServices\RuntimeHelpers.cs" />
- <Compile Include="System.Runtime.CompilerServices\RuntimeFeature.cs" />
- <Compile Include="System.Runtime.InteropServices\ComEventsHelper.cs" />
- <Compile Include="System.Runtime.InteropServices\CriticalHandle.cs" />
- <Compile Include="System.Runtime.InteropServices\InteropExtensions.cs" />
- <Compile Include="System.Runtime.InteropServices\Marshal.cs" />
- <Compile Include="System.Runtime.Loader\AssemblyLoadContext.cs" />
- <Compile Include="System.Threading\EventWaitHandle.cs" />
- <Compile Include="System.Threading\Interlocked.cs" />
- <Compile Include="System.Threading\Mutex.cs" />
- <Compile Include="System.Threading\Overlapped.cs" />
- <Compile Include="System.Threading\PreAllocatedOverlapped.cs" />
- <Compile Include="System.Threading\Semaphore.cs" />
- <Compile Include="System.Threading\SynchronizationContext.cs" />
- <Compile Include="System.Threading\Thread.cs" />
- <Compile Include="System.Threading\ThreadPool.cs" />
- <Compile Include="System.Threading\ThreadPoolBoundHandle.cs" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="temp\*.cs" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\build\common\SR.cs" />
- <Compile Include="..\corlib\coreclr\Math.CoreCLR.cs" />
- <Compile Include="..\corlib\coreclr\SorterArray.cs" />
- <Compile Include="..\corlib\corefx\DateTime.cs" />
- <Compile Include="..\corlib\corefx\SynchronizationContext.cs" />
- <Compile Include="..\corlib\corefx\RuntimeImports.cs" />
- <Compile Include="..\corlib\corert\ThreadPool.cs" />
- <Compile Include="..\corlib\ReferenceSources\Array.cs" />
- <Compile Include="..\corlib\ReferenceSources\Buffer.cs" />
- <Compile Include="..\corlib\ReferenceSources\JitHelpers.cs" />
- <Compile Include="..\corlib\ReferenceSources\String.cs" />
- <Compile Include="..\corlib\Mono\RuntimeStructs.cs" />
- <Compile Include="..\corlib\System\Array.cs" />
- <Compile Include="..\corlib\System\ArgIterator.cs" />
- <Compile Include="..\corlib\System\Delegate.cs" />
- <Compile Include="..\corlib\System\DelegateSerializationHolder.cs" />
- <Compile Include="..\corlib\System\EmptyArray.cs" />
- <Compile Include="..\corlib\System\MathF.mono.cs" />
- <Compile Include="..\corlib\System\MulticastDelegate.cs" />
- <Compile Include="..\corlib\System\RuntimeArgumentHandle.cs" />
- <Compile Include="..\corlib\System\ValueType.cs" />
- <Compile Include="..\corlib\System\WeakReference.cs" />
- <Compile Include="..\corlib\System\WeakReference_T.cs" />
- <Compile Include="..\corlib\System.Runtime.InteropServices\SafeHandle.cs" />
- <Compile Include="..\corlib\System.Runtime.CompilerServices\ConditionalWeakTable.cs" />
- <Compile Include="..\corlib\System.Runtime.CompilerServices\PreserveDependencyAttribute.cs" />
- <Compile Include="..\corlib\System.Runtime.CompilerServices\RuntimeHelpers.cs" />
- <Compile Include="..\corlib\System.Threading\Interlocked.cs" />
- <Compile Include="..\corlib\System.Threading\Monitor.cs" />
- <Compile Include="..\corlib\System.Threading\NativeEventCalls.cs" />
- <Compile Include="..\corlib\System.Threading\RegisteredWaitHandle.cs" />
- <Compile Include="..\corlib\System.Threading\Thread.cs" />
- <Compile Include="..\corlib\System.Threading\TimerCallback.cs" />
- <Compile Include="..\corlib\System.Threading\Volatile.cs" />
- <Compile Include="..\corlib\System.Threading\WaitHandle.cs" />
- <Compile Include="..\corlib\System.Runtime.InteropServices\GCHandle.cs" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\referencesource\mscorlib\system\buffer.cs" />
- <Compile Include="..\referencesource\mscorlib\system\exception.cs" />
- <Compile Include="..\referencesource\mscorlib\system\enum.cs" />
- <Compile Include="..\referencesource\mscorlib\system\gc.cs" />
- <Compile Include="..\referencesource\mscorlib\system\typeloadexception.cs" />
- <Compile Include="..\referencesource\mscorlib\system\typedreference.cs" />
- <Compile Include="..\referencesource\mscorlib\system\threading\monitor.cs" />
- <Compile Include="..\referencesource\mscorlib\system\threading\thread.cs" />
- <Compile Include="..\referencesource\mscorlib\system\threading\threadpool.cs" />
- <Compile Include="..\referencesource\mscorlib\system\threading\waithandle.cs" />
- <Compile Include="..\referencesource\mscorlib\system\runtime\interopservices\safehandle.cs" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\..\external\corert\src\System.Private.CoreLib\src\System\Array.cs" />
- <Compile Include="..\..\..\external\corert\src\System.Private.CoreLib\src\System\Collections\Generic\ArraySortHelper.CoreRT.cs" />
- <Compile Include="..\..\..\external\corert\src\System.Private.CoreLib\src\System\Reflection\CustomAttributeNamedArgument.cs" />
- <Compile Include="..\..\..\external\corert\src\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs" />
- <Compile Include="..\..\..\external\corert\src\System.Private.CoreLib\src\System\Reflection\MissingMetadataException.cs" />
- <Compile Include="..\corlib\corert\RuntimeAugments.cs" />
- <Compile Include="..\..\..\external\corert\src\Runtime.Base\src\System\Runtime\InteropServices\GCHandleType.cs" />
- </ItemGroup>
- <!-- Mono extensions -->
- <PropertyGroup>
- <DefineConstants>FEATURE_DEFAULT_INTERFACES;FEATURE_MANAGED_ETW_CHANNELS;$(DefineConstants)</DefineConstants>
- <DefineConstants>MONO;NETCORE;DISABLE_REMOTING;$(DefineConstants)</DefineConstants>
- <NoWarn>3021,$(NoWarn)</NoWarn>
- </PropertyGroup>
- <Import Project="..\..\..\netcore\System.Private.CoreLib\shared\System.Private.CoreLib.Shared.projitems" />
- <!-- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -->
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <PropertyGroup>
- <!-- Overwrite the key that we are going to use for signing -->
- <AssemblyOriginatorKeyFile>..\silverlight.pub</AssemblyOriginatorKeyFile>
- <!-- Don't need a strong name signature because we only ship the native image -->
- <StrongNameSig>None</StrongNameSig>
- </PropertyGroup>
- </Project>
|