Posts

Showing posts from 2018

Restoring Color Icons in Gimp 2.10

Image
When Gimp 2.10 was released, the new icons for the toolbox items were all black and white. If, like me, you'd like to go back to the color versions, here's how:  Select Edit --> Preferences From the Preferences dialog, under the Interface section, select Icon Theme For the icon theme, select Legacy if you want icons like they were in 2.8.  If you'd like color versions of the new icons, select the icon theme named  Color . 

VisualTreeChanged Error when Debugging VSIX

I just had an odd thing happen. I tried to debug a VSIX project in VS 2015. When I ran it, I got an error that said: Message: An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationCore.dll Additional information: The visual tree has been changed during a 'VisualTreeChanged' event. At first, I thought it might be related to the issue VS 2017 caused with VSIX projects . But this was a different error. After Googling, I discovered here that you could fix it by disabling Enable UI Debugging Tools for XAML. Tools --> Options --> Debugging --> General --> Uncheck Enable UI Debugging Tools for XAML.

VSIX Winforms Toolpane

Image
The other day I wanted to create a Visual Studio Toolpane window and I wanted to create it using Winforms (by default, the toolpanes use WPF). After much research, I got it to work. These are the steps I followed: I've tested these steps with Visual Studio 2015 & Visual Studio 2017. Create a new Extensibility project In Visual Studio, from the File menu, select New --> Project. In the New Project dialog, one the left, under Visual C# , select Extensibility . On the right, select VSIX Project . Give the project a name. In this example, I'm calling it MySampleVSIXProject Add a Visual Studio Package Right-click the project in Solution Explorer and select Add --> New Item In the Add New Item dialog, on the left, expand Extensibility and select VSPackage . On the right, select Custom Tool Window . Give the tool window a name. In this example, I'm calling it MySampleToolWindow.cs Add a W