I have WPF application AppTest.
DllMaster1 - This is only a window with controls.
In the main application refers to a class library DllMaster1.
Window app = new DllMaster1.MainWindow();
app.ShowDialog();
app = null;
GC.Collect();
Now I need to remove an object from memory, so that I can replace him with another, because when I want to replace the DllMaster1 I get the message:
The action can't be completed because the folder or a file in it is open in another program.