I have installed Visual Studio Community 2013 but I can't add new C# items. If I right click on a folder and want to add a C# Razor cshtml file I can't, but I can add is Visual Basic vbhtml. How do I turn-on C#?
I suppose you just pick wrong language when setup VS.
You can change it like this:
Go over to Tool -> Import and Export Settings
, select Import selected environment settings
and click Next. Now you may choose to save you settings, after you do that click next and choose Visual C#
from the tree view and click Finish.
From this answer .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.