Share via


Visual Studio not working correctly on Windows 10 build 14393

Question

Wednesday, July 20, 2016 3:22 PM | 2 votes

After upgrading to Windows 10 fast ring build 14393, Visual Studio 2015 stopped working correctly: I get multiple "The XXX package did not load correctly. ...".

After the IDE shell is loaded, most menu items do not work or show a "object reference not set to an instance of an object".

I tried uninstall and reinstalling VS, running repair, nothing helps.

Extract from log (has tons of errors):

101 ERROR Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.Workspaces.Contracts, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
          C:\VS14\COMMON7\IDE\EXTENSIONS\3RX4VSZW.VDH\TMLanguage.dll
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/20 15:07:30.915
102 ERROR An item with the same key has already been added. Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/20 15:07:36.940
103 ERROR Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.Workspaces.Contracts, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
          C:\VS14\COMMON7\IDE\EXTENSIONS\3RX4VSZW.VDH\TMLanguage.dll
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/20 15:07:37.086
104 ERROR An item with the same key has already been added. Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/20 15:07:43.874
105 ERROR LegacySitePackage failed for package [XamarinShellPackage]Source: 'System.ComponentModel.Composition' Description: 'providers' cannot contain a null (Nothing in Visual Basic) element. Parameter name: providers System.ArgumentException: 'providers' cannot contain a null (Nothing in Visual Basic) element. Parameter name: providers at System.ComponentModel.Composition.Hosting.AggregateExportProvider..ctor(ExportProvider[] providers) at System.ComponentModel.Composition.Hosting.CompositionContainer..ctor(ComposablePartCatalog catalog, CompositionOptions compositionOptions, ExportProvider[] providers) at System.ComponentModel.Composition.Hosting.CompositionContainer..ctor(ComposablePartCatalog catalog, ExportProvider[] providers) at Clide.DevEnvFactory.InitializeContainer(IServiceProvider services) at Clide.DevEnvFactory.<Get>b__0(IServiceProvider s) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Clide.DevEnvFactory.Get(IServiceProvider services) at Clide.DevEnv.<.cctor>b__1(IServiceProvider services) at Clide.DevEnv.Get(IServiceProvider serviceProvider) at Clide.Host.Initialize(IServiceProvider hostingPackage) at Xamarin.VisualStudio.TastyPackage.Initialize() in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Core\VisualStudio\FlavorProject\TastyPackage.cs:line 165 at Xamarin.VisualStudio.Shell.XamarinShellPackage.Initialize() in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Core\VisualStudio.Shell\XamarinShellPackage.cs:line 69 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp) {2D510815-1C4E-4210-BD82-3D9D2C56C140} 80070057 - E_INVALIDARG VisualStudio 2016/07/20 15:07:44.421
106 ERROR SetSite failed for package [XamarinShellPackage](null) {2D510815-1C4E-4210-BD82-3D9D2C56C140} 80070057 - E_INVALIDARG VisualStudio 2016/07/20 15:07:44.428
107 ERROR

End package load [XamarinShellPackage]

589 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
590 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
591 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
592 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
593 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
594 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
595 ERROR Exception parsing Security (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/07/20 15:14:14.664
596

Entering function CVsPackageInfo::HrInstantiatePackage

All replies (8)

Friday, July 22, 2016 9:00 PM ✅Answered

Thanks for you response.

None of the stuff worked, finally I uninstalled VS2015 again, but this time I also uninstalled all other related software that has its own item in "Program and Features", and then reinstalled VS2015 from scratch, and this solved the issue.


Thursday, July 21, 2016 3:24 AM

Hi ArielE2,

It seem like your issue is more related to the Visual Studio installation, I moved it to our Visual Studio installation forum for better support.

By the way, Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.

Best Regards,

Lake Xiao


Thursday, July 21, 2016 9:33 AM | 1 vote

Dear ArielE2,

Welcome to the MSDN forum.

According to the error message "The XXX package did not load correctly. ...", please have a try with the following workarounds:

1. Close all instances of VS

2. delete everything in this 2 folders as below:

C:\Users\your users name>\AppData\Local\Microsoft\VisualStudio\14.0

C:\Users\your users name>\AppData\Roaming\Microsoft\VisualStudio\14.0

3. Restart VS 2015

4.  Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE and run these commands as below, then open VS. What’s more, please check here: https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx

  • devenv /resetsettings
  • devenv /resetuserdata
  • devenv /ResetSkipPkgs
  • devenv /safemode

After each command, please open VS 2010 ultimate and see if this issue occur or not.

Have you tried to use a healthy ISO file of VS 2015 to repair? What’s your VS 2015 edition?

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Monday, July 25, 2016 1:17 AM

Dear ArielE2,

I'm so glad to hear that your issue is solved and thank you for your sharing.

BTW, if you think your reply is helpful, please mark it as answer, it will help other community members who have the same or similar issue to easier search this solution.

Thank you for your understanding and have a nice day.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Friday, August 5, 2016 3:48 AM

I've just got this problem, I found that there's an extention make this happened, it is not about win.14393. The extention is 'Codinion', I do not think it's the only one make this happen...


Friday, August 5, 2016 5:39 AM

Hi thexujie,

Welcome to the MSDN forum.

Thank you for your sharing, it will help other community members who have the same or similar issue to search the possible solution.

If you have any other VS installation issue, please feel free to let me know. You can open a new thread for your issue, we will support it, thank you for your understanding.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Sunday, January 22, 2017 3:00 AM

Thanks. Both of Roaming and Local directory ar the solve for me :)


Monday, January 23, 2017 1:32 AM

Hi Ali Hamdi Uzal,

Welcome to the MSDN forum.

I'm so glad to hear that your issue is solved and thank you for your feedback.

BTW, if you think my reply or your reply is helpful, you can mark it as answer and it will help other community members who meet the same or similar issue to search this useful information.

Best regards,

Sara

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].