From 9f08b6e12f405273490a1327ec34cb029ed9e850 Mon Sep 17 00:00:00 2001 From: Tony THONG Date: Thu, 30 Mar 2017 23:41:38 +0200 Subject: [PATCH] Prevent garbage collector to collect DynamicMethod produced by advisor --- NConcern/NConcern.Example/NConcern.Example.csproj | 12 ++++++++++++ NConcern/NConcern.Example/packages.config | 4 ++++ .../Aspect/Directory/Aspect.Directory.Entry.cs | 4 ++++ 3 files changed, 20 insertions(+) create mode 100644 NConcern/NConcern.Example/packages.config diff --git a/NConcern/NConcern.Example/NConcern.Example.csproj b/NConcern/NConcern.Example/NConcern.Example.csproj index 687c02b..4b70361 100644 --- a/NConcern/NConcern.Example/NConcern.Example.csproj +++ b/NConcern/NConcern.Example/NConcern.Example.csproj @@ -12,6 +12,8 @@ v4.5.2 512 + + true @@ -46,7 +48,17 @@ + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +