Tuesday, November 29, 2005

VS 2005 Professional - Unexpected error while loading DXCore

I just finished installing the VS 2005 Professional Edition. Just when i fired up the application an error box pops up.

Unexpected error while loading DXCore

Could not load file or assembly file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50215/mscorlib.dll or one of its dependencies. The system cannot find the file specified.
Type: System.IO.FileNotFoundException
Source: mscorlib
Target Site: nLoad
Call Stack:
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at DevExpress.CodeRush.Proxies.AssemblyLoader.LoadFrom(String assemblyFile)
at DevExpress.CodeRush.Proxies.AssemblyLoader.LoadFrom(String assemblyFile)
at DevExpress.CodeRush.StructuralParser.AssemblyTypesLoader.LoadCoreAssembly(FrameworkVersion version)
at DevExpress.CodeRush.StructuralParser.AssemblyModelCache.LoadCoreAssembly(FrameworkVersion version)
at DevExpress.CodeRush.StructuralParser.ProjectElement.get_SourceModel()
at DevExpress.CodeRush.StructuralParser.ProjectElement.AddReference(AssemblyReference assembly)
at DevExpress.CodeRush.StructuralParser.ProjectElement.LoadAssemblyReferencies(Project project)
at DevExpress.CodeRush.StructuralParser.ProjectElement.LoadProject(Project project)
at DevExpress.CodeRush.StructuralParser.SolutionElement.AddProject(Project project)
at DevExpress.CodeRush.StructuralParser.SolutionElement.LoadSolution(Solution solution)
at DevExpress.CodeRush.Core.SourceModelServices.InitializeService(InitializeCause cause)
at DevExpress.CodeRush.Core.ServiceManager.InitializeAll(InitializeCause cause)
at DevExpress.CodeRush.Core.CodeRush.InitializeCodeRush(DTE applicationObject, AddIn addInInstance, ext_ConnectMode connectMode)
at DevExpress.CodeRush.Shell.AddInShell.LoadDXCore(ext_ConnectMode connectMode)
OSVersion: Win32NT, 5.1.2600.131072
VSVersion: 8.0, Professional

Finally, I identified the problem. It turns out that I have uninstall the Refactor VB 2005 Beta 2 that I installed last time. After I uninstall it, then VS 2005 running smootly.

There is a new version of the refactor VB 2005 http://www.devexpress.com/vbrefactor/

.NET ROCKS!

No comments: