VS2010 not show up if SQL Server 2012 installed before - visual-studio-2010

I installed them in this order:
Install SQL Server 2012 SP1 x64
Visual Studio 2010
This is the proper order that other developers recommended and as i did.
The problem is, if SQL Server 2012 installed on the system, VS2010 shortcuts are not show up.
How can I fix this?
Note: OS is Windows 8.

This is a bug.
A workaround is to navigate to C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Microsoft Visual Studio 2010, right-click on the
shortcut called Microsoft Visual Studio 2010, and select Pin to Start.
After this, there will be two shortcuts targeting devenv (one titled
Microsoft SQL Server Data Tools and one titled Microsoft Visual Studio
2010)
Refer: http://connect.microsoft.com/VisualStudio/feedback/details/730276/after-installing-sql-server-2012-on-my-windows-8-pc-visual-studio-2010-shortcuts-disappeared

As the OP stated. I too installed SQL before VS. I always do. So I was baffled when i could not find my VS2010 shortcut.
It turns out that the icon is mis-named. If you open (or check the properties) of the icon in the Visual Studio 2010 start menu folder called "Sql Server Data Tools". You may find it is actually the VS 2010 IDE.
Workaround provided by
http://connect.microsoft.com/VisualStudio/feedback/details/730276/after-installing-sql-server-2012-on-my-windows-8-pc-visual-studio-2010-shortcuts-disappeared
Edit the shortcut start target. For instance. I made mine not display the splash page.
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /nosplash
Then repin it to the start menu (right click).

Installing Visual Studio 2010 SP1 seems to fix this as well, its available to download from here http://www.microsoft.com/en-us/download/details.aspx?id=23691 If you run devenv.exe it should prompt you to do this also.

Related

How do I uninstall Visual Studio 2008?

I want to uninstall Visual studio 2008 from my system, but I do not see Visual studio 2008 in the list on the "Uninstall or change a program" dialog box in windows 7. I also checked the Visual Studio 2008 folder in the Programs folder, but I could not find anything to start the uninstallation wizard. Please help.
Here is a Visual Studio 2008 Uninstall Tool that might help you: http://blogs.msdn.com/b/joy/archive/2009/10/16/microsoft-visual-studio-2008-rc-rtm-uninstall-tool.aspx

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.

Visual Studio 2012 "Invalid license data. Reinstall is required"

I have a newly built Windows 8 VM with VS 2012 Premium running on it, when I try open any sln file I get the following modal pop up error
Visual Studio 2010 Shell
Invalid license data. Reinstall is required.
I can open the sln's if I open up VS and then do project open, this is really annoying, any ideas how I fix it?
*Note I have done a VS repair and it didn't solve it...and I never had any VS RC release on the machine, all new build with s/w downloaded from the MSDN
Cheers
I encountered the same exact error when I created a solution with a full version of Visual Studio 2012 Professional on one machine and then tried to open the solution file with a copy of Visual Studio 2012 Express on a different machine. I got the error when double-clicking the solution file, but not when loading the solution into an already opened instance.
I fixed the error by opening the solution file (.sln) with notepad and changing the line that says Visual Studio 2012 to say Visual Studio Express 2012 for Windows Desktop.
After that, I was able to double-click to open the solution file on the machine that has Express installed.
I'm using VS 2013. I fixed this by right clicking the .sln and setting the Open With parameter to visual studio 2013 and not VS version selector or VS 2010.
I have faced the same problem. When I set the system Date and Time to the current Date and Time, The Problem solved by itself.
It looks like the .sln extension is owned by "Visual Studio 2010 Shell" a minimal version of Visual Studio that ships with products like SQL Server and Office to provide support for add-in development without any other features. Since this is a minimal version, it's unable to load any project type that ships with Visual Studio Express, Professional or above.
The same may happen when you have Visual Studio Express installed next to a full version of Visual Studio.
This may happen when you install an older version of Office or SQL Server after having installed Visual Studio. The old installer will hijack the extension.
To repair this problem:
use the "Open With" option of Windows and select the "Visual Studio Version Selector" as your default action.
Or open the "Default Programs" option in Windows, look up the .sln extension and make sure it uses the "Visual Studio Version Selector" as default:
Or locate Visual Studio 2012 in the Programs and Features window of Windows and chose "Change", the Visual Studio installer will pop up, chose "Repair" to have it repair the file associations and any other problems that may arise by installing Visual Studio versions in reverse order (it may for example mess up the MsBuild directory as well).
Remember that when Visual Studio 2010 was released, it could not yet know what Visual Studio 2012 would change, as such, it's best to install versions of Visual Studio in the order they were released. This may sometimes prove difficult, as other products may install Visual Studio versions without you knowing.

Can I install Visual Studio 2005 on my machine over 2010

I want to install Visual Studio 2005 on my machine which already has Visual Studio 2010?
Please help me out.
Bharat
It can easily be done -- My other laptop has VS 2005, 2008, and 2010 all on the same drive. The two versions shouldn't interfere with each other. Visual Studio even has a "version selector" that gets registered as the handler for project and solution files, and IIRC it should launch the correct version of VS for whatever project you're in at the time. But even if it doesn't, you can always right-click and "Open with...".

Resources