{"action":"created","issue":{"url":"https://api.github.com/repos/tomasr/viasfora/issues/159","repository_url":"https://api.github.com/repos/tomasr/viasfora","labels_url":"https://api.github.com/repos/tomasr/viasfora/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/tomasr/viasfora/issues/159/comments","events_url":"https://api.github.com/repos/tomasr/viasfora/issues/159/events","html_url":"https://github.com/tomasr/viasfora/issues/159","id":163673424,"number":159,"title":"Changing initial configuration of Viasfora lets crash VS2015 on startup","user":{"login":"MartinL0815","id":525700,"avatar_url":"https://avatars.githubusercontent.com/u/525700?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinL0815","html_url":"https://github.com/MartinL0815","followers_url":"https://api.github.com/users/MartinL0815/followers","following_url":"https://api.github.com/users/MartinL0815/following{/other_user}","gists_url":"https://api.github.com/users/MartinL0815/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinL0815/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinL0815/subscriptions","organizations_url":"https://api.github.com/users/MartinL0815/orgs","repos_url":"https://api.github.com/users/MartinL0815/repos","events_url":"https://api.github.com/users/MartinL0815/events{/privacy}","received_events_url":"https://api.github.com/users/MartinL0815/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-04T13:07:21Z","updated_at":"2016-07-04T21:46:26Z","closed_at":null,"body":"I just installed Viasfora in VS2015 and configured it the same way it was configured in VS2013.\r\n\r\nNow VS2015 crashes on Startup!\r\n\r\nIn ist activity log the following lines describe Viasfora related Errors:\r\n> 161  Entering function CVsPackageInfo::HrInstantiatePackage {F419E6BB-F72F-42CF-ACFE-D0D0E17FCB17}  VisualStudio 2016/07/04 12:28:00.578 \r\n> 162  Begin package load [Microsoft.VisualStudio.Shell.VsHubServicePackage] {F419E6BB-F72F-42CF-ACFE-D0D0E17FCB17}  VisualStudio 2016/07/04 12:28:00.578 \r\n> 163 ERROR Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.CSS.Editor, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n>           C:\\windows\\Microsoft.Net\\assembly\\GAC_MSIL\\Microsoft.VisualStudio.JavaScript.Project\\v4.0_14.0.0.0__b03f5f7f11d50a3a\\Microsoft.VisualStudio.JavaScript.Project.dll   Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/04 12:28:00.651 \r\n> 164 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.\r\n>           C:\\PROGRAM FILES (X86)\\MICROSOFT VISUAL STUDIO 14.0\\COMMON7\\IDE\\EXTENSIONS\\DGWQ5VGT.MHG\\TMLanguage.dll   Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/04 12:28:02.761 \r\n> 165 ERROR Error loading extension: This VSIX does not apply to any product installed on this machine. The problem could be that the VSIX manifest's format is not recognized, or that the manifest has been corrupted. Data at the root level is invalid. Line 1, position 1. \r\n>           C:\\PROGRAM FILES (X86)\\MICROSOFT VISUAL STUDIO 14.0\\COMMON7\\IDE\\EXTENSIONS\\MICROSOFT\\VSGRAPHICS\\   Extension Manager 2016/07/04 12:28:02.866 \r\n> 166 ERROR Error loading extension: This VSIX does not apply to any product installed on this machine. The problem could be that the VSIX manifest's format is not recognized, or that the manifest has been corrupted. Data at the root level is invalid. Line 1, position 1. \r\n>           C:\\PROGRAM FILES (X86)\\MICROSOFT VISUAL STUDIO 14.0\\COMMON7\\IDE\\EXTENSIONS\\MICROSOFT\\VSGRAPHICS\\   Extension Manager 2016/07/04 12:28:02.993 \r\n> 167 ERROR An item with the same key has already been added.   Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/04 12:28:10.848 \r\n> 168 ERROR Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.CSS.Editor, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n>           C:\\windows\\Microsoft.Net\\assembly\\GAC_MSIL\\Microsoft.VisualStudio.JavaScript.Project\\v4.0_14.0.0.0__b03f5f7f11d50a3a\\Microsoft.VisualStudio.JavaScript.Project.dll   Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/04 12:28:10.873 \r\n> 169 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.\r\n>           C:\\PROGRAM FILES (X86)\\MICROSOFT VISUAL STUDIO 14.0\\COMMON7\\IDE\\EXTENSIONS\\DGWQ5VGT.MHG\\TMLanguage.dll   Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/04 12:28:10.873 \r\n> 170 ERROR An item with the same key has already been added.   Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost 2016/07/04 12:28:14.207 \r\n> 171 ERROR LegacySitePackage failed for package [Winterdom.Viasfora.VsfPackage, Viasfora, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null]Source: 'mscorlib' Description: Exception has been thrown by the target of an invocation. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<>c__DisplayClass54_0.<CreateAssemblyCatalogsAsync>b__6(KeyValuePair`2 namedCatalog) at System.Threading.Tasks.Dataflow.ActionBlock`1.ProcessMessage(Action`1 action, KeyValuePair`2 messageWithId) at System.Threading.Tasks.Dataflow.ActionBlock`1.<>c__DisplayClass5.<.ctor>b__0(KeyValuePair`2 messageWithId) at System.Threading.Tasks.Dataflow.Internal.TargetCore`1.ProcessMessagesLoopCore() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<CreateAssemblyCatalogsAsync>d__54.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<GetCurrentAssemblyCatalogsAsync>d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<GetExportProviderFactoryAsync>d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.<GetMEFV3ExportProviderInternalAsync>d__49.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.<GetMEFV3ExportProviderWrapperAsync>d__48.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions) at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetLazyValue[T](AsyncLazy`1 lazy) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Winterdom.Viasfora.Compatibility.SComponentModel.GetService[T]() at Winterdom.Viasfora.Telemetry.Initialize(DTE2 dte) at Winterdom.Viasfora.VsfPackage.InitializeTelemetry() at Winterdom.Viasfora.VsfPackage.Initialize() at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<>c__DisplayClass54_0.<CreateAssemblyCatalogsAsync>b__6(KeyValuePair`2 namedCatalog) at System.Threading.Tasks.Dataflow.ActionBlock`1.ProcessMessage(Action`1 action, KeyValuePair`2 messageWithId) at System.Threading.Tasks.Dataflow.ActionBlock`1.<>c__DisplayClass5.<.ctor>b__0(KeyValuePair`2 messageWithId) at System.Threading.Tasks.Dataflow.Internal.TargetCore`1.ProcessMessagesLoopCore() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<CreateAssemblyCatalogsAsync>d__54.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<GetCurrentAssemblyCatalogsAsync>d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ExtensibilityHosting.VsExportProviderFactory.<GetExportProviderFactoryAsync>d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.<GetMEFV3ExportProviderInternalAsync>d__49.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.<GetMEFV3ExportProviderWrapperAsync>d__48.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread() at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions) at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetLazyValue[T](AsyncLazy`1 lazy) at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]() {3338742C-7926-4949-9E57-3FCBB8D0A976} 80131604 VisualStudio 2016/07/04 12:28:14.240 \r\n> 172 ERROR SetSite failed for package [Winterdom.Viasfora.VsfPackage, Viasfora, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null](null) {3338742C-7926-4949-9E57-3FCBB8D0A976} 80131604 VisualStudio 2016/07/04 12:28:14.246 \r\n> 173 ERROR End package load [Winterdom.Viasfora.VsfPackage, Viasfora, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null] {3338742C-7926-4949-9E57-3FCBB8D0A976} 80131604 VisualStudio 2016/07/04 12:28:14.250 \r\n\r\nNow I have some questions:\r\n1. How to get VS2015 running again (without Viasfora)?\r\n2. How to get VS2015 running with Viasfora?\r\n3. Where to find the changed configuration to send it to you to Support you to Support me?\r\n\r\nCheers,\r\n\r\nMartin"},"comment":{"url":"https://api.github.com/repos/tomasr/viasfora/issues/comments/230357300","html_url":"https://github.com/tomasr/viasfora/issues/159#issuecomment-230357300","issue_url":"https://api.github.com/repos/tomasr/viasfora/issues/159","id":230357300,"user":{"login":"tomasr","id":16179,"avatar_url":"https://avatars.githubusercontent.com/u/16179?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasr","html_url":"https://github.com/tomasr","followers_url":"https://api.github.com/users/tomasr/followers","following_url":"https://api.github.com/users/tomasr/following{/other_user}","gists_url":"https://api.github.com/users/tomasr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasr/subscriptions","organizations_url":"https://api.github.com/users/tomasr/orgs","repos_url":"https://api.github.com/users/tomasr/repos","events_url":"https://api.github.com/users/tomasr/events{/privacy}","received_events_url":"https://api.github.com/users/tomasr/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T21:46:26Z","updated_at":"2016-07-04T21:46:26Z","body":"You're right; there doesn't seem to be anything invalid in there.\r\n\r\nMost of the errors you point out in the log are not related to Viasfora. For example, \"Microsoft.VisualStudio.Workspaces.Contracts\" is a Roslyn DLL upon which Viasfora does not depend (nor does it use it at all) so I wonder if something else is going on in there.\r\n\r\nTry the following:\r\n\r\nOption 1: Clean the component cache:\r\n* Close VS\r\n* Delete the ```%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\14.0\\ComponentModelCache``` folder\r\n* Start VS\r\n\r\nOption 2: Manually delete Viasfora\r\n* Close VS\r\n* Locate your ```%USERPROFILE%\\AppData\\local\\Microsoft\\VisualStudio\\14.0\\Extensions``` folder, then go over each one to see if it contains the Viasfora assemblies.\r\n* Delete the folder found in the last step\r\n* Probably want to reset the component cache again just in case\r\n* Not sure if you'll need to run ```devenv.exe /setup``` just in case.\r\n\r\nLet me know if any of that works for you.\r\n"}}
{"actor":{"display_login":"tomasr"}}