cannot view visual designer in MonoDevelop - linux

I cannot see any visual design tools in monodevelop. "Design" and "Source Code" buttons which are supposed to be at the bottom of a designer file. I checked if gtksharp is selected in the references. MonoDevelop is totally new to me and i am really stuck right now that i cannot find anything in google.

The designer does't show up for all files that contain GTK# classes, it only shows up for those which were created with designer support - the "Window", "Widget" and "Dialog" templates.
These templates are available if your project references GTK# - but the easiest way is to create a new GTK# Application project, which has the correct references, the app initialization boilerplate, and a designer window class (MainWindow.cs).

Related

Could not find type 'Microsoft.Office.Tools.Ribbon.RibbonTab' error prevents designer from opening

I have a VSTO for Excel project with a custom ribbon tab. The solution builds without errors. I can run the solution. It launches Excel and displays the custom ribbon tab and task pane without any issue.
When I try to open the designer for the custom ribbon tab in Visual Studio 2019, I get the following error:
Could not find type 'Microsoft.Office.Tools.Ribbon.RibbonTab'. Please
make sure the assembly that contains this type is referenced. If this
type is a part of a development project, make sure that the project
has been successfully built using the settings for your current
platform or Any CPU.
The solution builds and runs without any issues.
When I expand the error info, There is no stack trace or error line information available for this error.
The build settings are set to 'Any CPU'.
The assemblies that contain 'Microsoft.Office.Tools.Ribbon.RibbonTab' are included in the project references. These are Microsoft.Office.Tools.Common and Microsoft.Office.Tools.Common.v4.0.Utilities.
I have tried to Clean, Rebuild, and Restart Visual Studio 2019. This had no effect.
I could not find anything definitive when I Check Windows Forms Design-Time error list.
Would anyone know how to address this issue so that I can open the custom ribbon in the designer?
Is VSTO still supported by Microsoft? All documentation appears to be several years old.
This is a Visual Studio issue, not a C#/Build/DLL linkage issue.
Make sure your Visual Studio setup (do the Modify in the installer (#1) if already installed) has these two components checked:
Is VSTO still supported by Microsoft?
They are moving to an online office365 addin (my words) type VSTO. As to new features, not recently. One can still put in a Visual Studio support ticket if you have the right subscription.
I have never had any issues with ribbons, but sometimes the winforms res files in designer do not show and I use the JetBrains Rider editor to view those controls when VS fails.

Change VS2012 Color Theme programmatically

I'm looking for a resource or example code on how to change the color theme in VS2012.
I'd like to do this dependant on the value of an AppSetting entry in the app.config.
Ideally when when the app isn't running and the theme would change once the file is edited.
However, I'd appreciate anything towards that goal.
At first, you can use free Visual Studio 2012 Color Theme Editor, which you can download here:
https://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05
This will add “Theme” menu in your VS.
Also you can change your icons: here http://vsip.codeplex.com/ you can download Visual Studio Icon Patcher (But VS2010 should be also installed for this to work).
But, if you want to implement your own code to change themes, the best way is making own extensions which look like VSPackage. You can read recommendations how to do this here: https://msdn.microsoft.com/ru-ru/library/bb165437.aspx
And in other articles at this site you can find more information about implementing your own ideas in the VS.

Visual Studio custom control / UserControl not refreshing in ToolBox

I use Visual Studio 2012 Ultimate, created a UserControl and everything went fine until I wanted to make some changes to the UserControl class, did a Clean and Rebuild several times, removed my custom control from the Form, added a again, but it is still not reflecting the changes that I have done to the UserControl's class.
The custom control and the form are in the same project, so no .dll or what so ever issue. How do I force Visual Studio to recompile the code and show the changes?
See this answer How to put a UserControl into Visual Studio toolBox
There are several approaches to the problem, might be a good future reference.

Visual Studio 2012 Solution Explorer Button View Designer

I noticed, or do not see, that there is no View Designers button in the tool strip in Solution Explorer. VS2010 had both a View Code and View Designer, but with VS2012 I see only View Code.
Is it possible to get the View Designer back? If so, how?

Blend in visual studio 2012: Missing the "resources" window i used to use in blend 4

In blend 4 i often open a resource dictionary (i.e. "Generic.xaml") by clicking the "resources" tab (next to the property tab on the right pane), navigate to a resource and click on its icon to edit it in the designer.
In blend for visual studio 2012 i can't seem to find the resources tab? How am i then able to edit resources in resource dictionaries?
As of VS2012 Update 2+ we can once again create desktop WPF apps so the Resource tab returns.
"In addition, Visual Studio 2012 Update 2 and later adds support for Silverlight and WPF editing, as well as SketchFlow. Developers can now leverage a consolidated tool for all the platforms as part of a fully integrated solution with Visual Studio." (1)
(1) "Microsoft Expression Changes", http://www.microsoft.com/expression/eng/, retrieved 2013-9-20
I'm assuming this is a XAML project. Is the Window open? Main toolbar -> Window -> Resources... is that checked? If not, check that.

Resources