issues loading up VideoOS.Toolkit.dll

when calling ‘VideoOS.Platform.SDK.Export.Environment.Initialize();’ i get this error,

System.IO.FileNotFoundException: ‘Could not load file or assembly ‘VideoOS.Toolkit.dll’ or one of its dependencies. The specified module could not be found.’

all other libraries seem to be loading ok its just this one im having an issue with?

Im using the X86 redist, i did try it with the X64 version and im getting the same error with that also.

First suspicion is that you are missing some of the dlls in the folder..

http://doc.developer.milestonesys.com/html/index.html?base=reference/architecture/net_library_initialization.html&tree=tree_2.html

yeah i was missing some libraries, not sure how I missed them as I attempted it multiple times.

Although that’s now working I have noticed that its considerably slower to start playback after selecting a camera compared to the ‘PlaybackWPFUser’ example,

the only thing i can notice that on my version in the console output it gives me

“Exception thrown: ‘System.IO.FileNotFoundException’ in mscorlib.dll” where it stops on this for a moment before carrying on. Any help would be appreciated

We saw this issue internally that we had

msvcp120.dll

msvcr120.dll

missing.

Please verify that you see those in the bin folder and have them in your folder.

Is there a difference whether you build release or debug?

Both files were present, and changing from debug to build didnt make a difference.

Turns out it was due to the project being located on a networked drive, since moving it to my local drive its much quicker