Enable C# projects in Visual Studio 2010 - c#

It seems that C# support has been installed:
However, there isn't an option to create a C# project:
Is there a way to enable C# projects without having to reinstall VS?
Note: this question isn't entirely relevant:
How can I add C# language support to Visual Studio 2010 shell?
** edit 0 **
I followed the instructions (listed in the comments). The *TemplatesCache directories were recreated (with one named CSharp in ItemTemplatesCache), however they are not included in the new project list (when VS is restarted).
** edit 1 **
If it is relevant, I have 'Visual Studio 2010 Shell' edition:

Visual Studio 2010 Shell is a completely different product from Visual Studio 2010 Express or Professional. The former allows you to create shell applications. The latter allows you to create C# and/or VB programs.
What you need to do is install Visual Studio 2010 Express or Professional.

Related

Upgrade Visual Studio 2008 for C# programming?

Visual studio 2008 has only basic projects in new project window as shown in the screenshot, Is there any way to add C# plugin to the visual studio. window Screenshot and
Version
It looks like Business Intelligence Development Studio special version of VS. Get normal VS. If you don't need 2008 beeter download VS 2015 eg free community version.

How create installer with Visual Studio Express 2013? [duplicate]

I already have a project which is ready to build. Currently, I am using visual studio 2013.
But, I don't know how to create an MSI setup in visual studio 2013, but for visual studio 2010 there are plenty of tutorials out there discussing how to create a setup in visual studio 2010.
Does this mean I need to install visual studio 2010 in order to create an application setup for my project?
What is the easiest way to create an application setup in visual studio 2013?
Microsoft has listened to the cry for supporting installers (MSI) in Visual Studio and release the Visual Studio Installer Projects Extension. You can now create installers in VS2013, download the extension here from the visualstudiogallery.
visual-studio-installer-projects-extension
As of Visual Studio 2012, Microsoft no longer provides the built-in deployment package. If you wish to use this package, you will need to use VS2010.
In 2013 you have several options:
InstallShield
WiX
Roll your own
In my projects I create my own installers from scratch, which, since I do not use Windows Installer, have the advantage of being super fast, even on old machines.
Visual Studio 2013 now supports setup projects. Microsoft have shipped a Visual Studio extension to produce setup projects.
Visual Studio Installer Projects Extension
Microsoft recommends to use the "InstallShield Limited Edition for Visual Studio" as replacement for the discontinued "Deployment and Setup Project" - but it is not so nice and nobody else recommends to use it. But for simple setups, and if it is not a problem to relay on commercial third party products, you can use it.
The alternative is to use Windows Installer XML (WiX), but you have to do many things manually that did the Setup-Project by itself.
Microsoft also release the Microsoft Visual Studio 2015 Installer Projects Extension This is the same extension as the 2013 version but for Visual Studio 2015
Apart from Install Shield and WiX, there is Inno Setup. Although I haven't tried it myself I have heard good things about it.
I will tell , how i solved almost similar problem. I developed a application using VS 2013 and tried to create wizard for it failed to do. Later i installed premium VS and tried and failed.
at last i used "ClickOnce" and it worked fine.
So i believe here also , "CLICKONCE" would help you.

Can we run VB.Net in Visual Studio Express that is initially installed with C#?

I have installed Visual Studio Express version for C#. Now I need to use VB.Net. However I don't see VB.Net files. And I tried searching to install both, but it seems both comes separately...
How can I install Visual Studio Express, so that it can support both C# and VB.Net?
For Visual Studio 2010 you need to download the "Visual Basic 2010 Express" version from here:
http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express
Install link - http://go.microsoft.com/?linkid=9709929
For some reason they decided to split the desktop edition into three one for C#, one for VB.NET and one for C++. You can install all three (or four if you include the Web Application Developer version) along side each other without any problems. They are designed to work like this.
The Visual Studio 2012 version (Visual Studio 2012 for Windows Desktop) includes C#, VB.NET and C++ in one application.
http://www.microsoft.com/visualstudio/eng/downloads#d-express-windows-desktop
You can install this along side your 2010 versions if necessary.

Can't add Visual C++ template project in Visual Studio Express

Don't know if this is related to the fact that I'm using Visual Studio 2010 Express, but when trying the first step in the link below I can't find the template Visual C++. I tried to download Visual C++ 2010 Express but still no luck.
Does anyone have a work around for this?
http://msdn.microsoft.com/en-us/library/ff967550(v=VS.92).aspx
EDIT:
I have now tried to create this DLL in Visual C++ 2010 Express instead. When following the guide from the link above I get stuck when I should add resource to the project (Step 2 under 'Create the Language-Neutral Resource Strings for Your Application'). The menu item is greyed out/disabled.
You will need the C++ edition of VS Express to create this Win32 Resource DLL. I assume that that is possible.
And then add the Project (might work) or the resulting file (should work) to your Phone project.
as far as I know you cannot create or build a native C/C++ project in Visual Studio Express. As I understand it, the Visual Studio Express is similar to a demo version that only allows you to create projects that use the .NET framework.
To create and build native C/C++ projects you need the retail Visual Studio Professional.

WP7 XNA+Silverlight Templates missing

I got an issue with Visual Studio, Silverlight 5 Beta SDK and XNA.
I did a fresh install of all Visual Studio components I need to create the application I have in mind:
Visual C# 2010 Express
XNA Game Studio 4.0
Visual Web Developer 2010 Express
Visual Studio 2010 Express for Windows Phone
Visual Studio 2010 SP1
Silverlight 5 Beta Tools
However, when I start VS 2010 Express for Windows Phone and go to create a new project these are the templates I have:
Missing Templates
But there are a few templates missing.
How can I make appear the following templates:
Full list of templates
So what am I missing in this? I believe I installed everything and still nothing appears.
Is it because I'm using the express edition of visual studio? it doesn't make much sense though.
You installed that SDK correctly (uninstalled a previous installed SDK version correctly too)?
You could try and reset your vs2010 settings. This sometimes helps to restore missing project templates. You can do so like this:
Go to Tools / Import Export Settings
Choose to "Reset all Settings"
Restart Visual Studio
No guarantees but that helped me once before, so it is probably worth a try.
Just for others to know, you must have Visual Studio 2010 service pack 1(download link) before that.

Categories

Resources