Hi there! I'm working on an addin that much like ReSharper TestRunner and TestDriven.NET runs unit tests inside of Visual Studio. The problem I'm having is that when I try to load the assemblies containing the tests, I get an SecurityException with the message "Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed." I've tried adding a FileIOPermssion Assert, but that doesn't work. Is there something easy I can do to load assemblies while running inside the DTE2 events? Regards, Andres Taylor
On 6 Mar, 12:33, andres.tay...@dotway.se wrote: > The problem I'm having is that when I try to load the assemblies I forgot to write. I do this by doing a AppDomain.CreateInstanceFromAndUnwrap(assembly, typeName) Don't know if it matters. /Andres