I got this code that works (simplified) :
Assembly lib = Assembly.LoadFile("C:\\mydll.dll");
var libType = lib.GetTypes();
Type mvType = libType[0];
PropertyInfo WidthProperty = mvType.GetProperty("Width");
But then, I'd like to access to the default value with a code like
var WidthPropertyValue = WidthProperty.GetValue(???, null);
The thing is that we CAN'T instantiate the object with Activator.CreateInstance cause the constructor need that the whole huge project is loaded to work... anyway, that's not the point about working around that problem. The thing is that, is it possible to access to the default way with this strategy ? Is it possible with another way ? completely impossible ?