|
53 | 53 |
|
54 | 54 | <!-- Always include symbols in runtime packs, otherwise set %(FilesToPackage.IsSymbolFile) to true to only include in symbols.nupkg files -->
|
55 | 55 | <ItemGroup Condition=" '$(PlatformPackageType)' == 'RuntimePack' ">
|
56 |
| - <Content Include="$(_packagePath)**\*.pdb" Pack="true" PackagePath="/" /> |
| 56 | + <Content Include="$(_packagePath)**/*.pdb" Pack="true" PackagePath="/" /> |
57 | 57 | </ItemGroup>
|
58 | 58 |
|
59 | 59 | <ItemGroup>
|
|
84 | 84 | <_FxAssembliesToPackage Include="$(_packagePath)$(_PackTargetPath)/*.dll" />
|
85 | 85 | <FilesToPackage Include="@(_FxAssembliesToPackage)" TargetPath="$(_PackTargetPath)" />
|
86 | 86 | <FilesToPackage Include="@(_FxAssembliesToPackage->'%(RelativeDir)%(Filename).pdb')" TargetPath="$(_PackTargetPath)" IsSymbolFile="true" Condition=" '$(PlatformPackageType)' != 'RuntimePack' " />
|
| 87 | + <_RuntimeHeadersToPackage Include="$(_packagePath)$(_PackNativePath)/**/*.h" Condition=" '$(PlatformPackageType)' == 'RuntimePack' " /> |
| 88 | + <FilesToPackage Include="@(_RuntimeHeadersToPackage)" TargetPath="$(_PackNativePath)/%(RecursiveDir)" /> |
87 | 89 | <NativeRuntimeAsset Include="$(_packagePath)$(_PackNativePath)/*.a" />
|
88 | 90 | <NativeRuntimeAsset Include="$(_packagePath)$(_PackNativePath)/*.dylib" />
|
89 | 91 | <FrameworkListFileClass Include="@(_FxAssembliesToPackage->'%(Filename)%(Extension)')" Profile="$(_PlatformName)" />
|
90 | 92 | <FrameworkListFileClass Include="@(NativeRuntimeAsset->'%(Filename)%(Extension)')" Profile="$(_PlatformName)" />
|
91 | 93 | </ItemGroup>
|
92 | 94 | <ItemGroup Condition=" '$(PlatformPackageType)' == 'ToolPack' " >
|
93 |
| - <_ToolsFilesToPackage Include="$(_packagePath)**" Exclude="$(_packagePath)**\*.pdb" /> |
94 |
| - <_ToolsSymbolsToPackage Include="$(_packagePath)**\*.pdb" /> |
| 95 | + <_ToolsFilesToPackage Include="$(_packagePath)**" Exclude="$(_packagePath)**/*.pdb" /> |
| 96 | + <_ToolsSymbolsToPackage Include="$(_packagePath)**/*.pdb" /> |
95 | 97 | <FilesToPackage Include="@(_ToolsFilesToPackage)" TargetPath="%(RecursiveDir)" />
|
96 | 98 | <!-- Use a relative path one directory up to circumvent the use of a root 'runtimes' folder for symbols files declared in
|
97 | 99 | https://github.com/dotnet/arcade/blob/2b1931c05dd6ceb89120131a8b39eaa81735179a/src/Microsoft.DotNet.SharedFramework.Sdk/targets/sharedfx.targets#L569
|
|
0 commit comments