visual-studio

Context sensitive help not working in VS 2008

This seems like a petty question, but this situation is starting to get annoying: When I'm working in VS 2008 and I want to get context-sensitive help, I highlight the term/keyword/window that I want help on, and I push F1. It brings up the MSDN help window, but it always gives me a "Page not Found"/broken link on the start, and I have...

Are there reasons to use Visual Studio 2005 when 2008 is available?

What reasons are there for continuing to run Visual Studio 2005 when 2008 is available? I work on a project where the environment is dictated to be Visual Studio 2005. Are there good technical reasons for this? Can I use Visual Studio 2008 and build an app that is 100% indistinguishable from the same app build with Visual Studio 200...

Visual Studio or Resharper functionality for placement of using directives

Hi, I like to put my using directives inside the current namespace, and not outside as VS and Resharper per default puts them. Does anyone know of a macro/standard functionality that sorts/removes unused using directives and puts them inside the current namespace? --larsw ...

API/Framework to generate Visual Studio solutions/projects

Hi, Does anyone know of anything other than the Visual Studio automation API to use for generating Visual Studio Solutions and/or project files? The project files are MSBuild-based, so that should be OK to generate manually if I have to, but the solution files are based on a proprietary textual format. TIA, --larsw ...

Create a WPF library in Visual Studio Express

I am trying to make my code more reusable by placing commonly recurring utility classes and user controls into a packaged library. The IDE is making this difficult, as so far, I have found that it always defaults to Windows Forms user controls and disabling my ability to create xaml files etc from the 'Add a New Item' dialog. Is it poss...

Stop IE8 message "web page stopped responding" while debugging

IE8 has a feature that pops up a dialog box that informs me when a web page stops responding that's a bit annoying when debugging as it steals focus from visual studio. Is there a way to disable that feature? ...

What's the difference in the Visual Studio integration tools for Qt?

Trolltech has released a tool called "Visual Studio add-in" for their LGPL and GPL release of Qt. They state that the commercial version comes with a full Visual Studio Integration tool but I don't see any description of the differences between these. What's included in the full version that isn't in the add-in? ...

Visual Studio 2005 is slow for C++

Hi, VS 2005 is taking a very very very long time to compile my C++ solution all of a sudden. I tried deleting the Intellisense DLL and deleting the .suo and .ncb files and that didn't help. Most of the time during my build Process Explorer shows almost all of the CPU time being spent in System Idle Process, so I have no idea what Visual...

ReSharper 4.5

Hey, So i have about 4-5 years of background in programming some in C# and some in C++. I recently got an internship and have been using C# daily. I am confident in my work, and don't have any problem remembering syntax or anything like that. So i was wondering what you guys think about getting resharper? i was going to demo it first but...

Click to activate VS2005 tool panes in Vista causes double-click

I've been putting up with this forever and suddenly I thought: Maybe someone else has run across this! In Visual Studio 2005 on Vista x86, when I click on a tool pane that does not have focus, it does a double-click. Does this with the property window, toolbox, error list, output window, and so on. Some things I've noticed: This happ...

Using SSIS to map hard coded values as part of a one-to-many table migration in Visual Studio.

Using SQL Server 2005 and Visual Studio 2005, I'm trying to create a SSIS package to merge data from 1 table to several other tables. The source table does not have a several fields that the destination tables do. For example 'CreatedBy' and 'CreatedDate' fields. I would like these to be hard coded (in a sense) as part of the package im...

How can I make a Visual Studio Macro to attach the debugger to all instances of w3wp.exe?

I'm normally developing web apps, and a surprisingly large amount of my work time is spent doing "Ctrl + Alt + P", sorting by Process Name, and picking w3wp.exe to attach my debugger. To make matters worse, I'm working on an app that spans several application pools, so I normally have 2 or 3 instances of w3wp.exe, and it's impossible to...

Sys.Debug messages not appearing in VS debugger Output window

This is soooo weird. I cannot seem to get any output messages from Sys.Debug methods to print into the Output window in Visual Studio 2008. I'm talking about simple things, like Sys.Debug.trace("show this message") or Sys.Debug.traceDump(Sys.UI.DomEvent). They show up in the Firebug trace console just fine. They also show up fine in IE...

how can i move the cursor in insert mode in viemu (w/o using the arrow keys)?

sometimes i just want to move either left or right a couple of characters (or go to the end of the line) but don't really want to leave insert mode just to move a couple chars. ...

How do I open a copied project in Visual Studio?

I have copied a whole project onto my PC, both into My Documents/Visual Studio and into inetpub/wwwroot, but when I try to open the project in Visual Studio, it tries to open just 1 file .vssproj and gives me error messages, like : "The project file cannot be loaded. The application for project ... is not installed.". What am I doing wro...

Upgrading to VS 2008 Professional from Web Developer Edition

I currently have VS 2008 Web Developer SP1 installed on my machine and I've purchased the professional edition. I also have 2003 and 2005 Pro installed. Should I un-install VS 2008 Web Developer before installing the professional edition? If not, will I have two version of VS 2008 or will Professional "Upgrade" Web Developer. Please ...

How to show command line build options in Visual C++ 2008

In MSVC 2008 project, building a project will display following information in output window: 1>------ Build started: Project: Project1, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>test1.cpp 1>test2.cpp 1>Generating Code... 1>Linking... 1>LINK : test.exe not found or not built by the last incremental link; performing f...

How to Convert VS2003 proj to VS2005 proj

Hi I have test project which i need to convert from VS2003 to VS2005 and i am afraid i got lot of errors and warnigs. The error mostly appeared is ** error C2220: warning treated as error - no 'object' file generated** The same project wil get compiled in VS2003 and executing wel.what i can do??? Thanks in advance ...

Blackberry Development Platforms

Hi There, I was wondering about the pros and cons on the different Blackberry development environments. I am trying to decide whether to use Visual Studio or Eclipse. Your thoughts are appreciated Tony ...

Which compilation option should be set for profiling?

Hi, I need to profile an application compiled with intel's compiler via VC++. I'm using VTune to profile my code. My understanding is that in release mode I won't have the debug information that is necessary for the profiler to profile my code while in debug mode, the result of the profiling will not be pertinent. What should I do ? I...