The specified module could not be found. (Exception from HRESULT: 0x8007007E)


Just Recompile the entire Solution, the Problem should be gone. This is a Problem if the corresponding version Cudart(...).dll could not be found in managed environments. Copying the dll in the executables directory or setting a path in the environment should help if the problem remains. When starting from Visual Studio without having an environment path for cuda set (this is automatically done by the CudaToolKit), remember to put the dll (same with assets like fx-shaders and a obj-3D model) in the directory of the project you are running.