Visual Studio 2010 - Silverlight 4 templates missing, how to redownload them? - visual-studio-2010

I am missing the silverlight 4 templates for Visual Studio 2010. devenv /installvstemplate doesn't work because the actual files are missing, and the specific one I want (User Control) doesn't show up in the list of online templates. I've already tried the solutions in Missing Project/Item Templates.
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ does not contain any project templates or item templates.
I've already tried uninstalling and reinstalling all Silverlight components and tools I'm using.
Is there any way to just download the templates directly and put them in that folder?

I went to the windows control panel, Programs and Features, and did a re-install of Visual Studio (VS lets you do that without having to uninstall and lose all your settings). After that, I re-instaled all the silverlight components I'm using. The templates are available now.

This helped me: http://chiragrdarji.wordpress.com/2008/05/06/missing-templates-in-visual-studio-installed-templates/
If you Close all instance of Visual Studio. Open visual studio command prompt and type,
devenv /installvstemplates
Press Enter

Related

Create Setup/MSI installer in Visual Studio 2017

I have written an outlook add-in VSTO in Visual Studio Pro 2017 (VB.NET). I have published it which creates a setup.exe which is OK but I would like to create a proper installer that copies the files locally and can be run silently etc.
How do I go about doing this? When I go to create new project there is no installer project option.
You need to install this extension to Visual Studio 2017/2019 in order to get access to the Installer Projects.
According to the page:
This extension provides the same functionality that currently exists in Visual Studio 2015 for Visual Studio Installer projects. To use this extension, you can either open the Extensions and Updates dialog, select the online node, and search for "Visual Studio Installer Projects Extension," or you can download directly from this page.
Once you have finished installing the extension and restarted Visual Studio, you will be able to open existing Visual Studio Installer projects, or create new ones.
Other answers posted here for this question did not work for me using the latest Visual Studio 2017 Enterprise edition (as of 2018-09-18).
Instead, I used this method:
Close all but one instance of Visual Studio.
In the running instance, access the menu Tools->Extensions and Updates.
In that dialog, choose Online->Visual Studio Marketplace->Tools->Setup & Deployment.
From the list that appears, select Microsoft Visual Studio 2017 Installer Projects.
Once installed, close and restart Visual Studio. Go to File->New Project and search for the word Installer. You'll know you have the correct templates installed if you see a list that looks something like this:

Visual Studio: there are no components that can be placed on the toolbox

I am using Visual Studio 2013 Ultimate with Windows 7, and a C# / WinForms project. I have a problem that I cannot add any DLLs to the toolbox. I have already tried searching on Google for the answer, but none of the solutions work: rebuilding the project and re-installing Visual Studio both didn't work.
Even if I create a new project, I cannot drag the DLL to the toolbox or nuGet or use "Choose Item" from the toolbox. I want to use materialSkin, metroframework, and others like that.
Just in case it helps: I have installed Visual C# 2008 and Visual Studio 2010 previously; could that cause any problems with Visual Studio 2013?
Here is the error I see:
Can anyone help please?

How to remove ApexSQL menus from Visual Studio?

I installed the free version of ApexSQL which is awesome in SSMS, but I really don't want all those menus in Visual Studio. I went to add-in manager and unchecked them, but the Startup column is checked and disabled so every time I restart Visual Studio they come back.
Is it possible to permanently remove the ApexSQL menus from Visual Studio?
If you have ApexSql installed and you don't want those pesky menus in Visual Studio do 2 things.
In Visual Studio, go to Tools > Add-in Manager and uncheck the ApexSql addins. Close Visual Studio.
In Windows 7, there's a hidden folder C:\ProgramData. In Windows Explorer go to C:\ProgramData\Microsoft\MSEnvShared\AddIns folder. Edit each of the *.MsvsLoader.Addin files and set <LoadBehavior> to 0. If you can't save the files directly, you'll have to save the files to a different location (desktop maybe) and then copy them back into C:\ProgramData\Microsoft\MSEnvShared\AddIns because there's some Admin privilege required.
Now when you restart VS those ApexSQL menus should be gone
The issue of crowding menus is resolved in latest releases, now all ApexSQL add-ins are under the main ApexSQL menu as sub-menus. They look like this now:
If you don't need ApexSQL add-ins in VS or SSMS you can simply choose not to integrate them with VS or SSMS during the installation, just check out SSMS ot VS version in which you want the add-ins integrated
Note: To get this dialog in which you can check the wanted integration you need to use individual installers not the main one. You can find all individual installers on this link
Disclaimer: I work for ApexSQL as a Support Engineer
For Visual Studio 2010 on Windows 7, I attempted #Chris Bayles suggestion and do not see ApexSql addins under Tools->Add-in Manager.
I followed #Jerome2606's pointer to https://knowledgebase.apexsql.com/remove-add-ins-just-visual-studio-retaining-sql-server-management-studio/ and it worked for me, but only when I removed the parent ApexSQL folder as well.
Summary of what is required to do:
Remove folder
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\ApexSQL
Depending on the version of Visual Studio, the version number in the default installation location will be different:
Product name Version number
Visual Studio 2010 Microsoft Visual Studio 10.0
Visual Studio 2012 Microsoft Visual Studio 11.0
Visual Studio 2013 Microsoft Visual Studio 12.0
Visual Studio 2015 Microsoft Visual Studio 14.0
Select and delete the ApexSQL folder and its contents.
Open Command Prompt as an administrator, then run
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
Please note the command is different for Visual Studio 2012, 2013, and 2015.
If you are using SSMS v18.0 then you can disable the apex features in following way.
You can find the ApexSQL.Complete.Addin.SSMS18.pkgdef file from following path.
C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Extensions\ApexSQL Complete
Then open this file in Notepad++ Administrator mode and comment the content.
If you need further reading follow this link.
https://knowledgebase.apexsql.com/remove-apexsql-tools-sql-server-management-studio/

VS2010 doesn't appear in my apps windows 8

Mine is a Windows 8 machine. I installed Visual Studio 2012, then went to Microsoft SQL Server 2012. Later I was told to install Visual Studio 2010.
The first two installs worked great. Got all the neat icons and everything is good. MSVS2010 SP1 got installed successfully.
Now the third install of Visual Studio 2010 is where I am stuck.
I am downloading it from a Microsoft licensed CD. No errors during installation, but it is only installing Microsoft Visual Studio command prompt, X64 Win64 command prompt and Microsoft Visual Studio 2010 documentation. Nothing else. So basically I dunno where to start to fire up the program.
So I went to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7, C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7 to find the devenv.exe. Couldn't find in either of the locations.
Then went to Run and typed devenv.exe, boom VS2010 opens. So I did a Apps search on Windows 8. When I type devenv.exe the only thing I could find there is SQL Server data tools which has a VS2010 icon. Double click this and VS 2010 opens. So my guess is SQL server 2012 needs VS2010 and installed it.
Questions:
Where is devenv.exe?
Why isn't it installing the rest of the stuff?
How do I start VS2010?
I don't think double clicking on sql server data tools is the correct way. I want VS2010 to appear in my Apps just like any other application. This could be a rather silly question. I did a lot of research and am kinda confused with all these parameters.
In Windows 8, if you search for "Visual Studio" in "Start" screen you won't find VS 2010. Instead search for "devenv", it appears.
Searching for "SQL server data tools" also will work.
In 64bit machines, you can find 2010 in
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
Create a Desktop short cut.
Uninstalling and re installing Visual Studios is not required for the Visual Studio 2010 icon to show up on Windows 8.The Visual Studio 2010 icon is located at C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv. You can add this icon to your task bar or windows desktop and launch Visual Studio 2010. There are two devenv icons in that folder location just select latest one you can find that out by looking at the file properties. The folder path I mentioned above will be different for 64 bit windows machines.
For some reason Visual Studio 2010 did not completely load for me, although it said it did. So I went into its folder and selected the setup.exe to run maintenance mode. There I re-installed it. It asked me (this time) to restart my laptop. I did that. Then I was prompted to update it using the service pack 1 update, via the given link. Then it was ok.
There are two ways to view:
In Win8 or Win8.1 search for "devenv.exe" name it appear and create shortcut in desktop.
Go to this address on your computer:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
and create a shortcut for this file on your desktop.
You have two options here
in windows 8.0 or 8.1 go to run and type'devenv' and then the Visual studio opens up for you.
Else search using the app name and select 'Microsoft Visual studio' from the list of apps installed, right click on the app and select the option 'pin to the start' or 'pin to the task bar'. This creates short cut with the icon of the app handy.

PROBLEM encountered visual studio 2008 installation

I installed Visual Studio 2008 package FULL option. It worked with out any problem. I installed Vstudio 2008 and MSDN in separate folder in the D drive. 2 days later in order to remove my projects i uninstalled every thing and also i deleted visual studio 2008, visual studio 2005 folders from C:\Documents and Settings\IRCTC\My Documents. (I believe these 2 folders were automatically created when we install visual studio) also I cleared %path% and path (c/windows/path). Again I installed VISUAL STUDIO 2008 but now I can't able to create window application (other web, vb also), what is the solution for this ...
ERROR that shown is
c:/documents and settings/IRCTC/local settings/temp/g1zzsdl.bak/temp/windowsFormsApplication.csproj cannot be opened because project type (.csproj) is not supported by this version of visual studio.......
Whether any system file corrupted (windows temp or .net folber in windows).....
No other installation problem found in my system.....
please help.....
What are the files/folders required for the installation......
When you get that error is usually because:
You are trying to open a project created with a previous version of Visual Studio (not your case)
There was a bit of a screw-up during the installation (sounds like your case)
I'd uninstall the thing and reinstall completely first thing.
If it still doesn't work, it could be related to VS templates and you might wanna try and run from Visual Studio 2008 command prompt:
devenv /InstallVSTemplates
If it still doesn't work, open Visual Studio, in the menu, Open Tools->Options->Projects and Solutions->General. At this point you will notice the path of Project Templates is set to "C:\Documents and Settings[yourUserName]\My Documents\Visual Studio 9\Templates\ProjectTemplates" or something very similar to that. In order to fix it you gotta set that path to C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\Project Templates or the same path according to wherever you installed Visual Studio
I don't think is related to VS project Templates though - see this link
Try and see what happens!
Why didn't you use visual studio's uninstall function available from the control panel|add/remove programs?
I would uninstall the latest installation as described above, and try again.

Resources