Vlad Brezae 01b2e15c06 [tests] Reenable enum equals test on interpreter (#18673) пре 6 година
..
System.Private.CoreLib 1f0e147cdd [netcore] Mark InitializeCurrentThread NoInlining (#18493) пре 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 година
tests 423192ed85 [netcore][llvm] Implement Sse1-4.2 subsets used by corlib (#18103) пре 6 година
tools 5f58bb0959 Improve TryParseFunctionName in jitdiff пре 6 година
.gitignore 9f0d493eea [netcore] Replace dl-test-assets.py with msbuild download (#15883) пре 6 година
CoreFX.issues.rsp 87cfaf15ae [netcore] Make System.Diagnostics.TraceSourceTests.DefaultTraceListenerClassTests.EntryAssemblyName_Null_NotIncludedInTrace Pass (#18403) пре 6 година
CoreFX.issues_interpreter.rsp 01b2e15c06 [tests] Reenable enum equals test on interpreter (#18673) пре 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 423192ed85 [netcore][llvm] Implement Sse1-4.2 subsets used by corlib (#18103) пре 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 6abab691ec [netcore] Require use of MonoClass getters in Debug builds (#18267) пре 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