diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-20 15:07:40 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-20 15:07:40 +0200 |
| commit | 2a619ceba75a4c16b25de12d59a87eac795a4468 (patch) | |
| tree | 1d63a35217011fa761b703633b3f91fd839ec71e /wrappers/csharp/README.md | |
| parent | 7e309b67de74fe5bd5a1c70c1880c2a381c4f78b (diff) | |
Remove: unused wrappers
Diffstat (limited to 'wrappers/csharp/README.md')
| -rw-r--r-- | wrappers/csharp/README.md | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/wrappers/csharp/README.md b/wrappers/csharp/README.md deleted file mode 100644 index 1ff1123..0000000 --- a/wrappers/csharp/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# C# wrapper - -## Requirements - -You will need to install the [.NET SDK](https://dotnet.microsoft.com/download), which includes the `dotnet` tool. The -wrapper targets .NET Standard 2.0, which means that at least .NET Core 2.0 is required (.NET 5+ is also fine). For the -tests, .NET 5 is required. (Or change `<TargetFramework>` in EduVpnCommonTests.csproj to e.g. `net6.0` to use newer -versions.) - -## Build & test - -First build the shared Go library. Next: - -Build `EduVpnCommon` (Release): - -```shell -make -``` - -Build as nupkg, including shared Go library for all platforms built in `exports/lib/`: - -```shell -make pack -``` - -If you do not build this as part of the full repository, specify `EXPORTS_PATH="path/to/exports-folder"` -when calling make. This folder must contain `common.mk` and the `lib/` folder with built libraries. - -The wrapper targets .NET Standard 2.0, which means that it can be referenced by projects using either .NET Framework -4.6.1+, .NET Core 2.0+, or .NET 5+. - -Currently, directly referencing the project may not work (with `System.BadImageFormatException`) if you have multiple -dynamic libraries compiled in the `exports/lib/` folder. If you instead add the `.nupkg`, e.g. with one of the -methods [here](https://stackoverflow.com/q/43400069) or [here](https://stackoverflow.com/q/10240029), it automatically -copies the correct library. - -This also means that tests may fail if you have multiple dynamic libraries compiled! - -Test: - -```shell -make test -``` |
