Tuesday, 26 November 2013

Managed C++/CLI references

In Visual Studio, after adding a reference to a managed .dll, you need to unload the project, edit the .vcxproj, then:

1. Change the absolute to relative paths, using environment variables.
2. Remove the version information, otherwise it will refuse to recognize updates.