title | page_title | description | slug | tags | published | position | previous_url |
---|---|---|---|---|---|---|---|
Troubleshooting |
Troubleshooting | JustMock Documentation |
Commonly encountered errors with Telerik JustMock and how to resolve them. |
justmock/troubleshooting |
troubleshooting |
true |
12 |
/troubleshooting.html |
Symptoms | Resolution |
---|---|
TypeLoadException |
|
Could not load type 'Telerik.JustMock.Profiler' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. |
It is likely that there are NGENed assemblies for the /Profile scenario. Usually, this can happen when some profiler-based software tries to improve its start-up performance by NGENing system assemblies. To fix this error, run "Visual Studio Command Prompt" or "Developer Command Prompt" as an Administrator and execute the following command: >ngen uninstall * /profile |
"Unable to obtain public key for StrongNameKeyPair" exception in non-elevated tests | Such exception may occur if the Crypto\RSA folder does not have Read & execute or List folder contents permissions. To fix this you need to set them manually. The folder can be found at %appdata%\Microsoft\Crypto\rsa |
Missing Visual Studio extension or JustMock menu after successful installation | Try the following:
|