Skip to content

Commit 140ff5e

Browse files
authored
Remove dotnet-toolset-internal & dotnet-toolset-langpack archives (#47059)
1 parent 856d348 commit 140ff5e

File tree

6 files changed

+6
-65
lines changed

6 files changed

+6
-65
lines changed

Diff for: src/Installer/redist-installer/targets/GenerateLayout.targets

+1-4
Original file line numberDiff line numberDiff line change
@@ -378,14 +378,11 @@
378378
<!-- From Version.targets in SDK redist -->
379379
<PropertyGroup>
380380
<ArtifactNameSdk>dotnet-toolset-internal</ArtifactNameSdk>
381-
<ArtifactNameSdkLanguagePack>dotnet-toolset-langpack</ArtifactNameSdkLanguagePack>
382381
</PropertyGroup>
383382

384383
<!-- From GenerateLayout.targets in SDK redist -->
385384
<PropertyGroup>
386-
<LayoutDirectory>$(ArtifactsBinDir)redist\$(Configuration)\layouts\</LayoutDirectory>
387-
<SdkLayoutOutputDirectory>$(LayoutDirectory)$(ArtifactNameSdk)\</SdkLayoutOutputDirectory>
388-
<SdkLanguagePackOutputDirectory>$(LayoutDirectory)$(ArtifactNameSdkLanguagePack)\</SdkLanguagePackOutputDirectory>
385+
<SdkLayoutOutputDirectory>$(ArtifactsBinDir)redist\$(Configuration)\layouts\$(ArtifactNameSdk)\</SdkLayoutOutputDirectory>
389386
</PropertyGroup>
390387

391388
<!-- https://github.com/dotnet/msbuild/issues/5881#issuecomment-802492423 -->

Diff for: src/Installer/redist-installer/targets/GenerateMSIs.targets

-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@
4141
<CombinedFrameworkSdkHostMSIInstallerFile>$(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension)</CombinedFrameworkSdkHostMSIInstallerFile>
4242
<SdkBundleInstallerOutputGuidString>$(ProductBandCombinedHostHostFxrFrameworkSdkName)</SdkBundleInstallerOutputGuidString>
4343

44-
<!--<SdkDebianIntermediateDirectory>$(IntermediateOutputPath)debian/sdk/</SdkDebianIntermediateDirectory>
45-
<LayoutDirectory Condition=" '$(OSName)' == 'ubuntu' OR '$(OSName)' == 'debian' ">$(SdkDebianIntermediateDirectory)debianLayoutDirectory</LayoutDirectory>
46-
<LayoutDirectory Condition=" '$(OSName)' != 'ubuntu' AND '$(OSName)' != 'debian' ">$(IntermediateOutputPath)layouts</LayoutDirectory>
47-
<SdkLayoutOutputDirectory>$(LayoutDirectory)$(ArtifactNameSdk)</SdkLayoutOutputDirectory>
48-
<MSBuildExtensionsOutputDirectory>$(LayoutDirectory)MSBuildExtensions</MSBuildExtensionsOutputDirectory>-->
49-
5044
<!-- This number comes from arcade and combines the date based build number id and the revision (incremental number per day) -->
5145
<CombinedBuildNumberAndRevision>$(_PatchNumber)</CombinedBuildNumberAndRevision>
5246
<!-- Fallback to 0 when patch number is not set. This happens only during CI. -->

Diff for: src/Layout/redist/redist.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<Import Project="targets\BundledTools.targets" />
2525
<Import Project="targets\PublishDotnetWatch.targets" />
2626
<Import Project="targets\GenerateLayout.targets" />
27-
<Import Project="targets\GenerateArchive.targets" />
2827
<Import Project="targets\OverlaySdkOnLKG.targets" Condition="'$(DotNetBuild)' != 'true'" />
2928
<Import Project="targets\MSBuildExtensions.targets" />
3029

Diff for: src/Layout/redist/targets/GenerateArchive.targets

-29
This file was deleted.

Diff for: src/Layout/redist/targets/GenerateLayout.targets

+5-24
Original file line numberDiff line numberDiff line change
@@ -488,37 +488,18 @@
488488
GetDotnetWatchRedistOutputDirectory"
489489
AfterTargets="Build">
490490
<PropertyGroup>
491-
<LayoutDirectory>$(BaseOutputPath)$(Configuration)\layouts\</LayoutDirectory>
492-
<SdkLayoutOutputDirectory>$(LayoutDirectory)$(ArtifactNameSdk)</SdkLayoutOutputDirectory>
493-
<SdkLanguagePackOutputDirectory>$(LayoutDirectory)$(ArtifactNameSdkLanguagePack)</SdkLanguagePackOutputDirectory>
491+
<SdkLayoutOutputDirectory>$(BaseOutputPath)$(Configuration)\layouts\$(ArtifactNameSdk)</SdkLayoutOutputDirectory>
494492
</PropertyGroup>
495493

496494
<ItemGroup>
497495
<ToolsetLayoutInput Include="$(OutputPath)/**/*" />
498-
<ToolsetLanguagePackInput Include="$(OutputPath)/**/*.resources.dll" />
499-
500-
<!--
501-
Include redist outputs published by dotnet-watch.csproj build.
502-
-->
496+
<!-- Include redist outputs published by dotnet-watch.csproj build. -->
503497
<ToolsetLayoutInput Include="$(DotnetWatchRedistOutputDirectory)/**/*" LayoutSubdirectory="DotnetTools\dotnet-watch\"/>
504-
<ToolsetLanguagePackInput Include="$(DotnetWatchRedistOutputDirectory)/**/*.resources.dll" LayoutSubdirectory="DotnetTools\dotnet-watch\"/>
505498
</ItemGroup>
506499

507-
<!-- Set up Items Defining Layouts for easy change -->
508-
<ItemGroup>
509-
<LayoutDefinition Include="Sdk">
510-
<InputFiles>@(ToolsetLayoutInput)</InputFiles>
511-
<OutputFiles>@(ToolsetLayoutInput -> '$(SdkLayoutOutputDirectory)\%(LayoutSubdirectory)%(RecursiveDir)%(Filename)%(Extension)')</OutputFiles>
512-
</LayoutDefinition>
513-
514-
<LayoutDefinition Include="SdkLanguagePack">
515-
<InputFiles>@(ToolsetLanguagePackInput)</InputFiles>
516-
<OutputFiles>@(ToolsetLanguagePackInput -> '$(SdkLanguagePackOutputDirectory)\%(LayoutSubdirectory)%(RecursiveDir)%(Filename)%(Extension)')</OutputFiles>
517-
</LayoutDefinition>
518-
</ItemGroup>
519-
520-
<Copy SourceFiles="%(LayoutDefinition.InputFiles)"
521-
DestinationFiles="%(LayoutDefinition.OutputFiles)"
500+
<Copy SourceFiles="@(ToolsetLayoutInput)"
501+
DestinationFiles="@(ToolsetLayoutInput->'$(SdkLayoutOutputDirectory)\%(LayoutSubdirectory)%(RecursiveDir)%(Filename)%(Extension)')"
522502
SkipUnchangedFiles="true" />
523503
</Target>
504+
524505
</Project>

Diff for: src/Layout/redist/targets/Version.targets

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project>
22
<PropertyGroup>
33
<ArtifactNameSdk>dotnet-toolset-internal</ArtifactNameSdk>
4-
<ArtifactNameSdkLanguagePack>dotnet-toolset-langpack</ArtifactNameSdkLanguagePack>
54
</PropertyGroup>
65
</Project>

0 commit comments

Comments
 (0)