Hi Dears,
i have some plugins for Revit each one in separated folder with its own & shared dll files like following
my apps in folders named A B C
each folder contain in it A1.dll B1.dll C1.dll
A2.dll B2.dll C2.dll
X.dll X.dll X.dll => same files
Y.dll Y.dll Y.dll => same files
Z.dll Z.dll Z.dll => same files
Revit always loading x, y & Z from A folder and ignore the same files in folders B & C
apps B & C always using X, Y & Z from A folder even when using Assembly.LoadFile or AppDomain.Load (i can't use reflection over all my apps), I also change their version and its GUID but no effect
how to force Revit & my apps B & C to use only the dlls (X.dll, Y.dll & Z.dll) in its own folder not dlls with the same name from the first folder
many thanks in advance
Hi Dears,
i have some plugins for Revit each one in separated folder with its own & shared dll files like following
my apps in folders named A B C
each folder contain in it A1.dll B1.dll C1.dll
A2.dll B2.dll C2.dll
X.dll X.dll X.dll => same files
Y.dll Y.dll Y.dll => same files
Z.dll Z.dll Z.dll => same files
Revit always loading x, y & Z from A folder and ignore the same files in folders B & C
apps B & C always using X, Y & Z from A folder even when using Assembly.LoadFile or AppDomain.Load (i can't use reflection over all my apps), I also change their version and its GUID but no effect
how to force Revit & my apps B & C to use only the dlls (X.dll, Y.dll & Z.dll) in its own folder not dlls with the same name from the first folder
many thanks in advance
Afaik, you have to name the different flavours of X, Y and Z differently.
Afaik, if they are named the same, .NET will only load the first one and reuse that for the others.
Afaik, you have to name the different flavours of X, Y and Z differently.
Afaik, if they are named the same, .NET will only load the first one and reuse that for the others.
Can't find what you're looking for? Ask the community or share your knowledge.