I'm creating a program in visual studio using the fly capture camera libraries. My goal is to build the program into a standalone application. When run in debug mode the program behaves normally, but in release mode I get a 'System.IO.FileNotFoundExeception':
Could not load file or assembly 'FlyCapture2Managed_v140.dll' or one of its dependencies. The specified module could not be found.
So I'm missing a dll file, but why do I only get this error in release mode? How can I properly link the file in visual studios?