aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/BasicTests/BasicTests.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-22 03:33:37 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-22 03:33:37 +0200
commitd46cbe601a9d5d4437f256a496f29a3fe6881da8 (patch)
tree062530b2d95b4504ee5b74e6ad7d88a318dc89a5 /Samples/BasicTests/BasicTests.cs
parentf1cda0b040c750e0fdfb5df35349aff6af163446 (diff)
use DllMapCore for native dll path resolutions
Diffstat (limited to 'Samples/BasicTests/BasicTests.cs')
-rw-r--r--Samples/BasicTests/BasicTests.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Samples/BasicTests/BasicTests.cs b/Samples/BasicTests/BasicTests.cs
index b0d99ccc..fba4b70a 100644
--- a/Samples/BasicTests/BasicTests.cs
+++ b/Samples/BasicTests/BasicTests.cs
@@ -10,9 +10,11 @@ namespace tests
{
public class BasicTests : SampleBase
{
- [STAThread]
static void Main ()
{
+#if NETCOREAPP3_1
+ DllMapCore.Resolve.Enable (true);
+#endif
using (BasicTests app = new BasicTests ()) {
app.Run ();
}
@@ -96,7 +98,7 @@ namespace tests
else if (idx < 0)
idx = testFiles.Length - 1;
- Console.WriteLine ($"Loading {testFiles [idx]}.");
+ Console.WriteLine ($"Loading {testFiles [idx]}. {AppDomain.CurrentDomain.MonitoringSurvivedMemorySize}");
Load (testFiles [idx]).DataSource = this;
} catch (Exception ex) {