Visual Studio Default Interface? - visual-studio-2010

I want to switch Visual Studio 2012 interface from .NET to C++ - I have selected .NET during first run, and now I dont know how to change it to C++.
At the moment it shows only .NET projects when I make "New Projects", and there seems to be no way to create anything else than that, however I have installed full version with other gadgets.

Try following steps like this:-
1) Tools -> Import and Export Settings...
2) Select "Reset all settings" and click Next
3) Choose "Yes" if you want to keep your existing settings
4) Click Next
5) Select the profile of your choice and click Finish.

I didn't think that the environment settings actually hid any particular project types, but the way to re-access the "which settings do you want to use?" dialog is under Tools -> Import and Export Settings.
One of the options is Reset all Settings, which then lets you select which defaults you wish to use.

Related

Visual Studio - can't find "export template" option

I want to port a Phonegap app to Windows Phone 8. I need to open a Microsoft Visual Studio Solution File in Visual Studio 2012 for Windows Phone 8 and choose File -> Export Template.
However this menu entry doesn't exist. I googled a bit and find I can create a Hotkey pointing to File.ExportTemplate by using Tools -> Options -> Keyboard. But there is no File.ExportTemplate Entry in the List.
Second troubleshoot I found was looking in Tools -> Customize -> Command Tab -> Category "File", but again, no entry for File.ExportTemplate.
EDIT:
I should mention I'm running Windows 8 on a virtual Machine, VMWare Player 5.0.0.
EDIT 2:
I got myself a trial version Visual Studio 2012 and I can`t find the option there either.
Export Template can be found under the "Project" Category in VS 2017.
You can add the Export template option manually from the Tools->Customize menu.
First choose the location where you want to add the menu item (i.e. File menu):
Locate the Export template option and add it:
Please let me say you that now Visual Studio 2017 "Export Template..." works fine. You should open the project for template, and then click "Project" > "Export template..." and follow instructions by Microsoft.
According to this support page you might need to reset your settings.
I have reset the settings to 'Visual Basic Development Settings' which has indeed fixed the problem
If that doesn't work then there may be some condition with the solution you are editing that may be hiding this menu option. Please post more details on the project that you are trying to export from if resetting this doesn't work.

How to make TFS not auto check source control from Visual Studio?

every time I open my Solution in Visual Studio it tries to communicate and validate every file is update to date in source control. I am working on a very large project and was wondering how I could disable it for this Solution? Furthermore is I am curious as to also how to enable it?
In Visual Studio 2010:
1) Go to Tools -> Options -> Source Control -> Environment.
2) In "Source Control Environment Settings," select "Custom" from the drop down.
3) Uncheck "Get everything when a solution or project is opened."
(This is a global setting. It is not Solution-specific.)
You can install the TFS power tools, assuming you use TFS 2010 then you can download them here open up a visual studio command prompt and run the command tfpt connections this will bring up a dialogue which will show all of your available TFS servers and Collections.
There are 2 options you can try, firstly uncheck "Automatically connect to server on startup" this should stop VS trying to connect to TFS when you open a solution. If that doesn't work then click on the "+" next to the TFS server and select the collection you are using for source control. Hit the "Edit" button and you should see a checkbox called "Server is Offline" select this and you will no longer be connected to TFS.
To reverse the behaviour use the same tool to togle the values back to their defaults

Cannot find Property Manager option in Visual Studio (not Express version)

I need to work with the Property Sheet of a project. I followed instruction on msdn to try to find Property Manager under View, but I do not see Property Manager as a menu option under Tool. I only saw Property Pages and Properties Window. I tried both options but they do not seem to be where I can create a property sheet. My Visual Studio version is as follows: Microsoft Visual Studio 2010, Version 10.0.40219.1 SP1Rel Microsoft .NET Framework Version 4.0.30319 SP1Rel. Can anyone please give a pointer? Thanks.
I finally found mine under View->Other Windows, near the bottom.
Try resetting your View menu, Property Manager should indeed be there.
Go to Tools -> Customize.
In the popup window, select the Commands tab.
Select the Menu bar: button, and in the dropdown menu select View
Click Reset All and confirm.
This should restore Property Manager to your View menu.
To see the Property Manager you need to have Expert Settings enabled. You can find this option in:
Tools -> Settings
It is under View --> Other Windows --> Properties Manager. It works.
This is how I restored the Property Manager menu item in Visual Studio 2013:
Select Tools\Customize
Select the Commands Tab and Menu Bar
Under the dropdown beside Menu Bar, select "View | Other Windows" (or wherever you'd like to put it)
Click "Add Command..." and select the View category
Find and select Property Manager from Commands and click OK
In my case it was just in the VIEW toolbar - almost in the bottom. Running VS2013 Pro update 3
View > Property Manager or View > Other Windows > Property Manager, please try this
None of the above answers worked for me. What worked for me is:
Tools -> Import and Export Settings -> Reset all settings -> ... -> Visual C++ Development Settings
Despite I selected Visual C# settings at first use, for some reason, VC++ settings were ON, causing the visual components property window to not show up while pressing F4.
Selecting Visual C# settings ( in Tools | Import and export settings... | Reset All ) made it work.
Property Manager is a moot utility now. Since the property sheet is defined for each project, it can be edited by right clicking on the project and selecting properties. If you need to edit multiple projects once, just select all the projects you want to effect a change and do the right clicking trick.
This brings up the same property pages as it would from Property Manager.
Since none of the given answers worked for me here are my two cents.
Like any well hidden menu in Visual Studio this one can be found by opening Tools -> Options... -> Environment -> Keyboard and searching for "View.PropertyManager". There you can give it a global shortcut. While this only helps if you know the name of the menu or command you are looking for it's much faster go through a bunch of guesses this way than by randomly browsing menus.

Change target CPU settings in Visual Studio 2010 Express

I wish to change the target CPU settings from "Any CPU" to "x86" in Visual Studio 2010.
I read on another website that I need to do the following:
Go to the startup project of your program.
Open the properties window.
Click the compile tab.
Click advanced compile options.
Change the target CPU options to x86.
But I don't see the "compile" tab anywhere in the properties.
Please help me at the earliest.
Update: I do see a platform dropdown, but that contains nothing apart from "Any CPU",
.
I believe the reason you don't see the Compile tab in the project properties is because you're using the Express edition. Optimization for a specific CPU type is not offically supported in this edition. However, you should be able to change the active solution platform in the following way:
From the "Tools" menu, select the "Options" item, and then select the "Projects and Solutions" option in the listbox on the left-hand side of the Options dialog. (You might have to check "Show all settings" first.) Check the box that says "Show advanced build configurations":
Then, on the "Build" menu, see if you have an item called "Configuration Manager". If not, you need to add the item to the menu (right-click on any area in the toolbar and choose "Customize" at the bottom of the list).
Once you've opened the Configuration Manager dialog, go to the "Active solution platform" drop-down box and choose "New". From the "New Solution Platform" dialog that appears, you should be able to choose "x86" from the first drop-down box.
Alternatively, it looks like you can manually edit the project file to specify the CPU type. See Changing the target CPU in VB Express 2008. It looks like it amounts to simply changing the <PlatformTarget> under the first <PropertyGroup> section to "x86".
To make the Build menu bar appear on your Visual Studio 2010, go to menu Tools -> Settings -> check Expert Settings. So later on you can use Configuration Manager.
I don't have Visual Studio 2010 right now, but in Visual Studio 2008, you have to first add a configuration through Build -> Configuration Manager.
After you have added the configuration, you can simply select the Active Configuration through the drop down menu.
I don't have Visual Studio 2010 right now, but in Visual Studio 2008, you have to first add a configuration through Build -> Configuration Manager.
After you have added the configuration, you can simply select the Active Configuration through the drop down menu.

How do I change my development environment to a different language in Visual Studio?

When I first installed Visual Studio, I chose to customize my environment for "Visual C++" development. Now, I am working primarily in C# and want to change this setting to a C# environment.
How can I change the environment settings from one language to another in Visual Studio?
Tools → Import and Export Settings → Import Selected Environment Settings...
A dialog will appear, prompting you whether or not you want to save your current settings. If you've made extensive customizations and might want to go back to them at a later date, you should choose to save them.
Then click "Next". You'll be prompted to import a set of environment settings. At the top will be the default environment settings options, customized for each language. In your case, you'd choose C#.
If you wanted to re-import your saved settings, you'd do it the same way—just browse to the saved settings file in the final step of the wizard.
You could also reset all of the settings from the command line:
devenv /resetsettings
And then choose all over again when prompted.
Note: I prefer "General Developer Settings" if you are going to do development in different technology areas (C++, C#, VB, etc.).

Resources