visual-studio-2008

Custom color settings in VS.NET editor for current line when in debug mode

I'm using a black syntax highlighting theme in my Visual Studio.NET which I like very much. When in debug mode and step-by-stepping through the code the current line background is yellow, which is Ok. However the line of code up the stack that invoked the function I currently stepping through is also highlighted, in ugly gray backgroun...

VS2008 web site references

I have a web site project in vs2008. When you add a reference to a dll, it simply copies the dll into the bin directory. I do not like to check in the bin directory into version control. Any ideas on how to make the reference work without converting to a web application (I'm just doing maintenance on an existing site). ...

Visual Studio Test Project - Does not copy folder on deployment

Here is the problem: 1. Create a TestProject in your Visual Studio solution. 2. Open the .testrunconfig file and under the 'deployment' menu item, select the 'Enable Deployment' checkbox. 3. Now click on 'Add Directory...' button and add a folder which has some files in it. 4. Run the test project (use a dummy test). Ok, now go check th...

Can VS 2008 kill w3wp before building a project?

Is there a way that I can make VS 2008 always kill the w3wp process before building a project? I feel like it used to do this on my machine, but now I always have to kill it manually before kicking off a build or else it will fail to deploy the new binaries to my localhost. EDIT: If I don't manually kill the process before kicking off ...

How do I specify a default font and size for a control in Visual Studio?

I am creating reports in visual studio and am looking for a way to specify a default font and size apply to a textbox each time I drop one onto the designer. Update: This is not winforms or webforms development, but using the report designer in visual studio. My biggest issue is that a text box by default is .25 inches in height and aft...

Why does this compile (used in function before initialized)?

Consider this code (using CString because it's familiar and easy to see when not constructed, but nothing special about the class), tested under Visual Studio 2008: CString DoSomething( const CString& sString ) { return sString; } CString sTest1 = DoSomething( sTest1 ); // Compiles (no warnings), fails at runtime CString sTest2( Do...

VS2008 - No Usable Controls in anything other than PocketPC 2003 Platform

I am trying to create my first Windows Mobile application. I am using Visual Studio 2008. If I select the platform 'Pocket PC 2003' and go to form view, I get a long list of device controls (e.g. button, CheckBox, ComboBox, etc.). But if I change the target platform (Project | Change Target Platform) to the 'Windows Mobile 6 Profession...

How do I get Visual Studio 2008 to ignore trailing whitespace when I press END?

It's annoying in VS2008 when I press the END key, and my cursor jumps out to way beyond the end of the line of code, because I have trailing whitespace from a copy+paste or reformat. I would like the END key to ignore whitespace. How can I best do this? I thought of using AutoHotkey to catch END keypresses, and replace them with "CTRL+...

Visual Studio 2008, easy way to manage settings?

Is there a plugin or some hidden feature in Visual Studio 2008 that allows for easy swapping between user settings files? Using the import/export wizard all the time gets a little bit tedious. It would be nice if there was a menu item called "Profiles" that you could set up to contain different profiles with different settings and chan...

How to create a silent installer package using Visual Studio 2008

I am using Visual Studio2008 for my development and i want to create a silent set up package i.e. i don't want any UI to come up during installation. Is it possible to create a silent installer MSI using Visual Studio and if not then are there any other tools to do the same? ...

T-SQL90 settings in Visual Studio 2008 cannot be exported. Is this a bug?

Recently I got a habit of saving my preferences in Visual Studio 2008 for future use, so that whenever I may need to recover the system I won't have to remember what have I forgotten to customize. Tools - Options - Text Editor: Here are several groups distincted by the language. Among others you can see T-SQL, T-SQL7, T-SQL80 and T-SQL...

Editor visual studio 2008

I have this annoying problem. I've used some kind of key combination and now my spaces are dots my tabs are arrows etc. does anyone know how to turn this off? ...

Do you have performance problems when you work on Visual Studio projects via a network share?

We have tremendous problems with Visual Studio (2008, if that matters) locking up and slowing down when accessing projects over a network drive. It can take several minutes to open a large Web site project through a mapped drive, and saving even a single file can take a minute or more. I fired up Wireshark and watched the traffic. VS,...

Is there a way to have Visual Studio debug wakeup events on a mobile?

We are trying to develop an app for Windows Mobile and are running into issues with debugging what happens after the device wakes up from sleep. When the device sleeps the debugger disconnects, so we can't debug the wake up event. Is there a way to make VS not disconnect? Or a way to reestablish a connection when the device is woken? ...

How to build for Pocket PC 2002 with Visual Studio 2008?

Is there any way to build for Pocket PC 2002 (3.0) with Visual Studio 2008? ...

visual studio 2008 installation

I cleared windows temp file and %temp% from my system . (i installed vs 2008) but now i can't able to create new project (window application), whether VS 2008 installation file is related to temp. The error showing that doc settings/temp/ .... some file missing........ ...

Turn off auto formatting in Visual Studio

I'm code purist, preferring own style of code formatting (opposite to suggested by VS 2008) I've turned off auto-formatting options in Tools/options. In most cases it works. But noticed that after refactoring VS demolishes my code... (Eg after using such option as encapsulate field, extract method, using surrounding snippets...) This ...

Start another EXE in Managed Code

Is it possible to start another EXE in Managed Code? At this time, all I can do is use: System.Diagnostics.Process.Start(exeName) Is there another way to call another EXE within the same project? Thanks! JFV ...

Where is the Debug -> Exceptions window?

I must be slow or something today, I cannot find this menu option. I attached a screenshot of my IDE's Debug menu: Any ideas? ...

How to Remove an Item from the Office Orb Menu in Outlook

Folks, I've been working on ribbon development in Office 2007, but I'm running into an issue that's driving me a bit nuts. I want to remove the "Permissions" option from the Orb menu of a new mail message in Outlook 2007. I am not having any luck. I'm using VS2008 and VSTO 3. Any suggestions? Thanks in advance, Rex ...