visual-studio

How do you debug ASP.NET startup issues using the Development Server

I have created a new ASP.NET MVC project using the MVC Project Template. According to the book I am reading the ASP.NET MVC book I am reading (Pro ASP.NET MVC framework by APRESS) the application is supposed to just run out of the box using the Visual Studio Development Server. It DOES compile and run but IE returns a page load error.....

Browse VC6 DLL variables content (DEBUG)

Hi, I'm trying to debug an old VC6 dll, I manage to go through the code but unfortunately my vc9 debugger doesn't show the content of the variables in the dll. (browsing info I guess) I manage to see the content of my dll when I debug it in VC6 but I would prefer to be able to debug in the same time as my managed code. Maybe I'm miss...

visual studio 2008 collapse html in IDE like regions

Is there anyway to collapse html in the IDE? For example if I have a table, I would like to collapse the table and anything inside of this. ...

vs.net multi pre-build commands

Hi all i have an external project and i wnat to build it in the main project fo that i'm using pre-build commands.I want to use multi commands for copying aspx pages and ascx usercontrols to sercontrol folder When i use one command it works but when i write both lines it returns error code 1 and not builds.. I tried to put comma betwee...

What to program a visual radio link budget tool in?

Hi, I want to build a visual radio link budget tool. Ideally you can drag and drop components and then calculate a link budget through the system. I would like to have a database/store of all the components we use regularly that you can just pick from a list/drag from a library. I have attempted to do this in Excel, which can easily ...

Conditionally (un-)load projects from solution to support multi-user environments with different prerequisites

Imagine you have two projects each featuring a different project type that requires specific tools (compiler, targets, etc...) being available on your machine. You put both projects into one solution and have all prereq's fulfilled. So far no problem. Everything builds perfectly. Now you have a couple of guys who don't have Toolset B e...

What is the best interface for developers to create XML files with XML Schema intellisense?

I've created in my application the ability for developers to create WPF forms by writing an XML file. I would like to now write a XML Schema file (.xsd) to validate this XML file so that developers can validate their Form XML before it is put into the system, and so they can get intellisense based on the XML Schema while they develop it...

Linking against library in release and .exe in debug crashes in Visual studio

I'm using Visual C++ 2008 SP1. I have an app that is compiled in debug mode, but links against a library in release mode. I'm getting a crash at the start-up of the application. To make the problem smaller, I created a simple solution with 2 projects: lib_release (generates a .lib, in release mode) exec_using_lib_release (genereates a...

Can ReSharper generate code that copies properties from one object to another?

I'm looking for a way to accelerate a repeatable task when I write code. I have ReSharper and I'm thinking a customization could do what I need. I have two objects of the same type. I want to copy all of the public properties of one object to the other object. I want the tool, ReSharper in this case, to do generate the code for me. I'l...

Visual Studio 2008, Runtime Libraries usage advice

Hello all, I would like some information on the runtime libraries for Visual Studio 2008. Most specifically when should I consider the DLL versions and when should I consider the Static versions. The Visual Studio documentation delineates the technical differences in terms of DLL dependencies and linked libraries. But I'm left wonderin...

Looking for Hosted Subversion and Visual Studio plug in combo.

Can anyone recommend a proven combination of a hosted Subversion solution and supported Visual Studio plug-in? I like what wush.net offers as far as a service, and I like VisualSVN as an IDE plug-in, but it doesn't look like wush.net supports access via VisualSVN / TortoiseSVN. Any suggestions? Thanks! ...

Regular expression search in files, in the Visual Studio editor

I was trying to search for ".IsSet", but not "DocumentState.IsSet", in VS 2008 using regular expression search. How do I compose the regular expression? Thanks! ...

How do I conserve program functionality and code after moving all controls into a tab control?

I had a working program (Windows Forms Project) complete with buttons, labels, textboxes e.t.c. and the underlying code. In an attempt to shortcut my work, I decided to add tab controls and move everything in my main form into tab 1 (cut and pasted). As you can imagine it didn't work. I then got rid of the tab conrol and pasted everyth...

How update web reference from VS 2008 command line?

We have web references in our VS 2008 solution. We don't check in generated files. I need to update the generated files on our cruise control server -- so I need a command line method to update the web references. Is there a way to force devenv to do this? ...

Why is my ASP.NET MVC project saving several copies of itself?

This is really weird behavior, let's say I have an asp.net mvc project as follow on my desktop (vista): /mvcapplication/app1 then over the course of development, I copy this solution to a briefcase on a thumbdrive so I can work on it from a laptop (xp). When I insert the thumbdrive back on the desktop, I notice it's taking longer and ...

Visual Studio 2008 dependency management and custom source files generating C++ files.

We have custom Domain Specific Language (DSL) files in our Visual Studio solutions. We have a code generator that parses these files, and generates C++ code from them at build time (the code generator is implemented in C++ as well, and built in the same solution, in a project that's built earlier in the build process). We have a custom...

How to program in C# with TextMate as my IDE?

Yes, I know there is MonoDevelop. But what if I want to use Textmate instead? So my question here is aimed at the .Net developer who has developed some C# applications using Textmate. I'm curious as to what their process/workflow is with this setup. What is the best C# bundle out there for syntax/language grammar? How do you build y...

How can I disable Microsoft.VisualStudio.TestTools.TestTypes.Unit.TestFailedException

I want to disable the Microsoft.VisualStudio.TestTools.TestTypes.Unit.TestFailedException when I am debugging my unit tests. The problem is when I open the Exceptions dialog in Visual Studio I can't find this Exception. Does anyone know how to stop this exception from being thrown? ...

Stop Sync with Remote WebSite on Visual Studio 2008

Hi, As you might know,Visual Studio 2008 has "Copy Web Site to Remote Server" feature. But the problem is every time I open it waits to sync websites (local website and remote website) and makes me wait. Is there any way to close auto sync on Visual Studio 2008. ...

Visual studio extensibility - What is the difference between add-ins and macros?

Hello. What are their differences? What can you do with one that you cannot with another? Thanks ...