When starting Visual Studio 2008 you are asked to choose a programming layout (preset?), which can be C++ or C# (or generic?). Few months ago I choose the C++ preset because I was working on a C++ project, while now I'm working to a C# project. Is there a way to reset the Visual Studio layout to C#?
Go to:
Tools > Import and Export Settings
Import selected environment settings
Yes, save my current settings (if you want to backup current settings; No, if you don't want to)
Choose one of the following under Default Settings:
General
JavaScript
Visual Basic
Visual C#
Visual C++
Web Development
Web Development (Code Only)
Notes
Alternatively, in step 2, you may choose Reset all settings.
You may also use /ResetSettings command line switch.
For Visual Studio 2015 it's the same steps described by #Dariusz Woźniak but you can select "Reset all settings" instead of "Import" on step 2.
Related
I just started game development on unity and wanted to write some code in Visual Studio 2019 but when I started typing some code no syntax was being shown below.
I mean when I write a dot in c# a dropdown menu should appear with commonly used lines with their definition.
Sorry for using bad terms I hope you are understanding and I want this to help me in C#.
The first thing you need to do is go to visual studio installer and download tools for unity, if that doesn't work, inside unity navigate to edit > preferences then under external tools make sure you have visual studio selected and not open by file extension.
VS-code is more better if you are starting out and it is light weight.
Install VS-Code from here
If you mean to say you want to enable unity-intellisense, then in your unity editor go under edit > preferences. See the image below.
Select VS-Code as your ide and for generate .csproj files uncheck all and check only registry packages, then hit regenrate .csproj files. It will take time to generate them.
In Vs-Code install the c-sharp extension and reload the window. Then you should be ready to start using it for game developement in unity.
preferences image
c-sharp extension image
But if you want for Visual Studio only install Visual Studio depedencies from unity hub while installing the version
unityhub installation for visual studio
Please check the images and link given too
I want to make "Set Up" project like in this video tutorial, but I can not find the "Set Up" project in Visual Studio (2017).
What do I need to install so I can create a "Set up Project" from New → Project?
Visual Studio dropped shipping Setup project, at least it was the case for VS 2015. There is an extension that brings the experience back, I didn't try it though.
You can use ViX too, it is free,open souce and powerful but it demands some time and energy to learn.
VS 2008 was the last which included Setup projects. At my former job we used Inno Setup.
The VS is set to default VisualBasic, but I need to import existing C# projects into my solution, where I already have the VB project.
But when I try to add an existing project to the solution and navigate to the C# project - I can't see the project file. From the drop-down settings menu I have the possibility to import only .vbproj and other .vb...
I tried to create new C# project, but I can only make VB and some office tools and Web. I don't have C# possibility, so I suppose it's because the Visual Studio has been set to VB only.
How can I add/change settings so I can create/import C# projects, as well?
EDIT: I tried going to Tools->Import and Export Settings... but I didn't have the possibility to import C# development settings or whatsoever. I could only add Project dev. set. and VB dev. set.
P.S. It's not my computer, so I was not the one to install the Visual Studio and I don't know what settings were set/installed.
If you are using the Visual Studio Express Edition for VB.NET; then that's not possible.
Visual Basic will most likely be selected as your default programming language. When creating a new project you can select a different language by collapsing the 'Other Languages' folder. If this does not contain C# you will have to install C# support for VS.
You can do this at 'Add and Remove Programs' or 'Programs and Features' and then changing the Visual Studio installation. Select the C# feature and after the installation completes you should now be able to open, add and create projects with C#.
Today I installed Visual Studio 2010 on a new machine.
When starting VS2010 for first time, it asked for "Default Environment Window" I selected "Visual C# Development Settings" from it by mistake.
But now i want to change that setting to "Visual Basic Development Settings". How can i do so?
Simplest way to go, AFAIK, is: Tools -> Import/Export Settings -> Reset All Settings.
Not sure if you saw this, but it may help:
http://msdn.microsoft.com/en-us/library/ms247075(v=vs.90).aspx
From that page, there's this instruction:
On the Tools menu, click Import and Export Settings.
If you want to delete your current settings combination, choose No,
just reset settings, overwriting my current settings, and then click
Next. This option does not delete default settings, which will still
be available the next time you use the wizard.
Visual Studio 2010 keeps defaulting to VB.NET projects instead of C#, I imported my saved settings from 2008 which defaulted to C# projects which did not resolve the problem..
I always accidentally create VB.NET projects then slap myself in the face as I then proceed to delete the project and recreate a C# version of it.
Tools -> Import and Export Settings -> Import Selected Environment Settings... -> Make selection whether to save current settings -> Select C# under the default setting folder
Edit: Checking in with VS Pro 2019 and this appears to still be the flow.
Visual Studio (2008..and hopefuly '10 =x) defaults to whatever you chose as the last project's code language you created. Double check that yours isn't doing this >_< Try creating a new project in C# code, exit that project, and create another one and see what language it defaults to. If so, it will allow to keep your "Web Development Settings" rather that switch your main environment to C#, like the other solution suggests.