|
2 | 2 | <Project Sdk="Microsoft.NET.Sdk">
|
3 | 3 |
|
4 | 4 | <PropertyGroup>
|
5 |
| - <TargetFrameworks>net462</TargetFrameworks> |
| 5 | + <TargetFrameworks>net462;netstandard20</TargetFrameworks> |
6 | 6 | <RootNamespace>Microsoft.Diagnostics.HeapDump</RootNamespace>
|
7 | 7 | <AssemblyName>Microsoft.Diagnostics.HeapDump</AssemblyName>
|
8 | 8 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
11 | 11 | <Company>Microsoft</Company>
|
12 | 12 | <Description>General Utility library</Description>
|
13 | 13 | <Copyright>Copyright © Microsoft 2010</Copyright>
|
| 14 | + <Version>$(HeapDumpDllVersion)</Version> |
14 | 15 | </PropertyGroup>
|
15 | 16 |
|
16 | 17 | <PropertyGroup>
|
|
34 | 35 | </ItemGroup>
|
35 | 36 |
|
36 | 37 | <ItemGroup>
|
37 |
| - <Compile Include="..\HeapDump\*.cs" /> |
| 38 | + <Compile Include="..\HeapDump\GCHeapDump.cs" /> |
38 | 39 | <Compile Include="..\HeapDump\Utilities\*.cs" />
|
39 |
| - <Compile Include="..\HeapDump\Debugger\**\*.cs" /> |
40 | 40 | <Compile Include="..\HeapDumpCommon\DotNetHeapInfo.cs" />
|
41 | 41 | <Compile Include="..\PerfView\memory\ETWClrProfilerTraceEventParser.cs" />
|
42 | 42 | <Compile Include="..\PerfView\memory\JavaScriptDumpGraph.cs" />
|
43 | 43 | <Compile Include="..\PerfView\memory\JavaScriptHeapDumper.cs" />
|
44 | 44 | <Compile Include="..\PerfView\PerfViewLogger.cs" />
|
45 |
| - <Compile Include="..\PerfView\Triggers.cs" /> |
46 | 45 | <Compile Include="..\ETWHeapDump\DotNetHeapDumper.cs" />
|
47 | 46 | <Compile Include="..\ETWHeapDump\DotNetHeapDumpGraphReader.cs" />
|
48 | 47 | </ItemGroup>
|
49 | 48 |
|
| 49 | + <!-- Only include these files in the net462 version because there are some non-netstandard dependencies. --> |
| 50 | + <ItemGroup Condition="'$(TargetFramework)' == 'net462'"> |
| 51 | + <Compile Include="..\HeapDump\CollectionMetadata.cs" /> |
| 52 | + <Compile Include="..\HeapDump\Debugger\**\*.cs" /> |
| 53 | + <Compile Include="..\HeapDump\GCHeapDumper.cs" /> |
| 54 | + <Compile Include="..\HeapDump\HeapDumpException.cs" /> |
| 55 | + <Compile Include="..\HeapDump\HeapDumpHResult.cs" /> |
| 56 | + <Compile Include="..\PerfView\Triggers.cs" /> |
| 57 | + </ItemGroup> |
| 58 | + |
50 | 59 | <!-- ******************* Signing Support *********************** -->
|
51 | 60 | <ItemGroup>
|
52 | 61 | <FilesToSign Include="$(TargetPath)">
|
|
0 commit comments