1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
3  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4  <PropertyGroup>
5    <AssemblyName>System.Diagnostics.StackTrace</AssemblyName>
6    <ProjectGuid>{02304469-722E-4723-92A1-820B9A37D275}</ProjectGuid>
7    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8    <IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
9    <!-- Disable 1685 (aka multiple type definitions) warning so it doesn't turn into an error -->
10    <NoWarn>$(NoWarn);1685</NoWarn>
11  </PropertyGroup>
12  <!-- Default configurations to help VS understand the options -->
13  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" />
14  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" />
15  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" />
16  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Release|AnyCPU'" />
17  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Windows_NT-Debug|AnyCPU'" />
18  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Windows_NT-Release|AnyCPU'" />
19  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uapaot-Windows_NT-Debug|AnyCPU'" />
20  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uapaot-Windows_NT-Release|AnyCPU'" />
21  <ItemGroup Condition="'$(TargetGroup)' != 'netfx'">
22    <Compile Include="System\Diagnostics\SymbolStore\ISymbolBinder.cs" />
23    <Compile Include="System\Diagnostics\SymbolStore\ISymbolDocument.cs" />
24    <Compile Include="System\Diagnostics\SymbolStore\ISymbolMethod.cs" />
25    <Compile Include="System\Diagnostics\SymbolStore\ISymbolNamespace.cs" />
26    <Compile Include="System\Diagnostics\SymbolStore\ISymbolReader.cs" />
27    <Compile Include="System\Diagnostics\SymbolStore\ISymbolScope.cs" />
28    <Compile Include="System\Diagnostics\SymbolStore\ISymbolVariable.cs" />
29    <Compile Include="System\Diagnostics\SymbolStore\ISymbolWriter.cs" />
30    <Compile Include="System\Diagnostics\SymbolStore\SymbolToken.cs" />
31    <Compile Include="System\Diagnostics\SymbolStore\SymAddressKind.cs" />
32    <Compile Include="System\Diagnostics\SymbolStore\SymDocumentType.cs" />
33    <Compile Include="System\Diagnostics\SymbolStore\SymLanguageType.cs" />
34    <Compile Include="System\Diagnostics\SymbolStore\SymLanguageVendor.cs" />
35  </ItemGroup>
36  <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' or '$(TargetGroup)' == 'uap'">
37    <Compile Include="System\Diagnostics\StackTraceSymbols.CoreCLR.cs" />
38    <ProjectReference Include="..\..\System.Collections\src\System.Collections.csproj" />
39    <ProjectReference Include="..\..\System.Diagnostics.Debug\src\System.Diagnostics.Debug.csproj" />
40    <ProjectReference Include="..\..\System.IO\src\System.IO.csproj" />
41    <ProjectReference Include="..\..\System.IO.FileSystem\src\System.IO.FileSystem.csproj" />
42    <ProjectReference Include="..\..\System.Runtime\src\System.Runtime.csproj" />
43    <ProjectReference Include="..\..\System.Runtime.Extensions\src\System.Runtime.Extensions.csproj" />
44    <ProjectReference Include="..\..\System.Reflection.Metadata\src\System.Reflection.Metadata.csproj" />
45    <ProjectReference Include="..\..\System.Collections.Immutable\src\System.Collections.Immutable.csproj" />
46  </ItemGroup>
47  <ItemGroup Condition="'$(TargetGroup)' != 'uapaot'">
48    <Compile Include="System\Diagnostics\StackFrameExtensions.cs" />
49  </ItemGroup>
50  <ItemGroup Condition="'$(TargetGroup)' == 'uapaot'">
51    <Compile Include="System\Diagnostics\SymbolStore\ISymbolDocumentWriter.cs" />
52  </ItemGroup>
53  <ItemGroup Condition="'$(TargetGroup)' != 'netfx'">
54    <ReferenceFromRuntime Include="System.Private.CoreLib" />
55  </ItemGroup>
56  <ItemGroup Condition="'$(TargetGroup)' == 'netfx'">
57    <Reference Include="mscorlib" />
58  </ItemGroup>
59  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
60</Project>