?
Solved

adding C#  to VS Studio

Posted on 2012-03-13
7
Medium Priority
?
268 Views
Last Modified: 2012-03-13
How would I add C# to VS 2010? currently I default into Vb.
0
Comment
Question by:zachvaldez
7 Comments
 
LVL 9

Expert Comment

by:joshbula
ID: 37715393
File --> New Project (or New Website)

Click "Installed Templates", expand "Visual C#" and choose the type of C# project you are creating.  

If Visual C# is not an option, you can try the command:

devenv /installvstemplates

Or you may need to re-run the installer for Visual Studio.
0
 

Author Comment

by:zachvaldez
ID: 37715410
I dont have C# as option under Installed templates only VB. Id  like to add it there?
0
 
LVL 9

Expert Comment

by:joshbula
ID: 37715436
Close all instances of Visual Studio. Open the visual studio command prompt, and type this command:

devenv /installvstemplates
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 

Author Comment

by:zachvaldez
ID: 37715445
Id like to learn C#. I already have various VB programs .

what does this devenv /installvstemplates
do?
I dont want to lose any programs. thanks
0
 

Author Comment

by:zachvaldez
ID: 37715600
this does not work..devenv /installvstemplates
0
 
LVL 8

Accepted Solution

by:
cubaman_24 earned 400 total points
ID: 37715667
Hello:
Just run the VS installer and choose to add the C# feature.
Best regards.
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 380 total points
ID: 37715780
which edition of VS have you installed?

if you installed the express version, you will have to download and install C# express as well.

if you have the full version of VS, restart the installation and select C# from the options.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month15 days, 23 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question