I'm puzzled by this. From the documentation...
A String containing the string value "true" to indicate that shadow copying is turned on; or "false" to indicate that shadow copying is turned off.
And its been this way since 1.1...can anyone shed any light?
EDIT: So I reflector'd the Getter and Setter for good measure...
public s...
I am trying to create a worker app domain in C# in VS 2010 to try out the simple sandboxing technique as mentioned here: http://blogs.msdn.com/shawnfa/archive/2005/08/08/449050.aspx
My code inside the function Main looks like this:
PermissionSet pset = new PermissionSet(PermissionState.None);
pset.AddPermission(new SecurityPermission(S...
I'm going to give an example of using System.Data.SQLite.DLL which is a mixed assembly with unmanaged code:
If I execute this :
var assembly= Assembly.LoadFrom("System.Data.SQLite.DLL")
No exceptions are thrown, but if I do this :
var rawAssembly = File.ReadAllBytes("System.Data.SQLite.DLL");
var assembly = Assembly.Load(rawA...
The Code as below which i'm trying to load a dll dynamically is not working.
AppDomain appDomain = AppDomain.CreateDomain("DllDomain");
Assembly a = appDomain.Load(fileName);
//Assembly a = Assembly.LoadFrom(fileName);
objType = a.GetType(className);
obj = a.CreateInstance(className);
object[] args = new object[1];
args[0]=(object...
I have a windows service that works fine in my dev environment. The build process copies all referenced DLL's into the bin/debug folder. I run installutil from the bin/debug folder. Service starts fine.
Now, I've created a new folder for the service executable. c:\MyService, and the DLLs are in c:\MyService\libraries. Obviously, thi...