How do I change the lookup path for .NET libraries referenced via #using in Managed C++?
问题 I developed a DLL in Managed C++ which loads some plugins (implemented in any .NET language) at runtime using System.Reflection.Assembly.LoadFile. The interface which is implemented by all plugins is implemented in C#. It's used by the Managed C++ code like this: #using <IMyPluginInterface.dll> // Make the 'IMyPluginInterface' type available ref class PluginManager { List<IMyPluginInterface ^> ^m_plugins; // Load all plugins in a well-known directory. void load() { for ( string dllFile in