0
Answer

VS.NET Automation: Remove a Reference

g.tinnirello

g.tinnirello

20y
1.4k
1
Hi, I got a problem when using the 'Remove' function of the VS.NET Automation Object 'Reference'. I want to programatically remove a reference on an assembly, so that i can open it to do some reflection stuff and then add it again to the project references. Now I call MyReference.Remove and when I try to load the assembly for reflection or to make other operations on it (e.g. delete it) I get an Exception System.IO Exception. Can someone please help me?