Sharepoint 2010 Projects not showing in Visual Studio 2010 - visual-studio-2010

I have installed sharepoint 2010 and the sdk, yet I cannot see / open sharepoint projects in Visual Studio. When I go to new >> Project, sharepoint is not anywhere in the options.
If I try and open an event receiver project, I get this project type is not supported in this installation.
I have tried reinstalling the Sharepoint 2010 SDK, and repairing VS 2010 Premium.
Does anyone have any ideas on what I need to do to get this to work?

I'm running VS 2010 Professional and when I ran VS 2010 SP1 it crashed during installation. After that I got the same error message when I opened a solution containing Sharepoint 2010 projects. I tried the following but it didn't solve it:
- Running VS 2010 repair
- Reinstalling VS2010 SP1
- Reinstalling .Net framework 4.0
Same error...
Finally I ran VS2010 setup, 'add remove features', and noticed that the 'Sharepoint Developer Tools' was not included anymore. I added it and now it works!

This was resolved by uninstalling and reinstalling VS 2010 premium. Go Figure!

Related

Issue with debugging classic ASP from Visual Studio 2013 and IIS Express

I am trying to run a website which has a mix of classic ASP and ASP.Net files along with lots of VB dlls used from the asp scripts. The site is setup and running correctly using IIS7 in Windows 7 professional machine. In order to setup debugging using Visual Studio 2013, I was following the instructions in the following SO post and installed IISExpress 8.0 to setup debugging. But whenever I am trying to attach the iisexpress.exe process hosting my site from the VS Attach to Process window selecting Script code, it is throwing an error and suggesting the VS installation as corrupted. Screenshot shown below:
Seems like a 32/64 bit issue but could not figure out exactly where is the incompatibility and how to fix it. Any help would be greatly appreciated.
There's a Microsoft Connect issue regarding the "corrupt installation (code 0x80040154)" error. It's for VS 2012 but maybe you're running into the same issue even though you have VS 2013, in which case simply repairing VS does not fix the problem.
The OP of the Connect issue said that he fixed the problem by completely uninstalling VS and removing all remnants of it, then reinstalling VS. The steps are:
Uninstall Visual Studio.
Remove these keys from the registry:
Visual Studio 2012:
HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio\11.0
HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio\11.0_Config
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0_Config
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config
Visual Studio 2013:
HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio\12.0
HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio\12.0_Config
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0_Config
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config
Remove these directories:
Visual Studio 2012:
C:\ProgramData\Microsoft\VisualStudio\11.0
C:\Program Files (x86)\Microsoft Visual Studio 11.0
C:\Users\UserName\Documents\Visual Studio 2012
C:\Users\UserName\AppData\Local\Microsoft\VisualStudio\11.0
C:\Users\UserName\AppData\Roaming\Microsoft\VisualStudio\11.0
Visual Studio 2013:
C:\ProgramData\Microsoft\VisualStudio\12.0
C:\Program Files (x86)\Microsoft Visual Studio 12.0
C:\Users\UserName\Documents\Visual Studio 2013
C:\Users\UserName\AppData\Local\Microsoft\VisualStudio\12.0
C:\Users\UserName\AppData\Roaming\Microsoft\VisualStudio\12.0
Restart the computer.
Reinstall Visual Studio.
(I read elsewhere on the internet that it could be related to 32/64 bit incompatibilities, and perhaps that is the true cause in your case, but I'm inclined to think that VS got corrupted when you installed IIS Express.)

UnityVS (Visual Studio Tools for Unity 1.9) + Visual Studio Ultimate 2013 Compatibility Issue?

I have installed the recently released Visual Studio Tools for Unity 1.9 on my computer with a copy of Visual Studio Ultimate 2013 and am encountering a problem which I can't seem to fix. After creating a new Unity project, importing the VSTU package, and creating a script and opening it, I see a message within the VS 2013 Solution Explorer stating that:
"This project is incompatible with this version of Visual Studio"
However, I have read on the UnityVS site and nothing indicates that it is incompatible with VS 2013. Are there any possible solutions to this problem? Thanks.
This is an old question now, but I ran into the same problem recently with a brand new install of Unity 4.6.1, VS Professional 2013 and VSTU 2013.
A re-install of VSTU fixed the problem.

Visual Studio 2013: "New ASP.NET Project" doesn't show templates to choose from

http://i.stack.imgur.com/k5fN5.jpg
I can't create a new ASP.NET Web Project via template. Clicking on "OK" crashes VS 2013 or shows the error message "Object reference not set to an instance of an object".
I'm using MS Windows 8.1 + Visual Studio 2013 Premium Update 3.
Extensions I am using:
.NET Reflector Pro
Brace Completer
Visual Power Tools
Web Essentials 2013 for Update 3
Maybe someone knows whats going on? I am running VS 2013 as admin. :(
I tried disabling all Extension, doesn't help.
It's a fresh install from MSDN.
Edit:
I just recognized that the templates show up, when I choose a .NET framework below 4.5:
http://i.imgur.com/rK6AzNR.jpg
EDIT 2:
Okay, reinstalling didn't help. I also uninstalled everything .NET related.
Okay I found the Problem.
in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies are three assemblies that prevent VS 2013 from showing up the assemblies. See this Question/Answer:
Can't create new MVC5 project or any other ASP .NET projects in Visual Studio 2013

Visual Studio Professional not showing Web projects

I have installed Visual Studio 2010 Professional and I cannot open a Web project in there. Before installing Visual Studio 2010 Pro, I had Visual Studio 2010 Web Developer Express installed. Would this be the cause of the problem? Do I need to uninstall both and reinstall VS 2010 Pro to get Web projects to work?
In order to resolve this issue, I had to click Tools->Import and Export Settings. Then, select Reset all settings. Before doing this, I had uninstalled Web Developer Express, but it should work without doing that.

WP7 Installed and Templates Not Available in Visual Studio 2010

I have Visual Studio 2010 Ultimate installed. I installed all tools listed here.
When I create a new project in Visual Studio, I don't see anything about Windows Phone or XNA anywhere. I've tried reinstalling the tools. I've tried doing devene.exe /InstallVSTemplates following this.
Am I missing something here?
Update: I did have VS2010 SP1 installed before I installed the WP7 developer tools.
I was able to fix this by doing the following:
Uninstall everything related to Visual Studio 2010
Install Visual Studio 2010
Install the WP7 developer tools
Install VS2010 SP1
What I found was, when installing the WP7 developer tools, if VS2010 SP1 is installed, the tools installer doesn't find VS2010 and the plugins/templates don't get installed.
If there is a way to fix this without doing a reinstall, I'd love to know.
I did in this way:
goto the folder Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Silverlight for Windows Phone\
change the name folder 1033 to 2052
ran devenv.exe /InstallVSTemplates
start visual studio 2010, I found those templates are available but I got errors when try to create project form them .
So I changed the folder name back to 1033 and ran devenv.exe /InstallVSTemplates again.
Hi All,
I solve this problem as follows:
I'm creating a new project (silverlight for windows phone, for example) in Visual Studio Express.
Closing Express edition.
Open created project in my Ultimate edition! :)

Resources