Since installing the latest updates for MVC3, adding a controller through the "Add Controller" context menu often leads to an error:
Failed to load file or assembly "Newtonsoft.Json, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = 30ad4fe6b2a6aeed" or one of its dependencies. The system cannot find the specified file.
Or simimlar (sometimes another dependency, for example, "Mono.Addins", etc.).
The links to which he complains are not directly needed by the project, but refer to other links that this project has. The project creates find without references, but Add Controller fails.
Adding the link mentioned in the error also does not fix it. Even after adding a link to Newtonsoft.Json (with the correct version and token), the error remains.
I suspect this due to the reflection of the Add Controller dialog box to provide a list of model types that can be used, but I cannot understand why these are still errors even after adding the requested link.
The Add View dialog is slightly better, but still fails. The dialog box opens, but when you check "Create a strongly typed view", the dialog closes immediately.
At the moment, my job is to manually add controllers and then add non-strict types and edit them manually, but this is becoming very frustrating - especially since I cannot use our T4 client templates for forest and controller views.
Has anyone else experienced this since the update and knew how to fix it?