visual-studio

Generating debug symbols for Symbol Server from CI process to aid remote debugging

Does anyone have any advice about extending our SVN & Cruise Control CI process to populate a Symbol Server? We are trying to remotely debug test environments for our ASP.NET 2.0 C# website and have been running into problems getting the correct symbols to always load. Our build process is done in release mode not debug mode so how do...

how to match function code block with regex

What I like to do is remove all functions which has specific word for example, if the word is 'apple': void eatapple() { // blah // blah } I'd like to delete all code from 'void' to '}'. What I tried is: ^void.*apple(.|\n)*} But it took very long time I think something is wrong here. I'm using Visual Studio. Thank you. ...

Data Dude/VS Team System Database - Use with multi project databases

My current project uses Visual Studio Team System for Database Professionals GDR2 (aka DataDude). We are the only application using the database that we model using DataDude. My company would like to consider using DataDude across the board on all our projects. However, I am not sure how well this will work with projects that share a ...

change background colour for Visual Studio Code Editor

How can we change the background colour for Visual Studio Code Editor? ...

How do I unhide Debug -> Attach to Process in Visual Studio 2008?

I'm using Visual Studio 2008 Professional at work. Recently, I got a new workstation. Someone else installed all the software for me. For some reason, I do not see the option "Attach to Process" on the debug menu. I looked in the options, but I don't see an option that seems like it should hide it. How do I make the option "Attach t...

Evaluating expressions using Visual Studio 2005 SDK rather than automation's Debugger::GetExpression.

I'm looking into writing an addin (or package, if necessary) for Visual Studio 2005 that needs watch window type functionality -- evaluation of expressions and examination of the types. The automation facilities provide Debugger::GetExpression, which is useful enough, but the information provided is a bit crude. From looking through the...

Telerik Rad Textboxes and javascript issue

I am simply trying to fill a Rad Text box with server data in javascript. The data is placed inside of the textbox but it is not visible until i click on the Rad Textbox. function pickItem(name, sku, plu, nameBox, sBox, pBox) { sBox.value = sku; pBox.value = plu; nameBox.value = name; ...

VS 2008 Code Snippet Indentation

In VS 2008, there are XML code snippets that seem to be pretty awesome :) However, it seems that the snippets we created do not indent properly. For example if we have the following code: { ... { ... { InsertSnippet here. We get something like: { ... { ... { FirstLineofSnippet S...

moving files from one visual studio solution to another

What I usually do is create a new file in the solution where I want to use it (same name), copy & paste the contents of a class from the source solution to the target, fix the namespace & imports as needed. The only other way I know to do it is open the source file in the target solution and then just save a copy into that folder, which...

How Can I disable Resharper in VS and Enable it again?

I'm new to Resharper and have 2 questions : 1.I installed Resharper and it works in VS but I want disable it for some reason. But whenever I search in the Resharper menu cant find disable option. [Update]{ I moved my second question here :http://stackoverflow.com/questions/2189854/what-is-the-best-practice-to-jump-out-of-closing-brac...

What is the best practice to Jump out of closing bracket in Resharper?

Its good when resharper inserts closing bracket automatically. But assume condition that the method didn't have any parameter in this situation it takes more time to jump out of the brackets is there a work around ? now I use mouse to jump out from closing bracket. ...

What does C4250 VC++ warning mean?

What does C4250 Visual C+ warning mean in practical terms? I've read the linked MSDN page, but I still don't get what the problem is. What does the compiler warn me about and what problems could arise if I ignore the warning? ...

C++ Change image based on a click (Visual Studio C++)

In visual studio, when making a C++ windows application form. I want a picture to change when I click on it. So when I double click the picture and it brings up the click action script, what script do I use..... Similiar to int temp = System::Int32::Parse(label1->Text); temp++; label1->Text = temp.ToString(); Which just increme...

Is it possible to view the messages outputted by Microsoft ReportViewer in my own front-end?

I would like to view the messages displayed by ReportViewer in the output window of Visual Studio when a report is viewed, in my own application. I assume it would involve intercepting the debug or console output messages. Is this possible? I am using Microsoft ReportViewer 2008 in local mode. ...

Designer.cs is deleted on adding object in DBML

My original dbml file had objects which had data connection to other server/db. As my db is changed to different server and i want to update my spproc when i delete the spproc and drag the new one dbml.designer.cs is deleted. I am using VS 2008 SP1. I can't regenerate all my dbmls as they have lots of tables, sps etc.. Inserting the usin...

How to order projects alphabetically in a Visual Studio solution with solution folders?

There is a bug in Visual Studio (2008, possibly 2005 too) that means the projects under solution folders are not automatically ordered alphabetically. What is the best workaround for this problem? ...

Display inherited methods and properties in Visual Studio

Are there any options or plugins that display inherited members (methods/properties) inline when editing a class file in Visual Studio? The inherited code would probably be disabled/grayed out, but it seems like it could be useful and interesting to have the option to view an entire composed class at once. ...

.net .vdproj - application shortcut

I'm create a .vdproj setup for a simple windows form. I have added a shortcut to the user's program menu (in a folder), but when I click the shortcut, it just opens the install folder. How do I set it up to run the .exe program? I just tried putting the .exe name in the "Argument" for the shortcut - no luck yet. I thought it might b...

Sever Explorer and Visual Studion Editing Store Procedure

If there a way to add code to the editor before the store procedure is opened for edit? I would like to include a "Header" to the "ALTER PROCEDURE..." like IF EXISTS... ALTER PROCEDURE ...

How do set a breakpoint on a method within the .net framework

I wish to set a breakpoint on the System.Threading.SynchronizationContext::SetSynchronizationContext static method so I can find out when the synchronization context is being set. However I can’t find how to set a breakpoint in a method I don’t have the source code to. (This should be easy!, but when I try to set the breakpoint on a...