visual-studio

Am I the only one who doesn't use Visual Studio designer for webforms?

Am I the only one who doesn't use Visual Studio designer for webforms? Literally the only time I use it is to drag and drop a user control on the screen (which I think cut and paste to the correct location). Other than that, what good is the designer? I also hate any declarative tag programming, so that might explain it (all code-behi...

What do you use to develop for PowerShell?

I don't see a Visual Studio plugin for it (although I didn't look that hard, so I might have missed it), and searches turn up random third-party solutions, but is there something that comes with PowerShell or something that plugs into Visual Studio? ...

Managing reference paths between x86 and x64 workstations in a team

I would like to know how .NET teams out there are handling assembly reference paths when not everybody can immediately upgrade to a x64 operating system. The key issue right now is x64 versions of Windows will plant 32-bit installations into C:\Program Files (x86)\ instead of the regular C:\Program Files. This means many extra components...

Coding color scheme for programming in Windows, not just Visual Studio

Like many SO people, I'm in front of a computer almost all day. I like having a dark theme for Visual Studio (easier on the eyes), but since the rest of Windows and apps (explorer, dialogs, Outlook), have the full white background, it's even harder to switch between nice dark VS and sunshine bright Windows. I tried a UXTheme.dll patch b...

Basic sample of a scriptable plugin for FireFox in C++ with VS2005/8

My experience to write a plugin for FireFox is below zero. Is someone out there who could point me to sample code on how to get this accomplished in C++ with VS2005/8? What I need to do with JavaScript in the hosting html page is something like this: var obj = document.getElementById("MyFFPlugin"); var value = obj.CalculateValue; //...

Is Visual Studio written in winforms?

Is Visual Studio written in .NET winforms? Or is winforms just too slow for a editor type application? ...

Replacing typelibs for imports

I am working on a project which uses an import #import "progid:Blah.blah.retrieve" rename_namespace("Blah") but I would really perfer not to register the dll which is I believe what is missing to allow this to work. I don't want to register the dll because our build system will not be able to build multiple instances at a time. Is t...

Is there a standard keyboard shortcut to build the current project in Visual Studio?

I know that Ctrl+Shift+B launches a solution build, but I would like a shortcut that just builds the current project. Is a custom shortcut my only option? Edit: Looks like a custom shortcut is my only option as Shift+F6 does not work for me. ...

Is there a free Visual Studio addin for Nunit?

I'm cheap and don't want to pay for ReSharper or TestDriven.NET, is there a free visual Studio addin for NUnit? ...

How To Prevent Tab Hell With Visual Studio And FireFox Debugging?

How do I keep VS from opening a new tab in Firefox every time I hit F5 to debug a web application? I would really like it to re-use the same tab. ...

Creating a VS .Net 2003 property macro/variable

I'd like to create a macro/variable for my project properties, similar to $(ConfigurationName), $(OutDir), etc - without making environment variables. I've found that this can be done in later versions of Visual Studio, but I do not have the option of updating my IDE. Can this be done in the .Net 2003 version (if so, how?) - or is the ...

CodeRush Xpress Colors

I downloaded the free CodeRush Xpress version to try it. Is there a way to change the colors it uses for it's highlighting and line drawing? ie the matching braces. I have a dark color scheme and my monitor I have VS on must suck because I can't see the lines. Yet on the LCD I can. Is there a way to change the colors? ...

Shortcut for commenting CSS in VS 2008

When I press the standard Ctrl + E, C (an other variants) in VS2008 whilst editing a CSS file, it says that command is not available. How do I setup a shortcut to apply a plain old /* */ comment to selected text in VS? Thanks ...

How do I re-install Visual Studio.net's trial edition?

I'm working on getting the full license for VS 2008 (or my boss is) but my trial has expired, and I need to do some work. How can I re-install? Or, if I install on a different machine (or virtual machine) - how can I get another key without going through the whole download process from MS again? ...

Are there C++ free and fast (maybe standalone) refactoring tools for Windows?

At the moment I am working in a pretty big project and I have been been asked to refactor some old code. Most of the refactoring is setting apart a big class into smaller components and functions. I've searched and seen some other questions related with the topic but I am not very happy with the proposed options. The problem with these ...

System.UnauthorizedAccessException when running a test in VS2008

When I run selenium tests (written as nunit tests) from VS2008 I am getting System.UnauthorizedAccessException : Access to the path /bin/Debug is denied. The test is trying to read a entry in App.Config( this file is copied to bin/Debug during compilation). I used unlocker to check file handles and it is VS2008 that has a handle to that ...

break whenever a file (or class) is entered

In Visual Studio, is there any way to make the debugger break whenever a certain file (or class) is entered? Please don't answer "just set a breakpoint at the beginning of every method" :) I am using C#. ...

How to create XML/XSD equivalent of a DataSet or DataTable in VS2008 (or other tool)

So today I had to move some tables with data from an MS Access database into XML to be used in a web application. So I thought it would be an easy process to define the table structure as an XSD file in Visual Studio, then load in the data (for the sake of simplicity, lets say I would type it in). Well for the life of me I can't figure...

Is there a way to tell what files are not being used in a web application project

I have a project with literally thousands of image files that aren't being used. The main problem is that they are intermixed with images that are. Is there a way to get a list of all project artifacts which aren't referenced? EDIT: Assuming I don't have access to the web logs... Is there an option? ...

DSOFramer closing Excel doc in another window. If unsaved data in file, dsoframer fails to open with "Attempt to access invalid address"

I'm using Microsoft's DSOFramer control to allow me to embed an Excel file in my dialog so the user can choose his sheet, then select his range of cells; it's used with an import button on my dialog. The problem is that when I call the DSOFramer's OPEN function, if I have Excel open in another window, it closes the Excel document (but l...