2
0
Marek Safar adcd62248d [System.Private.CoreLib] Cleanup intrinsic tracking (#17884) 6 жил өмнө
..
System.Private.CoreLib adcd62248d [System.Private.CoreLib] Cleanup intrinsic tracking (#17884) 6 жил өмнө
corerun c13f36bdfe fix netcore build with cygwin (#17361) 6 жил өмнө
gen-xunit-runner 1fb3b3b87d [netcore] Add System.Reflection.Emit support. (#13613) 6 жил өмнө
sample ea0824cb22 Remove dead docs 6 жил өмнө
tools 5f58bb0959 Improve TryParseFunctionName in jitdiff 6 жил өмнө
.gitignore 9f0d493eea [netcore] Replace dl-test-assets.py with msbuild download (#15883) 6 жил өмнө
CoreFX.issues.rsp 33ca3d33e1 [loader] Add assembly name matching on netcore to fix DefaultContext test (#18272) 6 жил өмнө
CoreFX.issues_interpreter.rsp 2befdcfa52 [netcore] Enable more tests for interpreter and llvm on CI (#17957) 6 жил өмнө
CoreFX.issues_linux.rsp 2befdcfa52 [netcore] Enable more tests for interpreter and llvm on CI (#17957) 6 жил өмнө
CoreFX.issues_linux_arm64.rsp 122494330d [netcore] Allow different enums as return type in CreateDelega… (#15787) 6 жил өмнө
CoreFX.issues_mac.rsp a7287bdae5 [master] Update dependencies from dotnet/arcade dotnet/core-setup dotnet/corefx (#17458) 6 жил өмнө
CoreFX.issues_windows.rsp 1d324e617a Fix DynamicMethodToString.ToStringTest 6 жил өмнө
Directory.Build.props 5a21eb4288 Fix arcade stuff 6 жил өмнө
Directory.Build.targets 49dc99be58 [netcore] Add more Arcade magic for signing 6 жил өмнө
Makefile 2befdcfa52 [netcore] Enable more tests for interpreter and llvm on CI (#17957) 6 жил өмнө
NuGet.config 5692180ea2 [netcore] Makefile clean up (#16630) 6 жил өмнө
README.md dcfec3966c Enable and document debug with sdb with netcore config. 6 жил өмнө
build.cmd c0e237b734 Mono NetCore Windows only build/test. (#17646) 6 жил өмнө
build.ps1 bda239f44c Switch away from Start-Process, Wait-Process in build.ps1. (#17730) 6 жил өмнө
build.sh 2befdcfa52 [netcore] Enable more tests for interpreter and llvm on CI (#17957) 6 жил өмнө
build.targets c0e237b734 Mono NetCore Windows only build/test. (#17646) 6 жил өмнө
corefx-restore.csproj a6db160596 [master] Update dependencies from dotnet/arcade dotnet/core-setup dotnet/corefx (#17690) 6 жил өмнө
corefx-tests-restore.proj 9f0d493eea [netcore] Replace dl-test-assets.py with msbuild download (#15883) 6 жил өмнө
init-tools.ps1 d3101fbaeb [netcore] Download and use local .NET Core SDK (#14696) 6 жил өмнө
init-tools.sh 5692180ea2 [netcore] Makefile clean up (#16630) 6 жил өмнө
metapackage-llvm.nuspec 6bc988b087 [netcore] Move to new arcade post build using yaml stages (#16966) 6 жил өмнө
metapackage.nuspec 6bc988b087 [netcore] Move to new arcade post build using yaml stages (#16966) 6 жил өмнө
roslyn-restore.csproj 5a21eb4288 Fix arcade stuff 6 жил өмнө
run-tests-corefx.ps1 c0e237b734 Mono NetCore Windows only build/test. (#17646) 6 жил өмнө
runtime-llvm.nuspec 6bc988b087 [netcore] Move to new arcade post build using yaml stages (#16966) 6 жил өмнө
runtime.nuspec 6bc988b087 [netcore] Move to new arcade post build using yaml stages (#16966) 6 жил өмнө
xunit-summary.py 2befdcfa52 [netcore] Enable more tests for interpreter and llvm on CI (#17957) 6 жил өмнө

README.md

Introduction

Netcore support in mono consists of two parts:

  • The runtime compiled in netcore mode
  • An implementation of System.Private.CoreLib

Building

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/.

Running with netcore

Running through the 'dotnet' tool.

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```

Running with the mono runtime executable

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

How to set up managed debugging

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