This repository has been archived by the owner on Feb 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Mono linker binaries to e4cc70f4b50. From here on, we start t…
…aking the linker build (monolinker.exe) supplied with the Mono wasm CI output.
- Loading branch information
1 parent
bb70aa2
commit 1eafba7
Showing
11 changed files
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletions
18
src/Microsoft.AspNetCore.Blazor.Mono/HowToUpgradeMonoLinker.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
# Upgrading Mono Linker | ||
|
||
* Download the latest build from CI on dnceng | ||
* Go to build pipeline on dnceng internal | ||
* Read the build logs for the latest good build to find the URL of the last-pushed package, e.g., https://dotnetfeed.blob.core.windows.net/dotnet-core/flatcontainer/illink.tasks/0.1.6-prerelease.19263.1/illink.tasks.0.1.6-prerelease.19263.1.nupkg and download it | ||
* Unzip the nupkg | ||
* Open its `tools\netcoreapp2.0` directory | ||
* Copy the following to `(blazorroot)/mono/tools/binaries/illink`: | ||
* `illink.dll` | ||
* `Mono.Cecil.dll` | ||
* `Mono.Cecil.Mdb.dll` | ||
* `Mono.Cecil.Pdb.dll` | ||
* First upgrade to whatever version of Mono you want to use as per `HowToUpgradeMono.md` | ||
* In the Mono build you downloaded and extracted, find the `wasm-bcl\wasm_tools` dir. From this directory, copy the following to `(blazorroot)/src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/monolinker`: | ||
* `monolinker.exe` | ||
* `Mono.Cecil.dll` | ||
|
||
Presumably you should also copy any other new dependencies it has, though it's not necessary to copy `NuGet.*.dll` or `Newtonsoft.Json.dll` or the `runtimes` subdirectory (since we execute it as a framework-dependent app). | ||
That should be all you need. Note that the target dir also contains `monolinker.runtimeconfig.json`, which is necessary for `dotnet monolinker.exe` to work. | ||
|
||
Note that `(blazorroot)/mono/tools/binaries/illink` also contains `illink.runtimeconfig.json`, which is necessary for `dotnet illink.dll` to work. | ||
Now commit this with a message similar to `Upgrade Mono linker binaries to <their-commit-sha>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rosoft.AspNetCore.Blazor.Mono/build/netstandard1.0/Microsoft.AspNetCore.Blazor.Mono.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-47.6 KB
src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/illink/Mono.Cecil.Mdb.dll
Binary file not shown.
Binary file removed
BIN
-94.6 KB
src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/illink/Mono.Cecil.Pdb.dll
Binary file not shown.
Binary file removed
BIN
-343 KB
src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/illink/Mono.Cecil.dll
Binary file not shown.
Binary file removed
BIN
-169 KB
src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/illink/illink.dll
Binary file not shown.
Binary file added
BIN
+337 KB
src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/monolinker/Mono.Cecil.dll
Binary file not shown.
Binary file added
BIN
+157 KB
src/Microsoft.AspNetCore.Blazor.Mono/tools/binaries/monolinker/monolinker.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
...binaries/illink/illink.runtimeconfig.json → .../monolinker/monolinker.runtimeconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters