File tree 5 files changed +21
-25
lines changed
5 files changed +21
-25
lines changed Original file line number Diff line number Diff line change 6
6
<IncludeBuildOutput >false</IncludeBuildOutput >
7
7
<IncludeSymbols >false</IncludeSymbols >
8
8
9
+ <IsSymbolsPackage Condition =" $(MSBuildProjectName.Contains('.symbols'))" >true</IsSymbolsPackage >
10
+ <PackageIdFolderName >$(MSBuildProjectName.Replace('.symbols', ''))</PackageIdFolderName >
11
+
9
12
<!--
10
13
Our .nupkgproj files have conflicting names with src projects, which puts their intermediate
11
14
output in the same folder (like project.assets.json). Override the intermediate output to
24
27
<PackageReleaseNotes >https://github.com/dotnet/machinelearning/tree/master/Documentation/release-notes</PackageReleaseNotes >
25
28
</PropertyGroup >
26
29
30
+ <ItemGroup >
31
+ <Content Include =" $(PackageAssetsPath)$(PackageIdFolderName)\lib\**\*" Pack =" true" PackagePath =" lib" />
32
+ <Content Include =" $(PackageAssetsPath)$(PackageIdFolderName)\runtimes\**\*" Pack =" true" PackagePath =" runtimes" />
33
+ </ItemGroup >
34
+
35
+ <ItemGroup Condition =" '$(IsSymbolsPackage)' != 'true'" >
36
+ <Content Remove =" $(PackageAssetsPath)$(PackageIdFolderName)\**\*.pdb" />
37
+ <Content Remove =" $(PackageAssetsPath)$(PackageIdFolderName)\**\*.dwarf" />
38
+ <Content Remove =" $(PackageAssetsPath)$(PackageIdFolderName)\**\*.dbg" />
39
+ </ItemGroup >
40
+
27
41
<!-- Work around https://github.com/NuGet/Home/issues/6091 -->
28
42
<ItemDefinitionGroup >
29
43
<PackageReference >
Original file line number Diff line number Diff line change 10
10
<PackageReference Include="Parquet.Net" Version="$(ParquetDotNetPackageVersion)" />
11
11
</ItemGroup>
12
12
13
- <ItemGroup>
14
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\lib\**\*" Pack="true" PackagePath="lib" />
15
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\lib\**\*.xml" Pack="true" PackagePath="lib" />
16
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\runtimes\**\*" Pack="true" PackagePath="runtimes" />
17
- </ItemGroup>
18
-
19
13
</Project>
Original file line number Diff line number Diff line change
1
+ <Project DefaultTargets="Pack">
2
+
3
+ <Import Project="Microsoft.ML.Parquet.nupkgproj" />
4
+
5
+ </Project>
Original file line number Diff line number Diff line change 11
11
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="$(SystemReflectionEmitLightweightPackageVersion)" />
12
12
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="$(SystemThreadingTasksDataflowPackageVersion)" />
13
13
<PackageReference Include="System.CodeDom" Version="$(SystemCodeDomPackageVersion)" />
14
- <PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
15
- </ItemGroup>
16
-
17
- <ItemGroup>
18
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\lib\**\*.dll" Pack="true" PackagePath="lib" />
19
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\lib\**\*.xml" Pack="true" PackagePath="lib" />
20
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\runtimes\**\*.dll" Pack="true" PackagePath="runtimes" />
21
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\runtimes\**\*.dylib" Pack="true" PackagePath="runtimes" />
22
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectName)\runtimes\**\*.so" Pack="true" PackagePath="runtimes" />
14
+ <PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
23
15
</ItemGroup>
24
16
25
17
</Project>
Original file line number Diff line number Diff line change 1
- <Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Pack">
1
+ <Project DefaultTargets="Pack">
2
2
3
3
<Import Project="Microsoft.ML.nupkgproj" />
4
4
5
- <PropertyGroup>
6
- <MSBuildProjectNameWithoutSymbols>$(MSBuildProjectName.Replace('.symbols', ''))</MSBuildProjectNameWithoutSymbols>
7
- </PropertyGroup>
8
-
9
- <ItemGroup>
10
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectNameWithoutSymbols)\lib\**\*" Pack="true" PackagePath="lib" />
11
- <Content Include="$(PackageAssetsPath)$(MSBuildProjectNameWithoutSymbols)\runtimes\**\*" Pack="true" PackagePath="runtimes" />
12
- </ItemGroup>
13
-
14
5
</Project>
You can’t perform that action at this time.
0 commit comments