visual-studio

UserControl Property of type Enum displays in designer as bool or not at all

I have a usercontrol that has several public properties. These properties automatically show up in the properties window of the VS2005 designer under the "Misc" category. Except two of the properties which are enumerations don't show up correctly. The first on uses the following enum: public enum VerticalControlAlign { Center, ...

Visual Studio Extensibility: Adding existing folders to a project

I'm trying to use Visual Studio 2008's extensibility to write an addin that will create a project folder with various messages in it after parsing an interface. I'm having trouble at the step of creating/adding the folder, however. I've tried using ProjectItem folder = item.ProjectItem.Collection.AddFolder(newDirectoryName, string.Emp...

Visual Studio 2008: Is it worth the upgrade from 2005?

As of the fall of 2008 I'm about to embark on a new development cycle for a major product that has a winforms and an asp.net interface. We use Telerik, DevExpress and Infragistics components in it and all are going to have a release within a month or so which will be the one I target for our spring release of our product. They all su...

Why isn't there a Team Foundation Server Express Edition?

Why isn't there a Team Foundation Server Express Edition? ...

How do you stop a Visual Studio generated web service proxy class from encoding?

I'm using a Visual Studio generated proxy class to access a web service (added the web service as a web reference to my project). The problem is that the function the web service exposes expects a CDATA element, i.e.: <Function><![CDATA[<Blah></Blah>]]></Function> Unfortunately, when I pass in "" into the proxy class, it calls the we...

How can I stop Visual Studio (both 2005 and 2008) from crashing (sometimes) when I select the "Close All But This" option?

It does not do it all the time. ...

Visual Studio basicHttpBinding and endpoint problems

I have a WPF application in VS 2008 with some web service references. For varying reasons (max message size, authentication methods) I need to manually define a number of settings in the WPF client's app.config for the service bindings. Unfortunately, this means that when I update the service references in the project we end up with a m...

How do I keep Resharper Files out of SVN?

I am using VS2008 and Resharper. Resharper creates a directory _Resharper.ProjectName. These files provide no value for source control that I am aware of and cause issues when committing changes. How can I get SVN to ignore them? I am using TortoiseSVN as my interface for SVN. EDIT: You guys are fast. ...

stringstream manipulators & vstudio 2003

I am trying to use a stringstream object in VC++ (VStudio 2003) butI am getting an error when I use the overloaded << operator to try and set some manipulators. I am trying the following: int SomeInt = 1; stringstream StrStream; StrStream << std::setw(2) << SomeInt; This will not compile (error C2593: 'operator <<' is ambiguous)...

Visual Studio 2005 - 'Updating IntelliSense' hang-up

Hi Folks. I am having trouble with my Visual Studio 2005 IntelliSense for some time now. It used to work fine, but for some reason the 'Updating IntelliSense...' does no longer seem to be able to complete for the solution I'm working on currenly- it simply gets stuck somewhere at about 3-bars of progress and blocks one of my precious CP...

Visual Studio 2005 ERROR: An error occurred generating a bootstrapper: Invalid syntax.

I'm working on VS 2005 and something has gone wrong on my machine. Suddenly, out of the blue, I can no longer build deployment files. The build message is: ERROR: An error occurred generating a bootstrapper: Invalid syntax. ERROR: General failure building bootstrapper ERROR: Unrecoverable build error A quick Google search brings up t...

how to detect if I'm compiling code under visual studio 8?

Is there any way to know if I'm compiling under Microsoft Visual Studio 2008 ? ...

When should you use standard html tags/inputs and when should you use the asp.net controls?

As I put together each asp.net page Its clear that most of the time I could use the standard html tags just as easily as the webforms controls. When this is the case what is the lure of the webforms controls? ...

Remove VSMacros80 directory

Is there any way to prevent Visual Studio from creating a VSMacros80 folder in my default project directory? ...

Set a UserControl Property to Not Show Up in VS Properties Window

I have a UserControl in my Asp.net project that has a public property. I do not want this property to show up in the Visual Studio Property Window when a user highlights an instance of the UserControl in the IDE. What attribute (or other method) should I use to prevent it from showing up? class MyControl : System.Web.UI.UserControl { ...

How to add WTL and ATL to visual studio c++ express 2008

I start using the visual studio c++ express 2008 at home but there is no ATL in it. How can I add ATL to visual studio c++ express 2008? ...

How do you make an infinite scrollbar control with Windows Core API?

How do I make one? I am kind of a newbie in Windows API. Is there some sort of manual for this sort of thing? I am specifically interested in a Core API. Thank you for any help. ...

Should I add the Visual Studio .suo and .user files to source control

Visual Studio solutions contain two types of hidden user files. One is the solution .suo file which is a binary file. The other is the project .user file which is a text file. Does anyone know exactly what data these files contain? I've also been wondering whether I should be adding these files to source control (Subversion in my cas...

Can I supress FX Cop code analysis violations globaly?

When you use Visual Studio's code analysic (FxCop), and want to supress a message there are 3 options. Supress a violation in code. Supress a violation in a GlobalSupression.cs file. Disable the violation check in the project file (via Project -> Properties -> Code Analysic). The later is very hard to review when checking in to Sourc...

How do I add Debug Breakpoints to lines displayed in a "Find Results" window in Visual Studio

In Visual Studio 2005/2008 it is possible to find all lines containing certain references and display them in a "Find Results" window. Now that these result lines are displayed, is there any keyboard shortcut that would allow adding debug breakpoints to all of them? ...