Skip to content

Commit 27fd292

Browse files
authored
Remove unused packageindex infra (#111002)
1 parent 192f43b commit 27fd292

File tree

6 files changed

+1
-30
lines changed

6 files changed

+1
-30
lines changed

src/coreclr/.nuget/Directory.Build.props

-9
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,13 @@
1212
<MinOSForArch Condition="'$(PackagePlatform)' == 'arm'">win8</MinOSForArch>
1313
<MinOSForArch Condition="'$(PackagePlatform)' == 'arm64'">win10</MinOSForArch>
1414
<PackagePlatform>AnyCPU</PackagePlatform>
15-
16-
<PackageIndexFile>$(MSBuildThisFileDirectory)packageIndex.json</PackageIndexFile>
17-
18-
<!-- coreclr doesn't currently use the index so don't force it to be in sync -->
19-
<SkipIndexCheck>true</SkipIndexCheck>
2015
</PropertyGroup>
2116

2217
<!-- CoreCLR nuget packages shouldn't be published during servicing. -->
2318
<PropertyGroup Condition="'$(PreReleaseVersionLabel)' == 'servicing'">
2419
<IsShipping>false</IsShipping>
2520
</PropertyGroup>
2621

27-
<ItemGroup>
28-
<PackageIndex Condition="'$(MSBuildProjectExtension)' == '.pkgproj'" Include="$(PackageIndexFile)" />
29-
</ItemGroup>
30-
3122
<PropertyGroup>
3223
<!-- build the transport package which includes product and symbols in addition to standard packages
3324
This is a legacy setting as we tend to use symbol packages for symbol indexing and we don't use

src/coreclr/.nuget/packageIndex.json

-2
This file was deleted.

src/installer/pkg/Directory.Build.props

-8
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88
<PropertyGroup>
99
<PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform>
1010
<PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform>
11-
12-
<PackageIndexFile>$(MSBuildThisFileDirectory)packageIndex.json</PackageIndexFile>
13-
14-
<!-- this repo doesn't currently use the index so don't force it to be in sync -->
15-
<SkipIndexCheck>true</SkipIndexCheck>
1611
</PropertyGroup>
1712

18-
<ItemGroup>
19-
<PackageIndex Include="$(PackageIndexFile)" />
20-
</ItemGroup>
2113
</Project>

src/installer/pkg/packageIndex.json

-2
This file was deleted.

src/mono/nuget/Directory.Build.props

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
<Project>
2+
23
<!-- Packaging projects (.pkgproj) are non-SDK-style, so they need to directly import Directory.Build.props -->
34
<Import Project="..\Directory.Build.props" />
45
<Import Project="$(NuGetPackageRoot)\microsoft.dotnet.build.tasks.templating\$(MicrosoftDotNetBuildTasksTemplatingVersion)\build\Microsoft.DotNet.Build.Tasks.Templating.props" />
56
<Import Project="$(NuGetPackageRoot)\microsoft.dotnet.build.tasks.packaging\$(MicrosoftDotNetBuildTasksPackagingVersion)\build\Microsoft.DotNet.Build.Tasks.Packaging.props" />
67

78
<PropertyGroup>
8-
<PackageIndexFile>$(MSBuildThisFileDirectory)packageIndex.json</PackageIndexFile>
99
<PackagePlatform>AnyCPU</PackagePlatform>
10-
11-
<!-- mono doesn't currently use the index so don't force it to be in sync -->
12-
<SkipIndexCheck>true</SkipIndexCheck>
1310
</PropertyGroup>
1411

15-
<ItemGroup>
16-
<PackageIndex Condition="'$(MSBuildProjectExtension)' == '.pkgproj'" Include="$(PackageIndexFile)" />
17-
</ItemGroup>
1812
</Project>

src/mono/nuget/packageIndex.json

-2
This file was deleted.

0 commit comments

Comments
 (0)