|
|
%!s(int64=5) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| System.Private.CoreLib | %!s(int64=6) %!d(string=hai) anos | |
| corerun | %!s(int64=6) %!d(string=hai) anos | |
| gen-xunit-runner | %!s(int64=6) %!d(string=hai) anos | |
| sample | %!s(int64=6) %!d(string=hai) anos | |
| tools | %!s(int64=6) %!d(string=hai) anos | |
| .gitignore | %!s(int64=6) %!d(string=hai) anos | |
| CoreFX.issues.rsp | %!s(int64=6) %!d(string=hai) anos | |
| CoreFX.issues_linux.rsp | %!s(int64=6) %!d(string=hai) anos | |
| CoreFX.issues_linux_arm64.rsp | %!s(int64=6) %!d(string=hai) anos | |
| CoreFX.issues_mac.rsp | %!s(int64=6) %!d(string=hai) anos | |
| CoreFX.issues_windows.rsp | %!s(int64=6) %!d(string=hai) anos | |
| Directory.Build.props | %!s(int64=6) %!d(string=hai) anos | |
| Directory.Build.targets | %!s(int64=6) %!d(string=hai) anos | |
| Makefile | %!s(int64=5) %!d(string=hai) anos | |
| NuGet.config | %!s(int64=6) %!d(string=hai) anos | |
| README.md | %!s(int64=6) %!d(string=hai) anos | |
| build.cmd | %!s(int64=6) %!d(string=hai) anos | |
| build.ps1 | %!s(int64=6) %!d(string=hai) anos | |
| build.sh | %!s(int64=6) %!d(string=hai) anos | |
| build.targets | %!s(int64=6) %!d(string=hai) anos | |
| corefx-restore.csproj | %!s(int64=6) %!d(string=hai) anos | |
| corefx-tests-restore.proj | %!s(int64=6) %!d(string=hai) anos | |
| init-tools.ps1 | %!s(int64=6) %!d(string=hai) anos | |
| init-tools.sh | %!s(int64=6) %!d(string=hai) anos | |
| metapackage-llvm.nuspec | %!s(int64=6) %!d(string=hai) anos | |
| metapackage.nuspec | %!s(int64=6) %!d(string=hai) anos | |
| roslyn-restore.csproj | %!s(int64=6) %!d(string=hai) anos | |
| run-tests-corefx.ps1 | %!s(int64=6) %!d(string=hai) anos | |
| runtime-llvm.nuspec | %!s(int64=6) %!d(string=hai) anos | |
| runtime.nuspec | %!s(int64=6) %!d(string=hai) anos | |
| xunit-summary.py | %!s(int64=6) %!d(string=hai) anos | |
Netcore support in mono consists of two parts:
Everything below should be executed with the current dir set to 'netcore'.
For bootstrap, do
./build.sh
To rebuild the runtime, do
make runtime
To rebuild System.Private.CoreLib, do
make bcl
These two targets will copy the results into shared/Microsoft.NETCore.App/.
Run dotnet publish -c Release -r osx-x64 to create a published version of the app.
Copy
into
bin/netcoreapp3.0/osx-x64/publish/libcoreclr.dylib``` Copy
to
bin/netcoreapp3.0/osx-x64/publish```
DYLD_LIBRARY_PATH=shared/Microsoft.NETCore.App/ MONO_PATH=shared/Microsoft.NETCore.App/ ../mono/mini/mono-sgen --assembly-loader=strict sample/HelloWorld/bin/netcoreapp3.0/HelloWorld.dll
Change the DebugType to full in your .csproj
<DebugType>full</DebugType>
Enable debugger agent using the environment variable MONO_ENV_OPTIONS
export MONO_ENV_OPTIONS="--debug --debugger-agent=transport=dt_socket,address=127.0.0.1:1235,server=y,suspend=y"
Run
./dotnet --fx-version "5.0.0-alpha1.19409.2" sample/HelloWorld/bin/netcoreapp3.0/HelloWorld.dll