"M R" <mo********@zoomix.comschrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP02.phx.gbl...
how can i reference two versions of the same assembly? they exist in two
seperate files. since they have the same name they can't simply be
referenced.
Not tested, but should work:
1 In the propertie window of the reference set specific version to true;
2 For each reference in the propertie window aliases enter an identifier
scecific for the version eg. WidgetsV1 and WidgetsV2
3 In codefiles where you want to referent one or both of that assemblies
enter an extern alias directive with the identifier from point 2.
4 reference the class in following form:
WidgetsV1::NamespaceName.ClassName
This also can be done in a using directive.
HTH
Christof