Stephen Toub f532f93ea6 Enable stylecop warnings 1205, 1212, and 1617 (dotnet/corefx#39941) vor 6 Jahren
..
System.Private.CoreLib f532f93ea6 Enable stylecop warnings 1205, 1212, and 1617 (dotnet/corefx#39941) vor 6 Jahren
gen-xunit-runner 1fb3b3b87d [netcore] Add System.Reflection.Emit support. (#13613) vor 6 Jahren
sample 26f0222284 [netcore] Fix CI build script (#15130) vor 6 Jahren
.gitignore 9f0d493eea [netcore] Replace dl-test-assets.py with msbuild download (#15883) vor 6 Jahren
CoreFX.issues.rsp e08bddaa63 [netcore] Minor fixes around System.Reflection (#15905) vor 6 Jahren
CoreFX.issues_linux.rsp 3a7afab91c [netcore] CI work, add rsp for Windows (#15549) vor 6 Jahren
CoreFX.issues_linux_arm64.rsp 122494330d [netcore] Allow different enums as return type in CreateDelega… (#15787) vor 6 Jahren
CoreFX.issues_windows.rsp e6d2091a24 [netcore] Revise items in CoreFX.issues.rsp (#15664) vor 6 Jahren
Directory.Build.props 5a21eb4288 Fix arcade stuff vor 6 Jahren
Directory.Build.targets 49dc99be58 [netcore] Add more Arcade magic for signing vor 6 Jahren
Makefile d0aa0310ee [netcore] Use mono-netcore to run real world apps using `dotnet run` (#15942) vor 6 Jahren
NuGet.config 8c85c29841 [netcore] Switch to msbuild nuget which is available for all platforms (#13989) vor 6 Jahren
README.md 6f05192669 [netcore] Add a README. (#15934) vor 6 Jahren
build.sh 792bfbff91 [netcore] Do not inline ThrowHelpers, fix SkipFrames handling. (#15607) vor 6 Jahren
corefx-restore.csproj 5a21eb4288 Fix arcade stuff vor 6 Jahren
corefx-tests-restore.proj 9f0d493eea [netcore] Replace dl-test-assets.py with msbuild download (#15883) vor 6 Jahren
init-tools.ps1 d3101fbaeb [netcore] Download and use local .NET Core SDK (#14696) vor 6 Jahren
init-tools.sh d3101fbaeb [netcore] Download and use local .NET Core SDK (#14696) vor 6 Jahren
metapackage.nuspec 2a5e8f0c37 [netcore] Add a metapackage for all supported runtimes vor 6 Jahren
roslyn-restore.csproj 5a21eb4288 Fix arcade stuff vor 6 Jahren
runtime.nuspec ae488c93e9 [netcore] Fix building of nupkg (#15855) vor 6 Jahren
xunit-summary.py 9dc20c9b5f [netcore] Fix netcore CI lane (#15627) vor 6 Jahren

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