diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-05-22 03:33:37 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-05-22 03:33:37 +0200 |
| commit | d46cbe601a9d5d4437f256a496f29a3fe6881da8 (patch) | |
| tree | 062530b2d95b4504ee5b74e6ad7d88a318dc89a5 /Samples/HelloWorld | |
| parent | f1cda0b040c750e0fdfb5df35349aff6af163446 (diff) | |
use DllMapCore for native dll path resolutions
Diffstat (limited to 'Samples/HelloWorld')
| -rw-r--r-- | Samples/HelloWorld/main.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Samples/HelloWorld/main.cs b/Samples/HelloWorld/main.cs index 44ec3fb8..743419ee 100644 --- a/Samples/HelloWorld/main.cs +++ b/Samples/HelloWorld/main.cs @@ -5,6 +5,9 @@ namespace HelloWorld { class Program { static void Main (string[] args) { +#if NETCOREAPP3_1 + DllMapCore.Resolve.Enable (true); +#endif using (Interface app = new Interface ()) { app.Initialized += (sender, e) => (sender as Interface).Load ("#HelloWorld.helloworld.crow"); app.Run (); |