Sunday, November 2, 2014

An exception has been encountered. This may be caused by an extension

Visual Studio 2013:
 
 
"An exception has been encountered. This may be caused by an extension"

 

Deleted:

C:\Users\{username}\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache

The type or namespace name '_' could not be found (are you missing a using directive or an assembly reference)

I think I may have fixed this issue by taking the following steps:

1) I deleted all content from c:\users[USER]\AppData\Local\Microsoft\VisualStudio\12.0 and c:\users[USER]\AppData\Roaming\Microsoft\VisualStudio\12.0

2) Deleted .suo files

3) In VS Selected Tools > Import and Export Settings > Reset All Settings Since performing the steps above I have had no more namespace "errors"
 
 
Solved my error.

The type 'System.Web.UI.ScriptManager' exists in both 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll'

Error :

(The type 'System.Web.UI.ScriptManager' exists in both 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll' )

 

 

The Solution: