Skip to content

Commit b21c9b3

Browse files
authored
Remove slash from PackagePath (#2285)
1 parent e78c255 commit b21c9b3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

pkg/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
</ItemGroup>
3838

3939
<ItemGroup Condition="'$(IncludeMLNetNotices)' != 'false'">
40-
<Content Include="$(RepoRoot)\THIRD-PARTY-NOTICES.TXT" Pack="true" PackagePath="\" />
41-
<Content Include="$(RepoRoot)\LICENSE" Pack="true" PackagePath="\" />
40+
<Content Include="$(RepoRoot)\THIRD-PARTY-NOTICES.TXT" Pack="true" PackagePath="" />
41+
<Content Include="$(RepoRoot)\LICENSE" Pack="true" PackagePath=""/>
4242
</ItemGroup>
4343

4444
<ItemGroup Condition="'$(IsSymbolsPackage)' != 'true'">

pkg/Microsoft.ML.Mkl.Redist/Microsoft.ML.Mkl.Redist.nupkgproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Authors>Intel</Authors>
55
<TargetFramework>netstandard2.0</TargetFramework>
6-
<PackageLicenseFile>NOTICE.txt</PackageLicenseFile>
6+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
77
<PackageDescription>$(MSBuildProjectName) contains the MKL library redistributed as a NuGet package.</PackageDescription>
88
<PackageTags>$(PackageTags) MLNET MKL</PackageTags>
99
</PropertyGroup>
@@ -14,6 +14,6 @@
1414

1515
<ItemGroup>
1616
<Content Include="..\common\CommonPackage.props" Pack="true" PackagePath="build\netstandard2.0\$(MSBuildProjectName).props" />
17-
<Content Include="$(PackagesDir)\mlnetmkldeps\$(MlNetMklDepsPackageVersion)\LICENSE.txt" Pack="true" PackagePath=".\NOTICE.txt" />
17+
<Content Include="$(PackagesDir)\mlnetmkldeps\$(MlNetMklDepsPackageVersion)\LICENSE.txt" Pack="true" PackagePath="" />
1818
</ItemGroup>
1919
</Project>

pkg/Microsoft.ML.Recommender/Microsoft.ML.Recommender.nupkgproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ItemGroup>
99
<ProjectReference Include="../Microsoft.ML/Microsoft.ML.nupkgproj" />
1010
<Content Include="..\common\CommonPackage.props" Pack="true" PackagePath="build\netstandard2.0\$(MSBuildProjectName).props" />
11-
<Content Include="$(SourceDir)Native\MatrixFactorizationNative\libmf\COPYRIGHT" Pack="true" PackagePath=".\" />
11+
<Content Include="$(SourceDir)Native\MatrixFactorizationNative\libmf\COPYRIGHT" Pack="true" PackagePath="" />
1212
</ItemGroup>
1313

1414
</Project>

pkg/Microsoft.ML.TensorFlow.Redist/Microsoft.ML.TensorFlow.Redist.nupkgproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<ItemGroup>
2121
<Content Include="..\common\CommonPackage.props" Pack="true" PackagePath="build\netstandard2.0\$(MSBuildProjectName).props" />
22-
<Content Include="$(PackageAssetsPath)$(PackageIdFolderName)\LICENSE.txt" Pack="true" PackagePath=".\" />
23-
<Content Condition="Exists('$(PackageAssetsPath)$(PackageIdFolderName)\THIRD_PARTY_NOTICES.txt')" Include="$(PackageAssetsPath)$(PackageIdFolderName)\THIRD_PARTY_NOTICES.txt" Pack="true" PackagePath=".\" />
22+
<Content Include="$(PackageAssetsPath)$(PackageIdFolderName)\LICENSE.txt" Pack="true" PackagePath="" />
23+
<Content Condition="Exists('$(PackageAssetsPath)$(PackageIdFolderName)\THIRD_PARTY_NOTICES.txt')" Include="$(PackageAssetsPath)$(PackageIdFolderName)\THIRD_PARTY_NOTICES.txt" Pack="true" PackagePath="" />
2424
</ItemGroup>
2525
</Project>

0 commit comments

Comments
 (0)