Port CustomMarshalers.dll to C# and .NET Core (#21343)
[platform/upstream/coreclr.git] / src / System.Private.CoreLib / System.Private.CoreLib.csproj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <!-- Include common build properties -->
4   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
5   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
6   <!-- Compilation options -->
7   <PropertyGroup>
8     <AvailablePlatforms>x64,x86,arm,armel,arm64</AvailablePlatforms>
9     <Configuration Condition=" '$(Configuration)' == '' ">$(BuildType)</Configuration>
10     <Platform Condition=" '$(Platform)' == '' ">$(BuildArch)</Platform>
11     <Platform Condition=" '$(Platform)' == 'armel' ">arm</Platform>
12     <ProjectGuid>{3DA06C3A-2E7B-4CB7-80ED-9B12916013F9}</ProjectGuid>
13     <OutputType>Library</OutputType>
14     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
15     <!-- This prevents the default MsBuild targets from referencing System.Core.dll -->
16     <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
17     <!-- These prevent the default MsBuild targets from referencing System.dll and mscorlib.dll -->
18     <ExcludeMscorlibFacade>true</ExcludeMscorlibFacade>
19     <NoStdLib>true</NoStdLib>
20     <NoCompilerStandardLib>true</NoCompilerStandardLib>
21     <SubsystemVersion>6.00</SubsystemVersion>
22     <UTF8OutPut>true</UTF8OutPut>
23     <HighEntropyVA>true</HighEntropyVA>
24     <ErrorReport>prompt</ErrorReport>
25     <CLSCompliant>true</CLSCompliant>
26     <WarningLevel>4</WarningLevel>
27     <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
28     <WarningsNotAsErrors>$(WarningsNotAsErrors);618</WarningsNotAsErrors>
29     <NoWarn>649,3019,414,169,3015,591,1573,1591,0419</NoWarn>
30     <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
31     <SignAssembly>true</SignAssembly>
32     <DelaySign>true</DelaySign>
33     <DefineConstants>$(DefineConstants);CORECLR;_USE_NLS_PLUS_TABLE;CODE_ANALYSIS_BASELINE;netcoreapp</DefineConstants>
34     <!-- 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
35          the GenerateReferenceAssemblyPaths task (not target) and to prevent it from outputting a warning (MSB3644). -->
36     <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation</_TargetFrameworkDirectories>
37     <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths>
38     <SkipCommonResourcesIncludes>true</SkipCommonResourcesIncludes>
39     <LangVersion>latest</LangVersion>
40     <DocumentationFile>$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
41   </PropertyGroup>
42   <!-- Add Serviceable attribute to the project's metadata -->
43   <ItemGroup>
44     <AssemblyMetadata Include="Serviceable">
45       <Value>True</Value>
46       <Visible>false</Visible>
47     </AssemblyMetadata>
48   </ItemGroup>
49   <!-- Platform specific properties -->
50   <PropertyGroup Condition="'$(Platform)' == 'x64'">
51     <PlatformTarget>x64</PlatformTarget>
52     <Prefer32Bit>false</Prefer32Bit>
53     <BaseAddress>0x180000000</BaseAddress>
54     <DefineConstants>BIT64;AMD64;$(DefineConstants)</DefineConstants>
55   </PropertyGroup>
56   <PropertyGroup Condition="'$(Platform)' == 'x86'">
57     <PlatformTarget>x86</PlatformTarget>
58     <BaseAddress>0x10000000</BaseAddress>
59     <DefineConstants>BIT32;$(DefineConstants)</DefineConstants>
60   </PropertyGroup>
61   <PropertyGroup Condition="'$(Platform)' == 'arm'">
62     <PlatformTarget>arm</PlatformTarget>
63     <DefineConstants>BIT32;ARM;$(DefineConstants)</DefineConstants>
64   </PropertyGroup>
65   <PropertyGroup Condition="'$(Platform)' == 'arm64'">
66     <PlatformTarget>AnyCPU</PlatformTarget>
67     <DefineConstants>BIT64;ARM64;$(DefineConstants)</DefineConstants>
68   </PropertyGroup>
69   <!-- Configuration specific properties -->
70   <PropertyGroup Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'Checked'">
71     <DebugSymbols>true</DebugSymbols>
72     <Optimize Condition="'$(Optimize)' == '' and '$(Configuration)' == 'Debug'">false</Optimize>
73     <Optimize Condition="'$(Optimize)' == '' and '$(Configuration)' == 'Checked'">true</Optimize>
74     <DebugType Condition="'$(DebugType)' == ''">full</DebugType>
75     <DefineConstants>_LOGGING;DEBUG;TRACE;$(DefineConstants)</DefineConstants>
76     <DefineConstants Condition="'$(Platform)' == 'x86' or '$(Platform)' == 'x64'">CODE_ANALYSIS;$(DefineConstants)</DefineConstants>
77   </PropertyGroup>
78   <PropertyGroup Condition="'$(Configuration)' == 'Release'">
79     <DebugSymbols>true</DebugSymbols>
80     <Optimize Condition="'$(Optimize)' == ''">true</Optimize>
81     <DebugType Condition="'$(DebugType)' == ''">pdbOnly</DebugType>
82     <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
83   </PropertyGroup>
84   <!-- Make portable PDBs on Unix -->
85   <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'">
86     <DebugType>portable</DebugType>
87   </PropertyGroup>
88   <PropertyGroup Condition="'$(TargetsOSX)' == 'true'">
89     <DefineConstants>PLATFORM_OSX;$(DefineConstants)</DefineConstants>
90   </PropertyGroup>
91   <!-- Assembly attributes -->
92   <PropertyGroup>
93     <AssemblyName>System.Private.CoreLib</AssemblyName>
94     <AssemblyVersion>4.0.0.0</AssemblyVersion>
95     <MajorVersion>4</MajorVersion>
96     <MinorVersion>6</MinorVersion>
97     <ExcludeAssemblyInfoPartialFile>true</ExcludeAssemblyInfoPartialFile>
98   </PropertyGroup>
99   <!--
100     Helper Paths
101   -->
102   <PropertyGroup>
103     <CommonPath>$(MSBuildThisFileDirectory)Common</CommonPath>
104     <BclSourcesRoot>$(MSBuildThisFileDirectory)src</BclSourcesRoot>
105     <MscorlibDir>$(MSBuildThisFileDirectory)</MscorlibDir>
106     <NlpObjDir>$(BclSourcesRoot)\System\Globalization\Tables</NlpObjDir>
107   </PropertyGroup>
108   <!-- Msbuild variables needed to get CoreCLR features to be set properly. -->
109   <PropertyGroup>
110     <!-- These are needed to make sure we have the right set of defines -->
111     <TargetArch Condition="'$(Platform)'=='x86'">i386</TargetArch>
112     <TargetArch Condition="'$(Platform)'!='x86'">$(Platform)</TargetArch>
113   </PropertyGroup>
114   <!-- CLR Features -->
115   <Import Project="$(MSBuildThisFileDirectory)..\..\clr.coreclr.props" />
116   <Import Project="$(MSBuildThisFileDirectory)..\..\clr.defines.targets" />
117   <!-- Sources -->
118   <ItemGroup>
119     <Compile Include="$(BclSourcesRoot)\Internal\Console.cs" />
120     <Compile Include="$(BclSourcesRoot)\Internal\Resources\PRIExceptionInfo.cs" Condition="'$(FeatureAppX)' == 'true'" />
121     <Compile Include="$(BclSourcesRoot)\Internal\Resources\WindowsRuntimeResourceManagerBase.cs" Condition="'$(FeatureAppX)' == 'true'" />
122     <Compile Include="$(BclSourcesRoot)\Internal\Runtime\Augments\EnvironmentAugments.cs" />
123     <Compile Include="$(BclSourcesRoot)\Internal\Runtime\Augments\RuntimeThread.cs" />
124     <Compile Include="$(BclSourcesRoot)\Microsoft\Win32\UnsafeNativeMethods.cs" />
125     <Compile Include="$(BclSourcesRoot)\Microsoft\Win32\Win32Native.cs" />
126     <Compile Include="$(BclSourcesRoot)\System\Activator.cs" />
127     <Compile Include="$(BclSourcesRoot)\System\AppContext.cs" />
128     <Compile Include="$(BclSourcesRoot)\System\AppDomain.cs" />
129     <Compile Include="$(BclSourcesRoot)\System\AppDomainUnloadedException.cs" />
130     <Compile Include="$(BclSourcesRoot)\System\ArgIterator.cs" />
131     <Compile Include="$(BclSourcesRoot)\System\Array.cs" />
132     <Compile Include="$(BclSourcesRoot)\System\Attribute.cs" />
133     <Compile Include="$(BclSourcesRoot)\System\BadImageFormatException.CoreCLR.cs" />
134     <Compile Include="$(BclSourcesRoot)\System\Buffer.cs" />
135     <Compile Include="$(BclSourcesRoot)\System\ByReference.cs" />
136     <Compile Include="$(BclSourcesRoot)\System\CLRConfig.cs" />
137     <Compile Include="$(BclSourcesRoot)\System\Collections\EmptyReadOnlyDictionaryInternal.cs" />
138     <Compile Include="$(BclSourcesRoot)\System\Collections\Generic\ArraySortHelper.CoreCLR.cs" />
139     <Compile Include="$(BclSourcesRoot)\System\Collections\Generic\Comparer.cs" />
140     <Compile Include="$(BclSourcesRoot)\System\Collections\Generic\ComparerHelpers.cs" />
141     <Compile Include="$(BclSourcesRoot)\System\Collections\Generic\EqualityComparer.cs" />
142     <Compile Include="$(BclSourcesRoot)\System\Collections\ObjectModel\ReadOnlyDictionary.cs" />
143     <Compile Include="$(BclSourcesRoot)\System\Currency.cs" />
144     <Compile Include="$(BclSourcesRoot)\System\DateTime.CoreCLR.cs" />
145     <Compile Include="$(BclSourcesRoot)\System\DefaultBinder.CanConvert.cs" />
146     <Compile Include="$(BclSourcesRoot)\System\Delegate.cs" />
147     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Contracts\Contracts.cs" />
148     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Contracts\ContractsBCL.cs" />
149     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Debugger.cs" />
150     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\EditAndContinueHelper.cs" />
151     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\DotNETRuntimeEventSource.cs" />
152     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventPipe.cs" />
153     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventPipeController.cs" />
154     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventPipeEventDispatcher.cs" />
155     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventPipeEventProvider.cs" />
156     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventPipeMetadataGenerator.cs" />
157     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventPipePayloadDecoder.cs" />
158     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\EventSource_CoreCLR.cs" />
159     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\FrameworkEventSource.cs" />
160     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventHandleTable.cs" />
161     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\ICustomDebuggerNotification.cs" />
162     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\StackFrame.CoreCLR.cs" />
163     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\StackFrameHelper.cs" />
164     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Stacktrace.cs" />
165     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\SymbolStore\ISymDocumentWriter.cs" />
166     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\SymbolStore\ISymWriter.cs" />
167     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\SymbolStore\SymAddressKind.cs" />
168     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\SymbolStore\Token.cs" />
169     <Compile Include="$(BclSourcesRoot)\System\Enum.cs" />
170     <Compile Include="$(BclSourcesRoot)\System\Environment.cs" />
171     <Compile Include="$(BclSourcesRoot)\System\Exception.cs" />
172     <Compile Include="$(BclSourcesRoot)\System\GC.cs" />
173     <Compile Include="$(BclSourcesRoot)\System\Globalization\CultureInfo.cs" />
174     <Compile Include="$(BclSourcesRoot)\System\Globalization\GlobalizationMode.cs" />
175     <Compile Include="$(BclSourcesRoot)\System\Internal.cs" />
176     <Compile Include="$(BclSourcesRoot)\System\IO\FileLoadException.CoreCLR.cs" />
177     <Compile Include="$(BclSourcesRoot)\System\IO\FileNotFoundException.CoreCLR.cs" />
178     <Compile Include="$(BclSourcesRoot)\System\IO\Stream.CoreCLR.cs" />
179     <Compile Include="$(BclSourcesRoot)\System\Math.CoreCLR.cs" />
180     <Compile Include="$(BclSourcesRoot)\System\MathF.CoreCLR.cs" />
181     <Compile Include="$(BclSourcesRoot)\System\mda.cs" />
182     <Compile Include="$(BclSourcesRoot)\System\MissingMemberException.CoreCLR.cs" />
183     <Compile Include="$(BclSourcesRoot)\System\MulticastDelegate.cs" />
184     <Compile Include="$(BclSourcesRoot)\System\Numerics\Hashing\HashHelpers.cs" />
185     <Compile Include="$(BclSourcesRoot)\System\Object.cs" />
186     <Compile Include="$(BclSourcesRoot)\System\OleAutBinder.cs" Condition="'$(FeatureClassicCominterop)' == 'true'" />
187     <Compile Include="$(BclSourcesRoot)\System\Reflection\Assembly.CoreCLR.cs" />
188     <Compile Include="$(BclSourcesRoot)\System\Reflection\AssemblyName.cs" />
189     <Compile Include="$(BclSourcesRoot)\System\Reflection\Associates.cs" />
190     <Compile Include="$(BclSourcesRoot)\System\Reflection\ConstructorInfo.CoreCLR.cs" />
191     <Compile Include="$(BclSourcesRoot)\System\Reflection\CustomAttribute.cs" />
192     <Compile Include="$(BclSourcesRoot)\System\Reflection\CustomAttributeExtensions.cs" />
193     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\AQNBuilder.cs" />
194     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\AssemblyBuilder.cs" />
195     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\AssemblyBuilderData.cs" />
196     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ConstructorBuilder.cs" />
197     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\CustomAttributeBuilder.cs" />
198     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\DynamicILGenerator.cs" />
199     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\DynamicMethod.cs" />
200     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\EnumBuilder.cs" />
201     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\EventBuilder.cs" />
202     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\EventToken.cs" />
203     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\FieldBuilder.cs" />
204     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\FieldToken.cs" />
205     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\GenericTypeParameterBuilder.cs" />
206     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ILGenerator.cs" />
207     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ISymWrapperCore.cs" />
208     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\LocalBuilder.cs" />
209     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\MethodBuilder.cs" />
210     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\MethodBuilderInstantiation.cs" />
211     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\MethodToken.cs" />
212     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ModuleBuilder.cs" />
213     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ModuleBuilderData.cs" />
214     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ParameterBuilder.cs" />
215     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\ParameterToken.cs" />
216     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\PropertyBuilder.cs" />
217     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\PropertyToken.cs" />
218     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\SignatureHelper.cs" />
219     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\SignatureToken.cs" />
220     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\StringToken.cs" />
221     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\SymbolMethod.cs" />
222     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\SymbolType.cs" />
223     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\TypeBuilder.cs" />
224     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\TypeBuilderInstantiation.cs" />
225     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\TypeToken.cs" />
226     <Compile Include="$(BclSourcesRoot)\System\Reflection\Emit\XXXOnTypeBuilderInstantiation.cs" />
227     <Compile Include="$(BclSourcesRoot)\System\Reflection\FieldInfo.CoreCLR.cs" />
228     <Compile Include="$(BclSourcesRoot)\System\Reflection\INVOCATION_FLAGS.cs" />
229     <Compile Include="$(BclSourcesRoot)\System\Reflection\LoaderAllocator.cs" />
230     <Compile Include="$(BclSourcesRoot)\System\Reflection\MdConstant.cs" />
231     <Compile Include="$(BclSourcesRoot)\System\Reflection\MdFieldInfo.cs" />
232     <Compile Include="$(BclSourcesRoot)\System\Reflection\MdImport.cs" />
233     <Compile Include="$(BclSourcesRoot)\System\Reflection\MemberInfo.Internal.cs" />
234     <Compile Include="$(BclSourcesRoot)\System\Reflection\Metadata\AssemblyExtensions.cs" />
235     <Compile Include="$(BclSourcesRoot)\System\Reflection\MethodBase.CoreCLR.cs" />
236     <Compile Include="$(BclSourcesRoot)\System\Reflection\RtFieldInfo.cs" />
237     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeAssembly.cs" />
238     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeConstructorInfo.cs" />
239     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeEventInfo.cs" />
240     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeExceptionHandlingClause.cs" />
241     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeFieldInfo.cs" />
242     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeLocalVariableInfo.cs" />
243     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeMethodBody.cs" />
244     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeMethodInfo.cs" />
245     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeModule.cs" />
246     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimeParameterInfo.cs" />
247     <Compile Include="$(BclSourcesRoot)\System\Reflection\RuntimePropertyInfo.cs" />
248     <Compile Include="$(BclSourcesRoot)\System\Resources\FileBasedResourceGroveler.cs" />
249     <Compile Include="$(BclSourcesRoot)\System\Resources\IResourceGroveler.cs" />
250     <Compile Include="$(BclSourcesRoot)\System\Resources\ManifestBasedResourceGroveler.cs" />
251     <Compile Include="$(BclSourcesRoot)\System\Resources\ResourceManager.cs" />
252     <Compile Include="$(BclSourcesRoot)\System\RtType.cs" />
253     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\AsyncMethodBuilder.cs" />
254     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\ConditionalWeakTable.cs" />
255     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\ICastableHelpers.cs" />
256     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\jithelpers.cs" />
257     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\RuntimeFeature.CoreCLR.cs" />
258     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\RuntimeHelpers.cs" />
259     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\TypeDependencyAttribute.cs" />
260     <Compile Include="$(BclSourcesRoot)\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs" />
261     <Compile Include="$(BclSourcesRoot)\System\Runtime\GcSettings.cs" />
262     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ArrayWithOffset.cs" />
263     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Attributes.cs" />
264     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\BStrWrapper.cs" />
265     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\COMException.cs" />
266     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComMemberType.cs" />
267     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IBindCtx.cs" />
268     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IConnectionPoint.cs" />
269     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IConnectionPointContainer.cs" />
270     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IEnumConnectionPoints.cs" />
271     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IEnumConnections.cs" />
272     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IEnumerable.cs" />
273     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IEnumMoniker.cs" />
274     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IEnumString.cs" />
275     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IEnumVARIANT.cs" />
276     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IMoniker.cs" />
277     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IPersistFile.cs" />
278     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IRunningObjectTable.cs" />
279     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\IStream.cs" />
280     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\ITypeComp.cs" />
281     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\ITypeInfo.cs" />
282     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\ITypeInfo2.cs" />
283     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\ITypeLib.cs" />
284     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComTypes\ITypeLib2.cs" />
285     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CriticalHandle.cs" />
286     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CurrencyWrapper.cs" />
287     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ErrorWrapper.cs" />
288     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Expando\IExpando.cs" />
289     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\GcHandle.cs" />
290     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\GCHandleCookieTable.cs" />
291     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ICustomAdapter.cs" />
292     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ICustomFactory.cs" />
293     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ICustomMarshaler.cs" />
294     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ICustomQueryInterface.cs" />
295     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\InvalidComObjectException.cs" />
296     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\InvalidOleVariantTypeException.cs" />
297     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Marshal.cs" />
298     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\NonPortable.cs" Condition="'$(FeatureCominterop)' != 'true'" />
299     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\PInvokeMap.cs" />
300     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\PInvokeMarshal.cs" />
301     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SafeArrayRankMismatchException.cs" />
302     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SafeArrayTypeMismatchException.cs" />
303     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SafeHandle.cs" />
304     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SEHException.cs" />
305     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\UnknownWrapper.cs" />
306     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\VariantWrapper.cs" />
307     <Compile Include="$(BclSourcesRoot)\System\Runtime\Loader\AssemblyLoadContext.cs" />
308     <Compile Include="$(BclSourcesRoot)\System\Runtime\MemoryFailPoint.cs" />
309     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\FormatterServices.cs" />
310     <Compile Include="$(BclSourcesRoot)\System\Runtime\Versioning\CompatibilitySwitch.cs" />
311     <Compile Include="$(BclSourcesRoot)\System\RuntimeArgumentHandle.cs" />
312     <Compile Include="$(BclSourcesRoot)\System\RuntimeHandles.cs" />
313     <Compile Include="$(BclSourcesRoot)\System\Security\DynamicSecurityMethodAttribute.cs" />
314     <Compile Include="$(BclSourcesRoot)\System\StartupHookProvider.cs" />
315     <Compile Include="$(BclSourcesRoot)\System\String.CoreCLR.cs" />
316     <Compile Include="$(BclSourcesRoot)\System\StubHelpers.cs" />
317     <Compile Include="$(BclSourcesRoot)\System\Text\CodePageDataItem.cs" Condition="'$(FeatureCoreFxGlobalization)' != 'true'" />
318     <Compile Include="$(BclSourcesRoot)\System\Text\CodePageDataItem.Unix.cs" Condition="'$(FeatureCoreFxGlobalization)' == 'true'" />
319     <Compile Include="$(BclSourcesRoot)\System\Text\EncodingTable.cs" Condition="'$(FeatureCoreFxGlobalization)' != 'true'" />
320     <Compile Include="$(BclSourcesRoot)\System\Text\EncodingTable.Unix.cs" Condition="'$(FeatureCoreFxGlobalization)' == 'true'" />
321     <Compile Include="$(BclSourcesRoot)\System\Text\StringBuilder.CoreCLR.cs" />
322     <Compile Include="$(BclSourcesRoot)\System\Threading\CancellationTokenRegistration.cs" />
323     <Compile Include="$(BclSourcesRoot)\System\Threading\CancellationTokenSource.cs" />
324     <Compile Include="$(BclSourcesRoot)\System\Threading\ClrThreadPoolBoundHandle.cs" />
325     <Compile Include="$(BclSourcesRoot)\System\Threading\ClrThreadPoolBoundHandleOverlapped.cs" />
326     <Compile Include="$(BclSourcesRoot)\System\Threading\ClrThreadPoolPreAllocatedOverlapped.cs" />
327     <Compile Include="$(BclSourcesRoot)\System\Threading\Interlocked.cs" />
328     <Compile Include="$(BclSourcesRoot)\System\Threading\Monitor.cs" />
329     <Compile Include="$(BclSourcesRoot)\System\Threading\Overlapped.cs" />
330     <Compile Include="$(BclSourcesRoot)\System\Threading\SynchronizationContext.cs" />
331     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\AsyncCausalityTracer.cs" />
332     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\future.cs" />
333     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\FutureFactory.cs" />
334     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\ProducerConsumerQueues.cs" />
335     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\Task.cs" />
336     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\TaskContinuation.cs" />
337     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\TaskExceptionHolder.cs" />
338     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\TaskFactory.cs" />
339     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\TaskScheduler.cs" />
340     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\ThreadPoolTaskScheduler.cs" />
341     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\TPLETWProvider.cs" />
342     <Compile Include="$(BclSourcesRoot)\System\Threading\Thread.cs" />
343     <Compile Include="$(BclSourcesRoot)\System\Threading\ThreadPool.cs" />
344     <Compile Include="$(BclSourcesRoot)\System\Threading\Timer.cs" />
345     <Compile Include="$(BclSourcesRoot)\System\Threading\Volatile.cs" />
346     <Compile Include="$(BclSourcesRoot)\System\Threading\WaitHandle.cs" />
347     <Compile Include="$(BclSourcesRoot)\System\ThrowHelper.cs" />
348     <Compile Include="$(BclSourcesRoot)\System\Type.CoreCLR.cs" />
349     <Compile Include="$(BclSourcesRoot)\System\TypedReference.cs" />
350     <Compile Include="$(BclSourcesRoot)\System\TypeLoadException.cs" />
351     <Compile Include="$(BclSourcesRoot)\System\TypeNameParser.cs" />
352     <Compile Include="$(BclSourcesRoot)\System\ValueType.cs" />
353     <Compile Include="$(BclSourcesRoot)\System\WeakReference.cs" />
354     <Compile Include="$(BclSourcesRoot)\System\WeakReferenceOfT.cs" />
355   </ItemGroup>
356   <ItemGroup>
357     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\XplatEventLogger.cs" Condition="'$(FeatureXplatEventSource)' == 'true'" />
358     <Compile Include="$(IntermediateOutputPath)..\eventing\DotNETRuntimeEventSource.cs" />
359   </ItemGroup>
360   <ItemGroup Condition="'$(FeatureCominterop)' == 'true'">
361     <Compile Include="$(BclSourcesRoot)\Internal\Runtime\InteropServices\WindowsRuntime\ExceptionSupport.cs" />
362     <Compile Include="$(BclSourcesRoot)\Internal\Threading\Tasks\AsyncCausalitySupport.cs" />
363     <Compile Include="$(BclSourcesRoot)\Microsoft\Win32\OAVariantLib.cs" Condition="'$(FeatureClassicCominterop)' == 'true'" />
364     <Compile Include="$(BclSourcesRoot)\System\__ComObject.cs" />
365     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComActivator.cs" Condition="'$(FeatureCominteropUnmanagedActivation)' == 'true'" />
366     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComEventsHelper.cs" Condition="'$(FeatureClassicCominterop)' == 'true'" />
367     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComEventsInfo.cs" Condition="'$(FeatureClassicCominterop)' == 'true'" />
368     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComEventsMethod.cs" Condition="'$(FeatureClassicCominterop)' == 'true'" />
369     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ComEventsSink.cs" Condition="'$(FeatureClassicCominterop)' == 'true'" />
370     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CustomMarshalers\ComDataHelpers.cs" />
371     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CustomMarshalers\EnumVariantViewOfEnumerator.cs" />
372     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CustomMarshalers\EnumerableToDispatchMarshaler.cs" />
373     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CustomMarshalers\EnumerableViewOfDispatch.cs" />
374     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CustomMarshalers\EnumeratorToEnumVariantMarshaler.cs" />
375     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CustomMarshalers\EnumeratorViewOfEnumVariant.cs" />
376     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\DispatchWrapper.cs" />
377     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\IDispatch.cs" />
378     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\Attributes.cs" />
379     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\BindableVectorToCollectionAdapter.cs" />
380     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\BindableVectorToListAdapter.cs" />
381     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\CLRIKeyValuePairImpl.cs" />
382     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\CLRIPropertyValueImpl.cs" />
383     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\CLRIReferenceImpl.cs" />
384     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ConstantSplittableMap.cs" />
385     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\CustomPropertyImpl.cs" />
386     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\DictionaryKeyCollection.cs" />
387     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\DictionaryToMapAdapter.cs" />
388     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\DictionaryValueCollection.cs" />
389     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\EnumeratorToIteratorAdapter.cs" />
390     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\EventRegistrationToken.cs" />
391     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\EventRegistrationTokenTable.cs" />
392     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IActivationFactory.cs" />
393     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IClosable.cs" />
394     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ICustomProperty.cs" />
395     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ICustomPropertyProvider.cs" />
396     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IIterable.cs" />
397     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IIterator.cs" />
398     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IMap.cs" />
399     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IMapViewToIReadOnlyDictionaryAdapter.cs" />
400     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IPropertyValue.cs" />
401     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IReadOnlyDictionaryToIMapViewAdapter.cs" />
402     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IReadOnlyListToIVectorViewAdapter.cs" />
403     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IReference.cs" />
404     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IRestrictedErrorInfo.cs" />
405     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IteratorToEnumeratorAdapter.cs" />
406     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IVector.cs" />
407     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\IVectorViewToIReadOnlyListAdapter.cs" />
408     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ListToBindableVectorAdapter.cs" />
409     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ListToBindableVectorViewAdapter.cs" />
410     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ListToVectorAdapter.cs" />
411     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\ManagedActivationFactory.cs" />
412     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\MapToCollectionAdapter.cs" />
413     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\MapToDictionaryAdapter.cs" />
414     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\MapViewToReadOnlyCollectionAdapter.cs" />
415     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\NativeMethods.cs" />
416     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\PropertyValue.cs" />
417     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\RuntimeClass.cs" />
418     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\VectorToCollectionAdapter.cs" />
419     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\VectorToListAdapter.cs" />
420     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\VectorViewToReadOnlyCollectionAdapter.cs" />
421     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\WindowsFoundationEventHandler.cs" />
422     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\WindowsRuntimeMarshal.cs" />
423     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\WindowsRuntime\WindowsRuntimeMetadata.cs" />
424     <Compile Include="$(BclSourcesRoot)\System\Threading\Tasks\IAsyncCausalityTracerStatics.cs" />
425     <Compile Include="$(BclSourcesRoot)\System\Variant.cs" />
426   </ItemGroup>
427   <ItemGroup Condition="'$(TargetsUnix)' == 'true'">
428     <Compile Include="$(BclSourcesRoot)\Interop\Unix\Interop.Libraries.cs" />
429     <Compile Include="$(BclSourcesRoot)\System\Globalization\CultureInfo.Unix.cs" />
430     <Compile Include="$(BclSourcesRoot)\System\Globalization\GlobalizationMode.Unix.cs" />
431     <Compile Include="$(BclSourcesRoot)\System\Threading\ClrThreadPoolBoundHandle.Unix.cs" />
432   </ItemGroup>
433   <ItemGroup Condition="'$(TargetsWindows)' == 'true'">
434     <Compile Include="$(BclSourcesRoot)\Interop\Windows\Kernel32\Interop.GetSystemDirectoryW.cs" />
435     <Compile Include="$(BclSourcesRoot)\System\ApplicationModel.Windows.cs" />
436     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\DebugProvider.Windows.cs" />
437     <Compile Include="$(BclSourcesRoot)\System\Globalization\CultureInfo.Windows.cs" />
438     <Compile Include="$(BclSourcesRoot)\System\Globalization\GlobalizationMode.Windows.cs" />
439     <Compile Include="$(BclSourcesRoot)\System\Threading\ClrThreadPoolBoundHandle.Windows.cs" />
440     <Compile Include="$(BclSourcesRoot)\System\Environment.Windows.cs" />
441   </ItemGroup>
442   <ItemGroup>
443     <!--
444     These files are also added to CoreLib.Shared.projitems, but they don't show up in
445     Visual Studio Solution Explorer. Adding them here as well so developers can
446     edit them and regenerate the .cs files.
447     -->
448     <Content Include="shared\System\Numerics\ConstantHelper.tt">
449       <Generator>TextTemplatingFileGenerator</Generator>
450       <LastGenOutput>ConstantHelper.cs</LastGenOutput>
451     </Content>
452     <None Include="shared\System\Numerics\GenerationConfig.ttinclude" />
453     <Content Include="shared\System\Numerics\Register.tt">
454       <Generator>TextTemplatingFileGenerator</Generator>
455       <LastGenOutput>Register.cs</LastGenOutput>
456     </Content>
457     <Content Include="shared\System\Numerics\Vector.tt">
458       <Generator>TextTemplatingFileGenerator</Generator>
459       <LastGenOutput>Vector.cs</LastGenOutput>
460     </Content>
461   </ItemGroup>
462   <!-- Include additional sources shared files in the compilation -->
463   <ItemGroup>
464     <!-- These files are shared with other framework components and don't live the same folder as the rest of them-->
465     <Compile Include="$(CommonPath)\NotImplemented.cs" />
466     <Compile Include="$(CommonPath)\System\SR.cs" />
467   </ItemGroup>
468   <ItemGroup>
469     <Compile Include="src\System\Runtime\RuntimeImports.cs" />
470   </ItemGroup>
471   <Import Project="shared\System.Private.CoreLib.Shared.projitems" />
472   <PropertyGroup>
473     <CheckCDefines Condition="'$(CheckCDefines)'==''">true</CheckCDefines>
474   </PropertyGroup>
475   <Target Name="CDefineChecker" BeforeTargets="Build" Condition="'$(CheckCDefines)'=='true'">
476     <!-- Compiler Definition Verification -->
477     <PropertyGroup>
478       <CMakeDefinitionSaveFile>$(IntermediateOutputPath)..\cmake.definitions</CMakeDefinitionSaveFile>
479     </PropertyGroup>
480     <Exec Command="&quot;$(PYTHON)&quot; $(MSBuildThisFileDirectory)..\scripts\check-definitions.py &quot;$(CMakeDefinitionSaveFile)&quot; &quot;$(DefineConstants)&quot; &quot;$(IgnoreDefineConstants)&quot; " />
481   </Target>
482   <PropertyGroup Condition="'$(BuildOS)' == 'Windows_NT'">
483     <EnableDotnetAnalyzers Condition="'$(EnableDotnetAnalyzers)'==''">true</EnableDotnetAnalyzers>
484     <UseWin32Apis>true</UseWin32Apis>
485     <OSGroup>Windows_NT</OSGroup>
486   </PropertyGroup>
487   <PropertyGroup>
488     <StrongNameSig>Silverlight</StrongNameSig>
489   </PropertyGroup>
490   <Import Project="$(MSBuildThisFileDirectory)Tools\Versioning\GenerateVersionInfo.targets" />
491   <!--
492     Import common targets: codeAnalysis, Microsoft.CSharp, sign, versioning, codeOptimizations, etc.
493     In doing so, override versioning targets.
494   -->
495   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
496   <PropertyGroup>
497     <!-- Overwrite the key that we are going to use for signing -->
498     <AssemblyOriginatorKeyFile>$(ToolsDir)SilverlightPlatformPublicKey.snk</AssemblyOriginatorKeyFile>
499     <!-- Don't need a strong name signature because we only ship the native image -->
500     <StrongNameSig>None</StrongNameSig>
501     <!-- Use a different nativeresource file to avoid conflicts with mscorlib-->
502     <Win32Resource Condition="'$(GenerateNativeVersionInfo)'=='true'">$(IntermediateOutputPath)\System.Private.CoreLib.res</Win32Resource>
503   </PropertyGroup>
504   <Import Project="CreateRuntimeRootILLinkDescriptorFile.targets" />
505   <ItemGroup>
506     <EmbeddedResource Include="$(_ILLinkRuntimeRootDescriptorFilePath)" />
507   </ItemGroup>
508   <Import Project="ILLink.targets" />
509   <Import Project="GenerateCompilerResponseFile.targets" />
510 </Project>