VS 2013 Ultimate: Add new Elements, Windows Form missing - winforms

When creating a new project I can select a new Windows Forms Project. It will open me a new project with a new windows form. When right clicking my opened project and going for add => Windows Form it will only open the "new element" mask, where Windows Forms, WPF and other templates are missing.
I already tried Visual Studio C# Can't make new windows form project devenv /installvstemplates, but it didn't work out telling me the templates were missing.
The following files were passed with the commandline:
\installvtemplates
These files were not found and could not be load.
What do I have to do, to get my WinForm templates back and where can I configure those? I can not just reinstall Visual Studio 2013 Ultimate, because I do not have an installation medium nor they key (Like nobody in my company can tell where to find it).
In the screenshot below you can see the mask, where I used to have a lot more templates. In this case we only have Inherited Forms and Inherited User Control as avaliable templates.
This is what I get when I go for new project, Windows Forms is avaliable here.
( Win Forms Objects not avaliable )
The template files are avaliable at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplates\VisualBasic so I am pretty sure it has to be an option somewhere in the settings. Any ideas?

After a few hours of trying I found a solution myself. It might not be the official way, but it seems to be working. I did the following steps:
Go to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplates\VisualBasic and check if the templates are avaliable
If they are avaliable copy the directory Windows Forms
Paste the copied directory to C:\Users\%USERNAME%\Documents\Visual Studio 2013\Templates\ItemTemplates\Visual Basic
Start Visual Studio
Go into a project and try to add a new element. This step will take a while loading. I think visual studio now detects the new templates in your documents folder and refreshes all templates.
When it has finished loading you will see almost all templates twice. That's good news!
Close Visual Studio and delete the directory in C:\Users\%USERNAME%\Documents\Visual Studio 2013\Templates\ItemTemplates\Visual Basic\ we just pasted.
Restart Visual Studio
Profit
Tested on Windows 10 / Visual Studio 2013 Ultimate

Related

MVVM Light templates not showing in "Add Item" menu (VS 2017)?

I've installed MVVM Light Toolkit through NuGet in VS 2017. The problem is that when I click "Add New Item" on any project, I don't see any MVVM templates that appear in MVVM Light tutorials.
They must look like this (but I don't see them in my project):
http://prntscr.com/n9bs1q
I found similar questions about VS 2012. The answers advise to search for C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Vsix
But I have no such folder not in Program Files (x86), neither in Program Files.
Help me please, what should I do for the templates to appear?
MVVM Light NuGet can only add related resources (assemblies/.cs files) into the project. It wont add Templates into Visual Studio. To get templates in Visual Studio, you have to install MVVM Light Visual Studio Extension by following the below steps.
Open Visual Studio and go to Tools->Extensions and Updates.
In the Extensions and Updates window lick Online in the left pane.
In the search bar, type MVVM Light.
In the search results find MVVM Light for VS2017. Click Download and accept license.
Extension will be installed once Visual Studio gets restarted. Then you can get the templates.
UPDATE:
They have stopped support of Item Templates for MVVM Light in Visual Studio 2017. Its been there up to VS 2015. So you can only get Project Templates (File->New Project) in VS 2017 extension. You can see similar queries here.

wpf use splash.png only in release

in my wpf project I added splash.png image to Resources and when the application run, works perfectly...
My question is: it's possible use the splash.png only in Release and not in Debug?
thanks in advance
You could try to manually edit the MSBuild script file as suggested here:
Debug-only classes and resources in visual studio - is it possible?
Right-click on the project in the Solution Explorer in Visual Studio and choose "Open Folder in File Explorer" and then open up and edit the .csproj file in a text editor such as Notepad. I am afraid Visual Studio provides no GUI that lets you do this though.

Unable to add WPF controls to the toolbox in Visual Studio 2013

First of all, I am completely new to Visual Studio, so please don't be too judgmental. I have a project I need to do in C# for my studies and my team uses a GitHub repository. I am in charge of creating the GUI and I am stuck at the very beggining.
I want to create the main application window using WPF, but when I use toolbox > choose items, I can not see the WPF tab. Also, when I am trying to enable the designer view, nothing happens.
Is it perhaps the software version being Visual Studio Community 2013 causing the issue? Do I need to have the Visual Studio Professional version in order to use WPF toolbox?
I'm attaching a link to the screen of the situation below.
As I presumed, all I needed was the professional version of Visual Studio. After obtaining and installing it everything works fine.

How can I change the default image location for a Silverlight project in Visual Studio

Re: Visual Studio 2010 Silverlight 4.0 project.
When setting the source for an image element using the builder from the property sheet, it Visual Studio has a handy option to add an image file to the project and set it as the source for the control.
The Problem:
Visual Studio wants to put those images in a folder called images off the root of my project, and will even create that folder if it doesn't exist. However, my project is structured so that the images should go in a different directory (assets\images). So I am always having to move them after using that builder.
The Question:
Is there a way to configure the project or change the default in Visual Studio such that the builder puts newly imported images in a different directory?
I don't think we can configure that. The best workaround for you would be to put a create a folder with all the images and add it to the project. From the Source property for Image control in the Properties window, you will able to select images from the "Choose image" dialog box.

ReportViewer (.rdlc) light designer for WinForms

Are there any other ReportViewer designer beside the Visual Studio (with GUI of course I know that any XML/TEXT editor can change definition of .rdlc file) ?
One day when I finish my rich (fat) client application at all, Ill love to try embed in report designer, so end users can do cosmetics modification of theirs report files without having installed Visual Studio.
Sub question, does this feature have CrystalReport service ?
I tried an opensource editor: http://www.fyireporting.com/products.html, and it works! (I have several WinForms apps which use the ReportViewer from Visual Studio 2008). You can, of course, download the sources also and adapt it if needed.
Visual Studio Community is Free and includes all the functionality of Visual Studio Professional.
http://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

Resources