Hello, at the moment of creating a controller or a view it shows me this error, why does this happen? How can I solve it?
It seems to be, that it refers to a corrupt assembly.
Delete both folders
temp
folder in Windows 7 should be C:\Users\your_username\AppData\Local\Temp\Temporary ASP.NET Files
Response referring to Alex in StackOverflow in English.
Also, I am going to translate the response from Thomas to this same question, since seems to have been the solution in some cases
Depending on whether you are using X64, it may be necessary to clean some more folders.
%TEMP%\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files