I was using mstest and once I started using fmod mstest started reporting:
[code:2vw90tda]Unable to get type SlidersTest.game_EntityMgr_test, SlidersTest. Error: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)[/code:2vw90tda]
It seems that if certain fmod functions get linked in (createSound, playSound, setVolume), then I see this error. On the other hand, System_Create and init don’t cause any problems.
These functions aren’t even getting called! The whole sound system is mocked out when under test. Just linking them in seems to break all the tests.
My guess is these functions somehow cause the fmodex.dll to get loaded and for whatever reason when running under test the dll can’t be found. (Even though mstest runs from the same directory as the regular .exe.)
I wrote about this extensively before realizing it was fmod on stack overflow:
http://stackoverflow.com/questions/7352 … type-error
How do I fix it?
- jdfristrom asked 9 years ago
- You must login to post comments
Please login first to submit.