visual-studio

VSTS Bug Count Per User Story

We am looking to get a list of bugs per user story in TFS so we can identify the areas that caused the most pain. Anyone have any ideas of the best way to go about this? Thanks in advance, B ...

How do I run a custom action AFTER files have been deleted during MSI uninstallation?

During uninstallation of the Visual Studio Integration Package that I am writing, I need to run "devenv.exe /setup" to update the VS UI and remove the package info from the splash/help screen. However, it must run after all the add-in and package files have been deleted. My current setup (using an Installer class custom action called du...

Custom debug engine for Visual Studio in managed code

We are developing a custom textual DSL, that will ultimately get integrated into Visual Studio IDE. We would be needing debugger support for the DSL. I could not find any references or samples that show custom debug engines written in managed code (C#). Of course there are a lot of samples where the DE is written as a COM component. P...

Deserialization does not seem to work with strongly named objects in the IDE

Situation: I have a bunch of business objects sitting behind a web service. All the objects are encapsulated in a BusObjects.DLL, which is strongly named and sits in the GAC on the server (because other apps on the server access it as well). I have a click-once client app, which calls the said web service. The click-once app also s...

How to run regasm.exe from a C++ program?

Hi I want to write a program which runs regasm.exe to create a tlb file programatically. How can I do this?? Ur help is greatly appreciated... Thanks in advance. ...

Error C2678 after migrating C++ code from VC6 to VS2008 - no operator found which takes a left-hand operand of type 'type'

This piece of code compiles file in VC6 but in VS 2008 it gives an error. Can anyone tell me why? I guess it is because you can no longer compare a pointer to NULL (which is a typedef for 0). If that is the case, how do I do this comparison in VC9? for ( std::vector<aCattrBase*>::iterator iT = attrLst.begin(); iT < attrLst.end(); iT++) ...

COM Interop, isolation and excluding duplicate references

We are using a COM DLL provided by Microsoft (dsofile.dll) in a C# dll written by us (Assembly A). In order to avoid having to register the COM dll, I have switched the Isolated property on the reference to dsofile.dll to true. This means that when we compile our dll, visual studio copies dsofile.dll, Interop.DSOfile.dll and Native man...

Consume Axis2 Web Services in Visual Studio 2008

Hi everyone. I'm having a bit of trouble getting Visual Studio to play nicely with my Axis2 web service. The problem is very strange, although not a show stopper. If anything it is just annoying, and I'd really appreciate a way around this. The problem is that when using the web service in C# code, none of the parameters or return valu...

Visual Studio Performance when editing XAML/Silverlight files

When I work on Silverlight projects within Visual Studio 2008, I regularly notice that the XAML editor hangs for up to 10 seconds. This because Visual Studio consumes 100% CPU during that timeframe. Any ideas how I could fix that? I assume this is some kind of background compiling for itellisense or something similiar. It happens during...

Suggest good addins-tools for visual studio .net(all the versions-2005-2008 etc)

Hi, I have seen an addin (3rd party tool) in Visual Studio .Net 2003 to display dataset(Dataset Visualizer) while debugging mode. Now this feature is available as a bultin in Visual studio 2005. This is really a helpful addin for VS2003 where it made the debugging task easy.But i was unaware of such tools till i found someone using i...

Handy keyboard shortcuts in Visual Studio .Net

Can anyone suggest any good keyboard shortcuts for Visual studio .net and Windows? I have few examples: Windows Run commands appwiz.cpl -- opens the add remove components services.msc --run command opens the services. Visual Studio Devenv.exe in run command opens visual studio Devenv/ResetSkipPkgs Clears all options to skip loadi...

How to remove a textbox and put the dropdown box in asp.net

How to remove a textbox and put the dropdown box in asp.net And the value that is used before in textbox, now it should take from dropdown box ...

Visual Studio 2003 Removing Width & Height Attributes

Hi, I have a really anoying thing with Visual Studio 2003. If i create an textbox server control on my page and manually set the width & height attributes via the style tag (not the width & height attributes), when i flick to designer mode and then back to HTML mode those attributes from the STYLE tag have dissapeared! If there were any...

Desired output at design time, Visual Studio 2008 (vb)

Is it possible to choose to run specific code at design time? What i would like to be able to do is to display a list of enums that are used ina specific form and menu. Is this possible to do? Any response would be appreciated. Thanks in advance! ...

Debugging in failing method when invoked from other thread

I have code like the one in this question, basically a UI-thread that gets updated from another thread and uses InvokeRequired() and Invoke(..). Now, if the method fails in the work part, the debugger stops on the Invoke(..) line -can I make it show me the line where it actually failed like it usually does? ...

How can I populate a dropdown list with data?

I have a dropdownlist that I want to populate with a specific value and specific text. I'm not using a datasource but I am manually making a connection and retrieving data in code. How can I populate this dropdownlist? If I read the data with a datareader and increment an array I only get either the value or the text. This is what I have...

Missing color options in Visual Studio 2008 Pro

When I go to Options > Fonts and Colors, some color options like User Types are missing. Does anyone know why this would be? Edit: I also don't see the image in the About dialog. The one that's supposed to be at the top of the dialog like a banner. ...

Error when i change the textbox to dropdown

I have the below error message in my asp.net website when i replaced the textbox and put dropdown and named the dropdown id same as textbox id. The value from the drop down should be taken and put in a email body and will be received as mail when i click on the submit button. Below is the error i am getting when i click on the submit b...

Is there any way to increase code intellisense height in Visual Studio?

Is there any way to increase code intellisense height on ASP.NET? ...

w3wp crashes when starting debug in VS 2005

I know there were a couple similar questions, but none solved my problem. This issue just started within the last couple of days. I don't always hit VS everyday, so I can't say for sure when it began. When I start debugging, the app loads in IE, but the w3wp process dies with the message "The program '[9252] w3wp.exe: Managed' h...