Skip to content

Commit 444483c

Browse files
committed
Remove detection of and de-assemble/re-assemble of read only ref pkgs
With the completion of #1497, the need to detect and remove these read only ref packages has been removed. All packages that we have identified as read-only in the past have been included in source-build-reference-packages. If any new ones show up, they will show up as prebuilts and can be added to the source-build-reference-packages repo.
1 parent 1f640c6 commit 444483c

File tree

6 files changed

+1
-393
lines changed

6 files changed

+1
-393
lines changed

build-source-tarball.sh

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ find $SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/nuget-packages -name '*.nu
301301
# Copy reference-packages from bin dir to reference-packages directory.
302302
# See corresponding change in dir.props to change ReferencePackagesBasePath conditionally in offline build.
303303
mkdir -p $TARBALL_ROOT/packages/reference
304-
cp -r $SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/reference-packages/source $TARBALL_ROOT/packages/reference/source
305-
cp -r $SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/reference-packages/staging $TARBALL_ROOT/packages/reference/staging
306304

307305
# Copy tarballs to ./packages/archive directory
308306
if [[ -d "$SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/external-tarballs" && ! -z "$(find $SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/external-tarballs -iname '*.tar.gz')" ]]; then
@@ -339,14 +337,7 @@ if [ $INCLUDE_LEAK_DETECTION -eq 1 ]; then
339337
"$CLI_PATH/dotnet" publish -o $FULL_TARBALL_ROOT/tools-local/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection $SCRIPT_ROOT/tools-local/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection.csproj
340338
fi
341339

342-
echo 'Removing reference-only packages from tarball prebuilts...'
343-
344-
for ref_package in $(find $SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/reference-packages/packages-to-delete/ -name '*.nupkg' | tr '[:upper:]' '[:lower:]')
345-
do
346-
if [ -e $TARBALL_ROOT/packages/prebuilt/$(basename $ref_package) ]; then
347-
rm $TARBALL_ROOT/packages/prebuilt/$(basename $ref_package)
348-
fi
349-
done
340+
echo 'Removing reference packages from tarball prebuilts...'
350341

351342
if [ -d "$CUSTOM_REF_PACKAGES_DIR" ]; then
352343
allRefPkgs=(`ls "$CUSTOM_REF_PACKAGES_DIR" | tr '[:upper:]' '[:lower:]'`)
@@ -404,35 +395,6 @@ if [ $SKIP_PREBUILT_ENFORCEMENT -ne 1 ]; then
404395
fi
405396
fi
406397

407-
echo 'Removing source-built, previously source-built packages and reference packages from il pkg src...'
408-
OLDIFS=$IFS
409-
410-
allBuiltPkgs=(`ls $SCRIPT_ROOT/bin/obj/$targetArchitecture/Release/blob-feed/packages/*.nupkg | xargs -n1 basename | tr '[:upper:]' '[:lower:]'`)
411-
pushd $TARBALL_ROOT/packages/reference/staging/
412-
ilSrcPaths=(`find . -maxdepth 2 -mindepth 2`)
413-
popd
414-
415-
for path in ${ilSrcPaths[@]}; do
416-
IFS='/'
417-
read -a splitLine <<< "$path"
418-
remove=false
419-
if [[ " ${allRefPkgs[@]} " =~ " ${splitLine[1]}.${splitLine[2]}.nupkg " ]]; then
420-
remove=true
421-
fi
422-
if [[ " ${allSourceBuiltPkgs[@]} " =~ " ${splitLine[1]}.${splitLine[2]}.nupkg " ]]; then
423-
remove=true
424-
fi
425-
if [[ " ${allBuiltPkgs[@]} " =~ " ${splitLine[1]}.${splitLine[2]}.nupkg " ]]; then
426-
remove=true
427-
fi
428-
if [[ "$remove" == "true" ]]; then
429-
rm -rf "$TARBALL_ROOT/packages/reference/staging/$path"
430-
rm -rf "$TARBALL_ROOT/packages/reference/source/$path"
431-
fi
432-
done
433-
434-
IFS=$OLDIFS
435-
436398
echo 'Recording commits for the source-build repo and all submodules, to aid in reproducibility...'
437399

438400
cat >$TARBALL_ROOT/source-build-info.txt << EOF

build.proj

Lines changed: 0 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<Import Project="eng/Versions.props" Condition="'$(OfflineBuild)' != 'true'" />
55

66
<UsingTask AssemblyFile="$(LeakDetectionTasksAssembly)" TaskName="CheckForPoison" />
7-
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="CopyReferenceOnlyPackages" />
87
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="WriteUsageBurndownData" />
98
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReplaceTextInFile" />
109

@@ -53,161 +52,6 @@
5352
<RemoveDir Directories="$(BaseOutputPath)" />
5453
</Target>
5554

56-
<!--
57-
Workaround: Skip Windows_NT.
58-
59-
When trying to CopyReferenceOnlyPackages, it gets errors like:
60-
61-
System.IO.IOException: The process cannot access the file
62-
'<root>\packages\microsoft.codeanalysis.compilers\2.6.0-beta3-62316-02\microsoft.codeanalysis.compilers.nuspec'
63-
because it is being used by another process.
64-
65-
We don't support producing a tarball on Windows, so there's little value in fixing this.
66-
-->
67-
<Target Name="CopyAndDisassembleReferenceOnlyPackages"
68-
AfterTargets="Build"
69-
Condition="'$(OfflineBuild)' != 'true' and '$(ArchiveDownloadedPackages)' == 'true' and '$(OS)' != 'Windows_NT'">
70-
71-
<CopyReferenceOnlyPackages
72-
PackageCacheDir="$(PackagesDir)"
73-
DllDestinationDir="$(ReferencePackagesSourceDir)"
74-
IdentifiedPackagesDir="$(ReferencePackagesToDeleteDir)"
75-
DestinationDir="$(ReferencePackagesStagingDir)"
76-
/>
77-
78-
<!-- Ildasm has trouble writing to paths that are longer than 260 chars. (see https://github.com/dotnet/coreclr/issues/20397)
79-
Create a temporary path to write il output which will then be copied back to the reference-packages/source dir.
80-
-->
81-
<PropertyGroup>
82-
<TempPath>$([System.IO.Path]::GetTempPath())</TempPath>
83-
<IldasmTempOutputFolderName>$([System.IO.Path]::GetRandomFileName())</IldasmTempOutputFolderName>
84-
<IldasmTempOutputPath>$([System.IO.Path]::Combine($(TempPath),$(IldasmTempOutputFolderName)))/</IldasmTempOutputPath>
85-
</PropertyGroup>
86-
87-
<ItemGroup>
88-
<ReferenceOnlyPackages Include="$(ReferencePackagesToDeleteDir)**/*.nupkg" />
89-
<ReferenceOnlyPackageDlls Include="$(ReferencePackagesSourceDir)**/*.dll" />
90-
</ItemGroup>
91-
92-
<!-- Temporary workaround to exclude dlls that can't be round-tripped, until Aspnet is built
93-
They'll end up in the source directory as dlls for now
94-
-->
95-
<ItemGroup>
96-
<!-- Microsoft.AspNet.App DLLs that include .resource files -->
97-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Antiforgery.dll" />
98-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authentication.OAuth.dll" />
99-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authentication.dll" />
100-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authorization.dll" />
101-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Cors.dll" />
102-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Cryptography.Internal.dll" />
103-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.DataProtection.Abstractions.dll" />
104-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.DataProtection.Extensions.dll" />
105-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.DataProtection.dll" />
106-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Diagnostics.dll" />
107-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Hosting.dll" />
108-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Http.Abstractions.dll" />
109-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Identity.dll" />
110-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Localization.dll" />
111-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Abstractions.dll" />
112-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Core.dll" />
113-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Cors.dll" />
114-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.DataAnnotations.dll" />
115-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Formatters.Xml.dll" />
116-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Razor.dll" />
117-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.RazorPages.dll" />
118-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.TagHelpers.dll" />
119-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.ViewFeatures.dll" />
120-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authorization.Policy.dll" />
121-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Razor.Runtime.dll" />
122-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Rewrite.dll" />
123-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Routing.dll" />
124-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.HttpSys.dll" />
125-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.IIS.dll" />
126-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.IIS.CoreStrings.dll" />
127-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Core.dll" />
128-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.dll" />
129-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketsStrings.dll" />
130-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll" />
131-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Session.dll" />
132-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.StaticFiles.dll" />
133-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.WebUtilities.dll" />
134-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Binder.dll" />
135-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.CommandLine.dll" />
136-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.FileExtensions.dll" />
137-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Ini.dll" />
138-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Json.dll" />
139-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.dll" />
140-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.UserSecrets.dll" />
141-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Xml.dll" />
142-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.DependencyInjection.Abstractions.dll" />
143-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.DependencyInjection.dll" />
144-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.DependencyModel.dll" />
145-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Http.dll" />
146-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Identity.Core.dll" />
147-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Localization.dll" />
148-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Logging.Abstractions.dll" />
149-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Logging.Abstractions.Resource.dll" />
150-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Options.dll" />
151-
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Primitives.dll" />
152-
</ItemGroup>
153-
<!-- End Temporary workaround -->
154-
155-
<Message Importance="High" Text="Reference-only Packages:" />
156-
<Message Importance="High" Text="%(ReferenceOnlyPackages.Identity)" />
157-
158-
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Disassembling @(ReferenceOnlyPackageDlls->Count()) dlls" />
159-
<MakeDir Directories="$(IldasmTempOutputPath)%(ReferenceOnlyPackageDlls.RecursiveDir)" />
160-
<Exec Command="$(IldasmPath) %(ReferenceOnlyPackageDlls.Identity) -all -out=$(IldasmTempOutputPath)%(ReferenceOnlyPackageDlls.RecursiveDir)%(ReferenceOnlyPackageDlls.Filename).il" />
161-
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Disassembly done." />
162-
163-
<ItemGroup>
164-
<IlSourceFiles Include="$(IldasmTempOutputPath)/**/*.il" />
165-
<OldLicenseFiles Include="$(ReferencePackagesStagingDir)/**/dotnet_library_license.txt" />
166-
<OldLicenseFiles Include="$(ReferencePackagesStagingDir)/**/License.rtf" />
167-
<RefAssyNuspecFiles Include="$(ReferencePackagesStagingDir)/**/*.nuspec" />
168-
</ItemGroup>
169-
170-
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Copying @(IlSourceFiles->Count()) IL source files" />
171-
<Copy SourceFiles="@(IlSourceFiles)" DestinationFiles="$(ReferencePackagesSourceDir)%(IlSourceFiles.RecursiveDir)%(IlSourceFiles.Filename).il" />
172-
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Copying IL source files done." />
173-
174-
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Deleting disassembled dlls and temp il source" />
175-
<Delete Files="@(ReferenceOnlyPackageDlls)" />
176-
<RemoveDir Directories="$(IldasmTempOutputPath)" />
177-
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Deleting disassembled dlls and temp il source done." />
178-
179-
<!-- Update licenseUrl to MIT license where needed in nuspec files -->
180-
<ReplaceTextInFile InputFile="%(RefAssyNuspecFiles.Identity)"
181-
OldText="http://go.microsoft.com/fwlink/?LinkId=329770"
182-
NewText="https://microsoft.mit-license.org/" />
183-
<ReplaceTextInFile InputFile="%(RefAssyNuspecFiles.Identity)"
184-
OldText="https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm"
185-
NewText="https://microsoft.mit-license.org/" />
186-
<ReplaceTextInFile InputFile="%(RefAssyNuspecFiles.Identity)"
187-
OldText="http://go.microsoft.com/fwlink/?LinkId=529443"
188-
NewText="https://microsoft.mit-license.org/" />
189-
</Target>
190-
191-
<Target Name="ReplaceLicenseFiles"
192-
AfterTargets="CopyAndDisassembleReferenceOnlyPackages"
193-
Outputs="%(OldLicenseFiles.Identity)"
194-
Condition="'$(OfflineBuild)' != 'true' and '$(ArchiveDownloadedPackages)' == 'true' and '$(OS)' != 'Windows_NT'">
195-
<!-- Create Item of all unique directories containing old licenses -->
196-
<CreateItem Include="%(OldLicenseFiles.RelativeDir)">
197-
<Output TaskParameter="Include" ItemName="DestinationDirs" />
198-
</CreateItem>
199-
200-
<PropertyGroup>
201-
<DestinationDirIdentity>%(DestinationDirs.Identity)</DestinationDirIdentity>
202-
</PropertyGroup>
203-
<ItemGroup>
204-
<NewLicenseFile Include="$(ProjectDir)LICENSE.txt" />
205-
</ItemGroup>
206-
<Copy SourceFiles="@(NewLicenseFile)" DestinationFiles="@(NewLicenseFile->'$(DestinationDirIdentity)%(RecursiveDir)%(Filename)%(Extension)')" />
207-
208-
<Delete Files="@(OldLicenseFiles)" />
209-
</Target>
210-
21155
<Target Name="DownloadSourceBuildReferencePackages"
21256
AfterTargets="Build"
21357
Condition="'$(OfflineBuild)' != 'true' and '$(OS)' != 'Windows_NT' and '$(SkipDownloadingReferencePackages)' != 'true'">

dir.props

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@
101101
<RoslynDebugPathTargetDir>$(BaseOutputPath)roslyn-debug/</RoslynDebugPathTargetDir>
102102
<AspNetRazorBuildServerLogDir>$(BaseOutputPath)aspnet-debug</AspNetRazorBuildServerLogDir>
103103
<AspNetRazorBuildServerLogFile>$(AspNetRazorBuildServerLogDir)razor-build-server.log</AspNetRazorBuildServerLogFile>
104-
<IlasmPath Condition="'$(OfflineBuild)' != 'true'">invalid: ILAsm is not expected to be needed in the online build</IlasmPath>
105-
<IlasmPath Condition="'$(OfflineBuild)' == 'true'">$(PrebuiltSourceBuiltPackagesPath)coreclr-tools/ilasm</IlasmPath>
106-
<IldasmPath Condition="'$(OfflineBuild)' != 'true'">$(ToolPackageExtractDir)coreclr-tools/ildasm</IldasmPath>
107-
<IldasmPath Condition="'$(OfflineBuild)' == 'true'">invalid: ILDasm is not expected to be needed in the offline build</IldasmPath>
108104
<!-- Dir where git info is generated during online builds. -->
109105
<GitInfoOutputDir>$(BaseOutputPath)git-info/</GitInfoOutputDir>
110106
<!-- Dir where git info is placed inside the tarball. -->
@@ -135,15 +131,12 @@
135131
-->
136132
<ExternalTarballsDir Condition="'$(OfflineBuild)' == 'true'">$(ProjectDir)packages/archive/</ExternalTarballsDir>
137133
<ReferencePackagesBaseDir Condition="'$(OfflineBuild)' == 'true'">$(ProjectDir)packages/reference/</ReferencePackagesBaseDir>
138-
<ReferencePackagesStagingDir>$(ReferencePackagesBaseDir)staging/</ReferencePackagesStagingDir>
139-
<ReferencePackagesSourceDir>$(ReferencePackagesBaseDir)source/</ReferencePackagesSourceDir>
140134
<ReferencePackagesDir>$(ReferencePackagesBaseDir)packages/</ReferencePackagesDir>
141135
<ReferencePackagesDir Condition="'$(CustomReferencePackagesPath)' != ''">$(CustomReferencePackagesPath)/</ReferencePackagesDir>
142136
<SourceBuiltArtifactsTarballName>Private.SourceBuilt.Artifacts</SourceBuiltArtifactsTarballName>
143137
<SourceBuiltArtifactsTarballUrl>https://dotnetcli.azureedge.net/source-built-artifacts/assets/</SourceBuiltArtifactsTarballUrl>
144138
<ReferencePackagesTarballName>Private.SourceBuild.ReferencePackages</ReferencePackagesTarballName>
145139
<ReferencePackagesTarballUrl>https://dotnetfeed.blob.core.windows.net/dotnet-core/assets/</ReferencePackagesTarballUrl>
146-
<ReferencePackagesToDeleteDir>$(ReferencePackagesBaseDir)packages-to-delete/</ReferencePackagesToDeleteDir>
147140
<BaselineDataFile>$(ToolsLocalDir)prebuilt-baseline-</BaselineDataFile>
148141
<OfflineBaselineDataFile>$(BaselineDataFile)offline.xml</OfflineBaselineDataFile>
149142
<OnlineBaselineDataFile>$(BaselineDataFile)online.xml</OnlineBaselineDataFile>

support/tarball/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,5 @@ export NUGET_PACKAGES="$SCRIPT_ROOT/packages/restored/"
136136

137137
$CLI_ROOT/dotnet $CLI_ROOT/sdk/$SDK_VERSION/MSBuild.dll /bl:BuildXPlatTasks.binlog $SCRIPT_ROOT/tools-local/init-build.proj /t:BuildXPlatTasks ${MSBUILD_ARGUMENTS[@]} "$@"
138138

139-
echo "Rebuild reference assemblies"
140-
$CLI_ROOT/dotnet $CLI_ROOT/sdk/$SDK_VERSION/MSBuild.dll /bl:initBuildReferenceAssemblies.binlog $SCRIPT_ROOT/tools-local/init-build.proj /t:BuildReferenceAssemblies ${MSBUILD_ARGUMENTS[@]} "$@"
141-
142139
$CLI_ROOT/dotnet $CLI_ROOT/sdk/$SDK_VERSION/MSBuild.dll /bl:initWriteDynamicPropsToStaticPropsFiles.binlog $SCRIPT_ROOT/tools-local/init-build.proj /t:WriteDynamicPropsToStaticPropsFiles /p:GeneratingStaticPropertiesFile=true ${MSBUILD_ARGUMENTS[@]} "$@"
143140
$CLI_ROOT/dotnet $CLI_ROOT/sdk/$SDK_VERSION/MSBuild.dll /bl:build.binlog $SCRIPT_ROOT/build.proj ${MSBUILD_ARGUMENTS[@]} "$@"

0 commit comments

Comments
 (0)