1) Add both assemblies to your project.
2) Right click the first assembly and select Properties
3) Change the Aliases field from 'global' to something else, like 'Version4000'
4) Do the same with the second assembly, but with a different alias, 'Version4030'
5) add these lines to the top of your code file
extern alias Version4000;
extern alias Version4030;
6) When you need something from a specific assembly, prefix the alias:
Console.WriteLine(Version4000::MyLibrary.MyClass.MyMethod());
Console.WriteLine(Version4030::MyLibrary.MyClass.MyMethod());
Version4000::MyClass v4000Class = new Version4000::MyClass();
Version4030::MyClass v4030CLass = new Version4030::MyClass();
Momerath
Senior Poster
3,729 posts since Aug 2010
Reputation Points: 1,322
Solved Threads: 624
Skill Endorsements: 13