mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
* ENABLE_SPAN_T doesn't require UNSAFE_BYTEBUFFER. Change to ENABLE_SPAN_T that doesn't require UNSAFE_BYTEBUFFER. * Selectable framework. Changed target framework to allow selection of 2.0 or 2.1 (or higher) * Added target framework version check. * Add core test project. * Added run on .Net Core.
.NET Tests
Running on Linux
Prerequisites
To run the tests on a Linux a few prerequisites are needed:
- mono
- msbuild
Running
To run the tests:
./NetTest.sh
This will download the .NET installer and core SDK if those are not already
installed. Then it will build the tests using msbuild and run the resulting
test binary with mono.
After running the tests, the downloaded .NET installer and SDK are not removed as they can be reused in subsequent invocations. The files are ignored by git by default, and can remain in the working directory.
Cleaning
If you want to clean up the downloaded .NET installer and SDK, run:
./clean.sh
This will wipe away the downloaded files and directories. Those will be
automatically re-downloaded when running NetTest.sh.