visual-studio

How can I break on an unhandled exception in ASP.NET?

When debugging an application in Visual Studio, there are 2 options for breaking on exceptions. Break as soon as an exception is thrown, and breaking only when an exception isn't caught. This works fine when developing desktop applications. However, when developing ASP.NET applications, all exceptions are eventually caught by the code in...

What do you do about references when unloading a project in Visual Studio?

When you unload a project in Visual Studio, any referencing projects get warning triangles on their reference to the unloaded project. I've written myself a macro to do clever stuff (detect add/remove of project and transform any references from-to file/project dependency), but I can't believe that I'm not missing something much simpler....

A guide to moving from Visual Studio to Eclipse.

Is there guide out there that will help me, A .Net developer whose been using Visual studio for some time, get to grips with Eclipse? Even just a quick guide to eclipse. Has anyone else made the transition, and if so how did you cope. Any Tips? ...

When developing a website with visual studio, how do I improve the build time?

I have a lot of classes in the App_Code directory could this be a problem? Would it build faster if it was in a separate library? Any other tips? ...

Unable to start debug in Visual Studio 2005

My "Start debugging" button and element menu are greyed out... but only on one of my projects (an ASP.NET website). I have no idea what I have done to disable it. I already checked everything in the Property page of both the solution and project. I even compared it to another project, but nothing seems to do the trick... maybe I missed ...

Properly file Designer Files in ASP.NET Web Sites

I need to get existing web pages into an existing ASP.NET web site in Visual Studio 2008. I simply tried to drag and drop the whole file folder content into the Visual Studio Solution Explorer or even to copy them into the web site folder. Both ways, Visual Studio seems unable to map the .designer.cs files to the corresponding .aspx (or...

Visual Studio intellisense stopped working

Hi, I had installed resharper evaluation version and uninstalled it. After this the intellisense stopped working. I have restarted computer but still i have this problem. Can anyone plesae help me here? I am using Visual Studio 2005 thanks ...

Where does the Toolbar Metadata live in Visual Studio on the Filesystem

My IDE crashes any time I try add a new component to the toolbar. I've already tried Resetting the toolbar. Where does the the information about the toolbar exist on the filesystem to see what may be the offending control? ...

How do I indicate a validation requirement to users of my class?

I'm implementing a class that wraps around an xml document with a very strictly defined schema. I don't control the schema. One of the properties in the class is for an element value that the schema indicates must match a certain regular expression. In the setter for the property, if a string doesn't match the expression I'm throwin...

Visual Studio 2008 Design Surface Error: "The operation could not be completed. Invalid formatetc structure."

In a VS2008 web site project, I have a page open in split view. I try to drag an Infragistics web control onto the page's design surface. Nothing happens. I try to drag same onto the htmlz. Dialog box with The operation could not be completed. Invalid formatetc structure. Subsequently the dragged control does not appear in the de...

Which Visual Studio debugger features are missing from WinDbg?

Are there any? ...

Visual Designer errors, when there are no errors

I get errors when viewing forms and there are not any. I can close VS and reopen and it is fine. What cases this? Can it be fixed without closing? ...

Enforce the use of the "this" and "base" at compile-time in Visual Studio/C#

When extending classes, I find it very descriptive to use the base (MyBase in VB) keyword when accessing methods in the base-class. And the this (Me in VB) keyword when accessing functions in the class extending the base-class. That goes for a "flat" structure with no inheritance as well. I find it easier to read this: public class Wor...

Visual Studio Express any good ?

We all know Visual Studio is one of the best IDEs out there but what about the free Express edition. Is it any good ? Would any of you use it for serious work ? ...

What is the single best resource for learning the visual studio tools?

I am trying to learn some of the basic and advanced features of visual studio, Anyone find sites that have this type of information ? I see this: http://stackoverflow.com/questions/86355/best-way-to-learn-visual-studio-power-features But it seems more related to tips and advanced features. All three versions ( 2003, 2005, 2008 ) ...

Any free alternative to VisualStudio?

I am in need of an IDE that can open and understand a .vcproj file. Does anyone know of something that can open these files that is free and an IDE? It needs to be able to run on Linux (Ubuntu preferably). Also, I am not looking for a .NET IDE. The code is in C++ that I am working with. The IDE is important because I have no clue how t...

Incorrect function addresses in Visual Studio MAP-file

Hi, the function addresses (Rva+Base) in my MAP-file from visual studio doesn't match the one I see in the debugger (or when I manually inspect my stack frame). What could be causing this? /A.B. ...

Whirlwind tour of Eclipse?

Does anyone know of a whirlwind tour of Eclipse that would help a (former) Visual Studio user get up to speed with it? I just want something that tells me where all the basic features are and what all the cool stuff I've heard so much about is? So far I've been using it mostly as a text editor and have had some luck compiling and runni...

How do you change Visual Studio's default web browser?

This is a for a Silverlight project that isn't anchored to an .aspx file, so right clicking, etc. is a bit out of the question. Any ideas? Edit: Add an .html file, then click it. Really dumb. Last time I ask a question at three in the morning. ...

Visual Studio Solution Structure for multiple deployable projects

Scenario: Currently we have a single solution supporting a single deployable entity, a WinForm/WPF client, this solution has a layer architecture with projects representing various layers (Data, Business, UI). We will be introducing other deployable entities such as a LiteClient, a Server and an RIA. We are considering a restructure wh...