summaryrefslogtreecommitdiff
path: root/src/mscorlib/mscorlib.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/mscorlib.csproj')
-rw-r--r--src/mscorlib/mscorlib.csproj168
1 files changed, 168 insertions, 0 deletions
diff --git a/src/mscorlib/mscorlib.csproj b/src/mscorlib/mscorlib.csproj
new file mode 100644
index 0000000000..355a181bcb
--- /dev/null
+++ b/src/mscorlib/mscorlib.csproj
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+
+ <!-- Include common build properties -->
+ <Import Project="..\..\dir.props" />
+
+ <!-- Compilation options -->
+ <PropertyGroup>
+ <AvailablePlatforms>amd64,x86,arm,arm64</AvailablePlatforms>
+ <Configuration Condition=" '$(Configuration)' == '' ">$(BuildType)</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">$(BuildArch)</Platform>
+ <ProjectGuid>{3DA06C3A-2E7B-4CB7-80ED-9B12916013F9}</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 -->
+ <NoStdLib>true</NoStdLib>
+ <NoCompilerStandardLib>true</NoCompilerStandardLib>
+
+ <SubsystemVersion>6.00</SubsystemVersion>
+ <UTF8OutPut>true</UTF8OutPut>
+ <HighEntropyVA>true</HighEntropyVA>
+ <ErrorReport>prompt</ErrorReport>
+ <Optimize Condition="'$(Optimize)' == ''">true</Optimize>
+ <GenerateNativeVersionInfo>true</GenerateNativeVersionInfo>
+ <CLSCompliant>true</CLSCompliant>
+ <WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
+ <WarningsNotAsErrors>$(WarningsNotAsErrors);618</WarningsNotAsErrors>
+ <NoWarn>649,3019,414,169,3015</NoWarn>
+ <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
+
+ <SignAssembly>true</SignAssembly>
+ <DelaySign>true</DelaySign>
+ <AssemblyOriginatorKeyFile Condition="'$(AssemblyOriginatorKeyFile)' == ''">$(MSBuildThisFileDirectory)Tools\Signing\PublicTestKey.snk</AssemblyOriginatorKeyFile>
+
+ <DefineConstants>$(DefineConstants);NEW_EXPERIMENTAL_ASYNC_IO;_USE_NLS_PLUS_TABLE;RESOURCE_SATELLITE_CONFIG;INSIDE_CLR;CODE_ANALYSIS_BASELINE;CODE_ANALYSIS</DefineConstants>
+ </PropertyGroup>
+
+ <!-- Platform specific properties -->
+ <PropertyGroup Condition="'$(Platform)' == 'amd64'">
+ <PlatformTarget>x64</PlatformTarget>
+ <Prefer32Bit>false</Prefer32Bit>
+ <BaseAddress>0x180000000</BaseAddress>
+ <DefineConstants>WIN64;AMD64;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Platform)' == 'x86'">
+ <PlatformTarget>x86</PlatformTarget>
+ <BaseAddress>0x10000000</BaseAddress>
+ <DefineConstants>WIN32;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Platform)' == 'arm'">
+ <PlatformTarget>arm</PlatformTarget>
+ <DefineConstants>WIN32;ARM;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Platform)' == 'arm64'">
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <DefineConstants>WIN64;ARM64;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
+
+ <!-- Configuration specific properties -->
+ <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <DefineConstants>DBG;_DEBUG;_LOGGING;DEBUG;TRACE;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)' == 'Release'">
+ <DebugType>pdbonly</DebugType>
+ <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
+
+ <!-- Assembly attributes -->
+ <PropertyGroup>
+ <AssemblyName>mscorlib</AssemblyName>
+ <AssemblyVersion>4.0.0.0</AssemblyVersion>
+ <MajorVersion>4</MajorVersion>
+ <MinorVersion>6</MinorVersion>
+ </PropertyGroup>
+ <ItemGroup>
+ <AssemblyInfoLines Include="[assembly: System.Resources.SatelliteContractVersion(&quot;$(AssemblyVersion)&quot;)]" />
+ <AssemblyInfoLines Include="[assembly: System.Security.AllowPartiallyTrustedCallers]" />
+ <AssemblyInfoLines Include="[assembly: System.Runtime.InteropServices.ComVisible(false)]" />
+ <AssemblyInfoLines Include="[assembly: System.Resources.NeutralResourcesLanguage(&quot;en-US&quot;)]" />
+ </ItemGroup>
+
+ <!--
+ Helper Paths
+ -->
+ <PropertyGroup>
+ <PostProcessingToolsPath Condition="'$(PostProcessingToolsPath)'==''">$(MSBuildThisFileDirectory)Tools\PostProcessingTools.targets</PostProcessingToolsPath>
+ <CommonPath>$(MSBuildThisFileDirectory)Common</CommonPath>
+ <BclSourcesRoot>$(MSBuildThisFileDirectory)src</BclSourcesRoot>
+ <CoreFxSourcesRoot>$(MSBuildThisFileDirectory)corefx</CoreFxSourcesRoot>
+ <MscorlibDir>$(MSBuildThisFileDirectory)</MscorlibDir>
+ <NlpObjDir>$(BclSourcesRoot)\system\globalization\tables</NlpObjDir>
+ </PropertyGroup>
+
+ <!-- Output paths -->
+ <PropertyGroup>
+ <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$(RootBinDir)intermediates</BaseIntermediateOutputPath>
+ <OutputPath Condition="'$(OutputPath)' == ''">$(BaseIntermediateOutputPath)\$(Platform)\$(Configuration)</OutputPath>
+ <FinalOutputPath Condition="'$(FinalOutputPath)' == ''">$(BinDir)</FinalOutputPath>
+ </PropertyGroup>
+
+ <!-- Msbuild variables needed to get CoreCLR features to be set properly. -->
+ <PropertyGroup>
+ <ClrProduct>core_clr</ClrProduct>
+ <BuildForCoreSystem>true</BuildForCoreSystem>
+
+ <!-- These are needed by BCLRewriter -->
+ <_BuildType Condition="'$(Configuration)' == 'Debug'">chk</_BuildType>
+ <_BuildType Condition="'$(Configuration)' == 'Release'">ret</_BuildType>
+
+ <!-- These are needed to make sure we have the right set of defines -->
+ <TargetArch Condition="'$(Platform)'=='x86'">i386</TargetArch>
+ <TargetArch Condition="'$(Platform)'!='x86'">$(Platform)</TargetArch>
+ </PropertyGroup>
+
+ <!-- CLR Features -->
+ <Import Project="$(MSBuildThisFileDirectory)..\..\clr.coreclr.props" />
+ <Import Project="$(MSBuildThisFileDirectory)..\..\clr.defines.targets" />
+
+ <!-- Sources -->
+ <Import Project="$(MSBuildThisFileDirectory)\mscorlib.shared.sources.props" />
+
+ <!-- Include additional sources shared files in the compilation -->
+ <ItemGroup>
+ <!-- These are files are preprocessed -->
+ <MscorlibSources Include="$(CommonPath)\Preprocessed\AssemblyRefs.g.cs" />
+
+ <!-- These files are shared with other framework components and don't live the same folder as the rest of them-->
+ <MscorlibSources Include="$(CommonPath)\PinnableBufferCache.cs" />
+
+ <!-- Include Internals visible to file in the compilation -->
+ <MscorlibSources Include="$(BclSourcesRoot)\mscorlib.Friends.cs" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <!-- We want the sources to show up nicely in VS-->
+ <Compile Include="@(MscorlibSources)">
+ <Link>$([MSBuild]::MakeRelative($(BclSourcesRoot), %(Identity))</Link>
+ </Compile>
+ </ItemGroup>
+
+ <!-- Resources -->
+ <ItemGroup>
+ <SplitTextStringResource Include="$(BclSourcesRoot)\mscorlib.txt">
+ <ResFile>mscorlib</ResFile>
+ <ResGenDefines>$(DefineConstants)</ResGenDefines>
+ </SplitTextStringResource>
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="$(NlpObjDir)\charinfo.nlp">
+ <LogicalName>charinfo.nlp</LogicalName>
+ </EmbeddedResource>
+ </ItemGroup>
+
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+
+ <Import Project="$(MSBuildThisFileDirectory)Tools\Versioning\GenerateVersionInfo.targets"/>
+ <Import Project="GenerateSplitStringResources.targets"/>
+ <Import Project="GenerateCompilerResponseFile.targets"/>
+ <Import Project="$(PostProcessingToolsPath)" />
+</Project> \ No newline at end of file