How to switch between debug and release in Visual C# 2010 Express? - c#

How do I switch between debug and release in Visual C# 2010 Express?
I have looked in the project properties, but it seems to be missing. What am I missing?

Enable the Tools → Settings → Expert Settings menu option
Go to Tools → Options
In the dialog box, check Show All Settings option in the bottom left.
In the above dialog, now choose Projects and Solutions → General.
Check the option Show advanced build configurations.
Click OK.
You should be able to see the Release/Debug options in the toolbar now.

Heh, that one baffled me too when I first installed Visual C# Express 2010. It turns out Microsoft has added a "Basic settings" mode to the Express editions that is selected by default.
You can change to "Expert settings" mode in the Tools menu, after that, the Debug/Release combo will be back.
Most IDE settings (window docking locations, font settings, etc.) seem to be kept in separate profiles between basic and expert mode, so you'll have to arrange your tool windows again and so on.

I'm sure there's some obscure way that I don't remember... what I do know is that if you click "Build" it will build the Release version, but if you click "Start Debugging" it will build the Debug version. So if you just want to be able to get the output from both versions, that should sort it for you.

You can follow these steps for visual studio 2010 professional edition.
Go to Tools -> Customize .
Select Commands Tab.
Select ToolBar and then Build from combobox.
Click on Add Command Button.
Select Build from Categories and then select Solution Configurations from Commands.

This is really strange. I've installed Windows 7 Pro x64, then I installed Visual C# 2010 Express and I couldn't find it at all. No matter how I built, it always produced Debug version. I could press F6 or press Build button and it still produced Debug version and I don't have any select box with Debug/Release to choose.
Finally I found it. I can change it by clicking my Soulution in Solution Explorer window and then in Properties window under Active Config.

The last answer by prostynick was the final clue.
I am using visual studio 2010 express.
First you need to have the advanced setting checked Tools ---> Settings
Next is solution explorer double left click or single right click "My Project" to open the project.
You get a large screen with application, compile, debug ... menu on the side
Select Compile
Look at "Build Output path:
It is probably pointing at bin\Debug folder.
Changing this will change where output from a build goes

Related

How to set up build target to release and the solution in Visual Studio?

I am trying to follow the steps of Github as following. But I don't know how to conduct the 2.and 3.step
To build the solution using the Visual Studio:
1.Open the UXI.GazeToolkit.sln in Visual Studio.
2.Set up build target to Release.
3.Build the solution (default hotkey F6).
On the toolbar, choose Release from the Solution Configurations list
then press the green start button

Getting Error in publishing a C# winform app

When I go to Project Properties/Publish tab this error is being shown I have searched it alot but nothing valuable is found, Thanks in Advance.
Updating Visual Studio should work, if not then Reinstalling Visual Studio will be required.
Windows 7: Go to Add and Remove Programs, find Visual Studio Installer (+year)
and choose 'change'. Once the window opens, click 'modify'
The default update options should be fine, simply click 'Modify'/'update' in the bottom right corner. Your project should be able to open the publish page after it finishes.

Visual Studio Professional 2013 "Go to Declaration" and "Go to Implementation" both disabled

In every file in every solution I open. I'm only using C#.
I have Resharper installed but I can't see any option in R# to replace these VS features.
I tested deleting an suo file but still get the problem in that solution.
Go to Resharper Menu
Choose Options
Choose Visual Studio Scheme
Click Apply
Click Save
If that doesn't work, you will have to do it manually
Open Visual studio Options
Go to Enviroment
Keyboard
Search for definition
Change the shortcut and save

Missing project templates in "New Project" dialog box in Visual Studio 2013

When I click on File>New>Project in Visual studio 2013 there are not any project templates present.
However, in a solution file(obviously created in another version of visual studio) when I try "Add>New Project" all the templates are present there.
I want to mention few things:-
I have tried all the possible switches like /installvstemplates, /ResetUserData, /ResetSkipPkgs, /ResetAddin etc.
Tried this:
Open the registry editor (regedit.exe)
Delete the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\{version}
Delete the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\{version}_Config
Delete the %USERNAME%\AppData\Local\Microsoft\VisualStudio\{version} directory.
Re-installed visual studio several times even after deleting the "Microsoft Visual Studio 12.0" folder
Currently I am working on Windows 8.1.
Same setup of the product works perfectly on the another system running on Windows 7 service pack 1. What can I do now fix this problem?
Inside visual studio
On the menu bar, choose Tools, Import and Export Settings.
Choose the Reset all settings option button, and then choose the Next button.
Choose the No, just reset setttings, overwriting my current settings option button, and then choose the Next button.
https://msdn.microsoft.com/en-us/library/zbhkx167.aspx#bkmk_reverting

In visual studio 2005 build mode drop down, release mode not shown

Recently I got a project when after opening in visual studio 2005 in build mode drop down, only debug mode is shown but release mode not shown.Project builds successfully in debug mode is there a way to enable release mode.
Thanks
You can right click on the solution file and select "Configuration Manager" there you can set the build for all projects, or project by project.
If the configuration manager you can also add different configurations, including a release version.

Categories

Resources