aws toolkit breaks visual studio 2013 after install - visual-studio

I installed visual studio 2013 on a 64-bit Windows 7 machine and then installed the AWS toolkit (AWSToolsAndSDKForNet_sdk-2.3.39.0-ps-2.3.39.0-tk-1.9.3.1.msi) directly after. After installing the toolkit, the activity log contains the following errors when I attempt to start visual studio. No other changes were made to the installation. Any ideas?
24 ERROR No InprocServer32 registered for package [MRU Package]
%windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e VisualStudio 2015/05/26 23:32:43.228
36 ERROR No InprocServer32 registered for package [MRU Package]
%windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e VisualStudio 2015/05/26 23:32:50.026
60 ERROR No InprocServer32 registered for package [Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPackage]
%windir%\SYSTEM32\MSCOREE.DLL {CF6A5C16-83B0-4D04-B702-195C35C6E887} 8007007e VisualStudio 2015/05/26 23:33:17.761
61 ERROR Construction of frame content failed. Frame identifier: ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057} Frame caption: Solution Explorer Exception details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage() at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() VisualStudio 2015/05/26 23:34:02.415
69 ERROR No InprocServer32 registered for package [MRU Package]
%windir%\system32\mscoree.dll {8FF5C2A8-5EBA-4717-8EE1-46B6427D8FF3} 8007007e VisualStudio 2015/05/26 23:34:03.169
75 ERROR No InprocServer32 registered for package [Global Search Package]
%windir%\system32\mscoree.dll {18333854-D2FF-44A3-98D8-40501B914D7D} 8007007e VisualStudio 2015/05/26 23:34:04.093
77 ERROR No InprocServer32 registered for package [Global Search Package]
%windir%\system32\mscoree.dll {18333854-D2FF-44A3-98D8-40501B914D7D} 8007007e VisualStudio 2015/05/26 23:34:04.969
79 ERROR No InprocServer32 registered for package [Global Search Package]
%windir%\system32\mscoree.dll {18333854-D2FF-44A3-98D8-40501B914D7D} 8007007e VisualStudio 2015/05/26 23:34:11.362

Related

Error trying to install Visual Studio Community 2019 Extensions

I just go into Extensions>Manage Extensions>Update, click "Update All" and then close Visual Studio.
The installation just give me a error, i searched online but no clue what's wrong.
Already repaired and reinstalled completely visual studio
Any help? This is the error log.
22/05/2021 22:41:45 - Microsoft VSIX Installer
22/05/2021 22:41:45 - -------------------------------------------
22/05/2021 22:41:45 - vsixinstaller.exe version:
22/05/2021 22:41:45 - 16.9.2017
22/05/2021 22:41:45 - -------------------------------------------
22/05/2021 22:41:45 - Command line parameters:
22/05/2021 22:41:45 - A:\Microsoft Visual Studio\2019\Community\Common7\IDE\vsixinstaller.exe,/appidinstallpath:A:\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe,/skuName:Community,/skuVersion:16.9.31313.79,/appidname:Microsoft Visual Studio Community 2019,/culture:en-US,/noep,C:\Users\erikm\AppData\Local\Temp\VSIXdc234dfy.vsix,C:\Users\erikm\AppData\Local\Temp\VSIXygjj5kfo.vsix,C:\Users\erikm\AppData\Local\Temp\VSIXityxfypz.vsix
22/05/2021 22:41:45 - -------------------------------------------
22/05/2021 22:41:45 - Microsoft VSIX Installer
22/05/2021 22:41:45 - -------------------------------------------
22/05/2021 22:41:45 - System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version vsVersion, IntPtr userToken)
at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData cmdLineData, IntPtr duplicatedUserToken)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
After deleting all "Microsoft.VisualStudio.Validation.dll" found by a file explorer search and reinstalling visual studio, it worked!

VSIX install failed

I downloaded extension in visual studio 2019 but while installing error occurred.
install log is this:
4/25/2021 8:41:33 PM - Microsoft VSIX Installer
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - vsixinstaller.exe version:
4/25/2021 8:41:33 PM - 16.9.2017
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - Command line parameters:
4/25/2021 8:41:33 PM - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VSIXInstaller.exe,C:\Users\Usman\Downloads\ProductivityPowerPack2017.vsix
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - Microsoft VSIX Installer
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:34 PM - System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Validation, Version=15.3.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version
vsVersion, IntPtr userToken)
at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData
cmdLineData, IntPtr duplicatedUserToken)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception
exceptionObject)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Run a repair of your Visual Studio installation.
If repair doesn't work, you might've moved your VS install and now it won't install anything.
This is because it "might" be finding the VS Installer in a directory OTHER than the standard one. Reinstall the installer itself, then try to install the extension or whatevs
Check if this path exists on your C drive. The "Packages" folder is used to save VS extensions which VS needs. I'd moved mine to F drive to save space. The error message didn't help me much.
C:\ProgramData\Microsoft\VisualStudio\Packages

Moved Development to new machine, now it won't compile

My laptop died so I restored my code to my desktop. I use Xamarin for VS 2017. When I compile I get a "java exited with code 1" error, the logs contain the following:
Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin|Information|0|Xamarin - 4.12.3.83-d15-9+23fa80172
Xamarin.VisualStudio.TastyPackage|Information|0|Hooked up SDB tracing adapter
Xamarin.VisualStudio.TastyPackage|Information|0|Initialization finished
Xamarin.VisualStudio.Android.XamarinAndroidPackage|Warning|0|Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
Xamarin.VisualStudio.DocumentObservable|Warning|0|An error occurred getting the Project Node for 'C:\Users\HP_administrator\Documents\Visual Studio 2017\Projects\OML Android\OML Android\OML Android.csproj'
System.InvalidCastException: Unable to cast COM object of type 'EnvDTE.SolutionClass' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866311E6-C887-4143-9833-645F5B93F6F1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.Shell.Interop.VsShellExtensions.ToDteProject(IVsHierarchy hierarchy) in E:\A\_work\1824\s\src\Core\Xamarin.VisualStudio.Interfaces\Extensions\VsShellExtensions.cs:line 233
at Xamarin.VisualStudio.DocumentObservable.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) in E:\A\_work\1824\s\src\Core\VisualStudio\DocumentObservable.cs:line 33
This is not the entire log (won't fit here), but you should get the idea.
I have no idea what these errors mean, am I missing some package registrations or some such?
Turns out the installation folder on Windows 10 is different than Windows 7. I restored my backup-up to \User\\source\repos and everything compiled and deployed successfully.

Can't create projects

I am facing an issue with Visual Studio 2015. When I click on new project/add new file, I get an error message. I get this error even for clicking few menu items.
Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.
I even get few more errors like:
The 'XamlDesignerPackage' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\MY PC\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.
Restarting Visual Studio could help resolve this issue.
I have tried repair and reinstall(uninstall and install again) both didn't have any effect.
These are the errors found in ActivityLog.xml
<entry>
<record>392</record>
<time>2018/02/09 02:11:35.915</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
<entry>
<record>400</record>
<time>2018/02/09 02:11:47.980</time>
<type>Error</type>
<source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
<description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.Workspaces.Contracts, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. Could not find or load a type. (Exception from HRESULT: 0x80131522)</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\HEXW0BB4.KCG\TMLanguage.dll</path>
<entry>
<record>420</record>
<time>2018/02/09 02:12:00.074</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [ServiceProviderPackage]Source: &apos;GitHub.VisualStudio&apos; Description: Could not load type &apos;GitHub.Services.IUIProvider&apos; from assembly &apos;GitHub.Exports, Version=2.4.2.1331, Culture=neutral, PublicKeyToken=bc1bd09f2901c82e&apos;.
System.TypeLoadException: Could not load type &apos;GitHub.Services.IUIProvider&apos; from assembly &apos;GitHub.Exports, Version=2.4.2.1331, Culture=neutral, PublicKeyToken=bc1bd09f2901c82e&apos;.
at GitHub.VisualStudio.ServiceProviderPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)
at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)
at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
<guid>{D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53}</guid>
<hr>80131522</hr>
<errorinfo></errorinfo>
And there are few more.

Visual Studio crashes when typing in editor

I have been using VS2010 for a few weeks but for the past few days it has been totally unusable. When I type anything into the editor Visual Studio throws an exception, then I get lots of intellisence errors (the code is fine, I can compile it if I run before trying to use the editor) - here is the log message:
<entry>
<record>241</record>
<time>2011/01/25 08:30:34.109</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast COM object of type &apos;System.__ComObject&apos; to interface type &apos;Microsoft.VisualStudio.TextManager.Interop.IVsTextReplaceEvents&apos;. This operation failed because the QueryInterface call on the COM component for the interface with IID &apos;{CF9928D9-65AE-4319-A446-94ED5C45ECDE}&apos; failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
at Microsoft.VisualStudio.TextManager.Interop.IVsTextReplaceEvents.OnReplace(ChangeInput[] pCI)
at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChangedHighPriority(Object sender, TextContentChangedEventArgs e)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
<entry>
<record>242</record>
<time>2011/01/25 08:30:34.125</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidCastException: Unable to cast COM object of type &apos;System.__ComObject&apos; to interface type &apos;Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private&apos;. This operation failed because the QueryInterface call on the COM component for the interface with IID &apos;{96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52}&apos; failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
at Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private.OnChangeStreamText(Int32 iPos, Int32 iOldLen, Int32 iNewLen, Int32 fLast)
at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
This seems like it might be due to some info missing from the registry on your computer. If you go to the MS Connect website you'll find a discussion about this issue and what seems to be a solution as well.
Solution (copied from that page):
Using regedit look at the following key:
On 32-Bit Windows: [HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
On 64-Bit Windows: [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
The "(Default)" value should be one of the following:
On 32-Bit Windows: "C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
On 64-Bit Windows: "C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
Looks like a problem with an extension or add in. Disable them all then re-enable one by one and see if one of them is acting up..

Resources