Problem with ASP.NET 2015 MVC when creating a driver error

0

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?

    
asked by Jonathan Gomez 13.09.2018 в 16:57
source

1 answer

0

It seems to be, that it refers to a corrupt assembly.

Delete both folders

  • the \ bin folder of your project
  • The 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
    
        
    answered by 13.09.2018 в 17:12