I have several web application projects in one solution.
When I start debugging one of those web applications I noticed that the ASP.NET Development Server starts for all web applications in my solution.
How can I determine to just one ASP.NET Development Server to be started?
Is this even possible?
I don't want to have my system tray f...
I have a pre-alpha GUI program that I'm dogfooding and want to run under the debugger (for when things go wrong ;) but I don't want to have to launch a new copy of VS for each instance of the App. Can this be done?
I don't expect to actually be debugging more than one instance at a time, but still want the debugger in the look for all o...
I have become accustomed to using F6 to compile the current document. A third-party install appears to have turned this function off. (F6 no longer does anything.)
Can anyone tell me how to get it back?
I'm using VS2008
...
Users of my web site will be able to upload a picture. This picture will land in /images/folder/picture.jpg. The question I have is: When running under VS2008, a form will insert a full row in a database column (sql server)and the picture will be uploaded to the folder. The result page will show the image. But when running the web server...
I have a main C++ app built in Visual Studio 2005, called A.exe. It spawns a child process, B.exe. I run process A in the debugger by hitting F5 -- the only way I know to hit breakpoints in process B is to wait for A to kick it off, then run Debug -> Attach to Process, and manually select B.exe. This doesn't work very well if I need t...
Is there a setting in Visual Studio 2008 that I can turn on which would generate a matching closing brace for a opening brace?
EDIT: I would imagine that an IDE as powerful as Visual Studio would have this very useful feature.
EDIT: Is there a macro that can be written? From the responses I have received it looks like ReSharper is the...
Most of the developers i work with test their web apps by running them from visual studio, and use the built in web server of VS to display the pages. My question is when these apps are deployed to a IIS server would they behave any differently?
...
I have a .net project with both C and Fortran sources and I want to produce one static lib. I'm using VS 2008 and Intel VF 10.1. They have to be two separate projects in visual studio so each one makes a separate static lib. How do I combine them into one resulting static lib?
EDIT
You guys are too slow. Here's what I figured out.
Set a...
I was able to use linq-to-sql, now suddenly it stopped working. When double clicking dbml file, it says, "there is not editor for "...my.dbml" , make sure the application for the file type(.dbml) is installed. I tried to devenv /resetsettings, it is not solved. So I repair/reinstall option for vs.net 2008 setup, it failed again without u...
In Visual Studio 2008, is there a way to keep the indentation of automatically wrapped long lines? (Only need it for C#.)
When word wrap is turned on, it looks like this:
var a = SomeFunctionOrWhateverWithSuperLongName(parameter1,
parameter2);
I want it to look like this:
var a = SomeFunctionOrWhateverWithSuperLong...
Is it possible to have Visual Studio's Class View pane (available under View > Class View) automatically synchronize to current symbol? Basically execute View.SynchronizeClassView whenever the current symbol changes.
...
When creating a new WebForm, Visual Studios creates a Page_Load handler in the code behind as a default, which is cool. So for years, I have always put code for doing things like set properties of controls in Page_Load. Recently, I used Reflector to look at some assemblies written by Microsoft and saw that they have put the same type o...
I've a couple of Makefile projects on my visual studio (express) 2005/2008 (doesn't matter for now) to compile some application using the MinGW GCC compiler. I don't want to use the MS compiler because there are features that only are available on GCC.
Now I'd like to debug from inside VS since I'm coding from it but this requires me to...
Is there a way to view ongoing sessions in Visual studio while debugging a asp.net application?
And if there is, can you kill the sessions somehow?
I need this cause I need to check what, and how to fix, the problems that occurs when a session indeed has died and the user tries to do something that requires the specific session.
...
I'm trying to compile a project from the command line, like this:
devenv.exe myproj.sln /build release
It looks like the code compiles well, but that's not all I need:
I want to be able to capture the output (e.g. warnings, errors) from the compiler as they occur. Unfortunately as soon as I issue the above command I am returned to th...
I use Visual Studio 2008 Professional automated tests. I have a function that writes to a file. I want to unit test the file writing function. I have read somewhere that I would have to mock a file somehow. I don't know how to do it. Can you help?
How to unit-test a method that downloads a page from the Internet?
...
I want to set a breakpoint in unmanaged C++, in Visual Studio 2005, but I would like to ignore this breakpoint if the call stack is in a specific function. Is there a way to do this?
...
Hi All,
I'm writing in C# the next generation of an old app originally written in Delphi. I often have to look in the old code and wondered if there's anyway to install Pascal syntax highlighting in the Visual Studio 2008 editor.
TIA.
...
Hello,
For our VB.NET websites we use SVN for Source Control and CruiseControl.NET for continuous integration.
To use the SVN build number in the compilation by CruiseControl.NET we need to use Web Deployment Projects. We then replace in the configuration file the Version field with this variable from SVN Labeller
$(CCNetLabel)
Th...
My automated build process uses a command-line to build something like this:
devenv.exe myproj.sln /build release
It is a very long build-process which integrates components made by a team of developers. It takes about half an hour to run in release mode. Usually if one thing goes wrong then plenty of other dependancies will go wrong,...