Xamarin Public Jenkins (auto-signing) 0510252385 Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
2019-02-04 20:11:37 +00:00
..
2019-02-04 20:11:37 +00:00
2017-04-10 11:41:01 +00:00

Test.CoreLib

This is a minimum viable core library for test purposes.

How to use this

Test.CoreLib gets built as part of the repo. After you build the repo:

  1. Compile your test program against Test.CoreLib
csc /noconfig /nostdlib Program.cs /r:<repo_root>\bin\Product\Windows_NT.x64.Debug\Test.CoreLib\Test.CoreLib.dll /out:repro.exe
  1. Compile the IL with ILC

Use ilc.dll that was built with the repo to compile the program.

ilc repro.exe -o:repro.obj -r:<repo_root>\bin\Product\Windows_NT.x64.Debug\Test.CoreLib\Test.CoreLib.dll --systemmodule Test.CoreLib
  1. Use native linker to link