Open slimeygecko opened 9 years ago
@slimeygecko sorry for missing this question - what version of VS are you running?
No problem! I'm running v12.0.21005.1 REL
@slimeygecko Ah - sorry. Save All the Tabs only works with VS 2013 and up.
I get that error in Visual Studio 2015 when I try to open the 'Saved Tabs Window'.
Nothing is listed in the ActivityLog.xml.
I must have forgotten to look at the version requirement. Thanks
Np- The saving of tab groups work great - just not the 'Saved Tabs Window' to allow me to delete them :).
@user1568891 are you running the RTM version of VS2015?
Yes
Same error in VS2013 Ultimate 12.0.40629.00 Update 5
I have the same problem. Using Visual Studio Community 2015 (14.0.23107.0 D14REL). I have installed Resharper 10.
I have tried in another installation, almost the same but instead of Visual Studio Community it's Visual Studio Professional 2015 (same version number) AND it work's fine.
@dsancho and other -- thanks for the feedback. I'm quite swamped right now, but will try to dig into this as soon as I can.
Sorry!
I'm having this problem with VS2013 Premium and ReSharper installed.
>Microsoft Visual Studio Premium 2013
>Version 12.0.40629.00 Update 5
>Microsoft .NET Framework
>Version 4.6.01055
>
>Installed Version: Premium
>
>LightSwitch for Visual Studio 2013 06191-004-0457005-02762
>Microsoft LightSwitch for Visual Studio 2013
>
>Team Explorer for Visual Studio 2013 06191-004-0457005-02762
>Microsoft Team Explorer for Visual Studio 2013
>
>Visual Basic 2013 06191-004-0457005-02762
>Microsoft Visual Basic 2013
>
>Visual C# 2013 06191-004-0457005-02762
>Microsoft Visual C# 2013
>
>Visual C++ 2013 06191-004-0457005-02762
>Microsoft Visual C++ 2013
>
>Visual F# 2013 06191-004-0457005-02762
>Microsoft Visual F# 2013
>
>Visual Studio 2013 Code Analysis Spell Checker 06191-004-0457005-02762
>Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
>
>Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie
>Speech Products N.V. All rights reserved.
>
>The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992
>Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products
>N.V. All rights reserved.
>
>Application Insights Tools for Visual Studio Package 1.0
>Application Insights Tools for Visual Studio
>
>ASP.NET and Web Tools 12.5.60612.0
>Microsoft Web Developer Tools contains the following components:
>Support for creating and opening ASP.NET web projects
>Browser Link: A communication channel between Visual Studio and browsers
>Editor extensions for HTML, CSS, and JavaScript
>Page Inspector: Inspection tool for ASP.NET web projects
>Scaffolding: A framework for building and running code generators
>Server Explorer extensions for Microsoft Azure Web Apps
>Web publishing: Extensions for publishing ASP.NET web projects to hosting providers,
>on-premises servers, or Microsoft Azure
>
>ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
>For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
>
>ASP.NET Web Frameworks and Tools 2013 5.2.30612.0
>For additional information, visit http://www.asp.net/
>
>Common Azure Tools 1.4
>Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
>
>JetBrains ReSharper 8.2.3 build 8.2.3000.5176 on 2014-10-10T03:08:24 [Not Loaded]
>JetBrains ReSharper 8.2.3 package for Microsoft Visual Studio. For more information about
>ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2016 JetBrains, Inc.
>
>Microsoft Azure Mobile Services Tools 1.4
>Microsoft Azure Mobile Services Tools
>
>Microsoft Team Foundation Server 2013 Power Tools 12.0
>Power Tools that extend the Team Foundation Server integration with Visual Studio.
>
>Microsoft Visual Studio Process Editor 1.0
>Process Editor for Microsoft Visual Studio Team Foundation Server
>
>NuGet Package Manager 2.8.60723.765
>NuGet Package Manager in Visual Studio. For more information about NuGet, visit
>http://docs.nuget.org/.
>
>Office Developer Tools for Visual Studio 2013 ENU 12.0.30626
>Microsoft Office Developer Tools for Visual Studio 2013 ENU
>
>PreEmptive Analytics Visualizer 1.2
>Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive
>Analytics product.
>
>Save All the Tabs 1.0
>SaveAllTheTabs Visual Studio Package Detailed Info
>
>Snippet Designer 1.6.2
>Snippet Designer is a Visual Studio plug in which allows you to create and search for snippets
>inside the IDE
>
>SQL Server Data Tools 12.0.50512.0
>Microsoft SQL Server Data Tools
>
>tangible T4 Editor 2.3.0
>tangible engineering GmbH
>
>Visual Commander 2.3
>For more information about Visual Commander, see the website at
>https://vlasovstudio.com/visual-commander/.
>Copyright (c) 2013-2015 Vlasov Studio.
>
>Web Essentials 2013 2.6.13.0
>Adds many useful features to Visual Studio for web developers.
>
>Windows Phone 8.1 SDK Integration 1.0
>This package integrates the tools for the Windows Phone 8.1 SDK into the menus and
>controls of Visual Studio.
>
>Workflow Manager Tools 1.0 1.0
>This package contains the necessary Visual Studio integration components for
>Workflow Manager.
Same error with VS 2015 Professional Edition on Windows 7 64-bit (not sure if this is relevant). On a side note, where are the saved tabs stored locally? By the way, thank you for the extension. excellent work. I'm not sure if this helps but this is the exception log from debugdiag which reports a couple of exceptions:
Exception Type:
System.Windows.Markup.XamlParseException
Count:
1
Message:
Set property 'System.Windows.FrameworkElement.Style' threw an exception.
Stack Trace:
System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
System.Windows.Application.LoadComponent(System.Object, System.Uri)
SaveAllTheTabs.SavedTabsToolWindowControl.InitializeComponent()
SaveAllTheTabs.SavedTabsToolWindowControl..ctor(SaveAllTheTabs.SaveAllTheTabsPackage, SaveAllTheTabs.Commands.SavedTabsWindowCommands)
SaveAllTheTabs.SavedTabsToolWindow..ctor()
Exception Type:
System.Reflection.TargetInvocationException
Count:
1
Message:
Exception has been thrown by the target of an invocation.
Stack Trace:
System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
System.Activator.CreateInstance(System.Type, Boolean)
System.Activator.CreateInstance(System.Type)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, Int32, Microsoft.VisualStudio.Shell.ProvideToolWindowAttribute)
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, Int32)
Microsoft.VisualStudio.Shell.Package.FindToolWindow(System.Type, Int32, Boolean, Microsoft.VisualStudio.Shell.ProvideToolWindowAttribute)
SaveAllTheTabs.Commands.PackageCommands.ExecuteSavedTabsWindowCommand(System.Object, System.EventArgs)
Microsoft.VisualStudio.Shell.OleMenuCommand.Invoke(System.Object, IntPtr, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT)
Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr)
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr)
This error is due to "PresentationFramework.Aero2" which not present in win7. For myself I have modified SavedTabsToolWindowControl.xaml removing the dependence and aero2 xaml elements and it's work
@vitidev any chance you'd be up for providing a PR with the changes? I haven't been able to get to the bottom of this.
Not now. I have a problem (bug) with VS2017 today (yesterday everything worked) and I сan't fix it.
I made a lot of changes without cvs. Also I clean up xaml using XamlStyler. And as a result I can't get clean diff history.
But I remember the modifications for quick fix 1) remove PresentationFramework.Aero2 dependency from project and xaml (SavedTabsToolWindowControl.xaml) 2) replace in SavedTabsToolWindowControl.xaml ListBoxChrome with ListBox and remove unsupported attributes RenderMouseOver="{TemplateBinding IsMouseOver}" RenderFocused="{TemplateBinding IsKeyboardFocusWithin}" modified xaml
It fix win 7 compatibility, but maybe it changes design of the window (I did not see how it should be)
I temporarily fixed VS2017 bug and push some changes to fork https://github.com/vitidev/SaveAllTheTabs/commits/master But I do not think that they can be sufficient for providing as PR
I wanted to share workaround for editing Saved Tabs Profiles for all the people who also have scenario that Exception Message Box is shown when triggering 'Save Tabs Window'. Like for other Visual Studio Extensions, any configuration that is saved, it is saved per user in Windows Registry. So if you want to edit these data, you have to edit in Windows Registry, by following next instructions.
Location in RegEdit where tabs are saved: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\SaveAllTheTabs HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SaveAllTheTabs HKEY_CURRENT_USER\Software\Microsoft\VisualStudio{VS-Version}\SaveAllTheTabs
Open RegEdit application in Windows and find corresponding location by VS version. Keys are created by project/solution. Find key that is desired to be edited and modify it as string. As string is large, it will not be displayed in the dialog textbox for editing. But, select all and copy will do the job. (CTRL+A, CTRL+C) Then paste it in newest Notepad++ (that is supporting wrap of large single line). Turn on the wrap text option from the toolbar in Notepad++. Saved tab profiles are within curly braces {} Everything is withing square braces [] as an array of profiles. Each entry typically starts with word "Positions" and ends with the list of paths (between are binary data, human unreadable) Useful key Entries within one profile are: Name: Entered name when saving Slot: Ordinal of profile, also used for shortcut CTRL+D,{number} (e.g. CTRL+D,1 then CTRL+D,2 ...) Description: Contains filenames that are displayed as titles in VS tabs Files: Concrete full paths of the files that are saved to be opened in tabs
There is always special Entry with name '
With knowing this formats, after copying into Notepad++, you can edit as you want: Delete entries, reorder Slots, change profile Names, and so on. After editing, just copy the content from Notepad++ (be sure that it is in single line like originally copied), and then paste it in Registry key which was the source. On the next opening of Visual Studio, everything will be set up.
Whenever I go to open the 'Saved Tabs Window', Visual Studio throws this error: 'Exception has been thrown by the target of an invocation." Any ideas as to why this would happen?