diff options
Diffstat (limited to 'Samples/BasicTests/BasicTests.cs')
| -rw-r--r-- | Samples/BasicTests/BasicTests.cs | 6 |
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) { |