visual-studio-2008

Visual Studio 2008 Add-In Wishlist

What add-ins do you wish were available for Visual Studio 2008? Describe it here, and maybe it already exists. Or perhaps, it will soon! ...

How can I clear the Warnings sections of the error list In VS2008?

Specifically, once I get the WCAG Anaylsis warnings for a website into my warnings window I can't get rid of them, until I close down studio. When building another project in the same solution they stay there. Anyone got any ideas? ...

VS2008 - Front Page Server Extensions

Good day, I'm looking for a layman's explanation of the relationship betweeen FrontPage Server Extensions and a .NET web app. Background: A team of us are using VS2008 to develop a web app which is located on a network server. This is an internal project - we're all on the same domain. I created the site on the server and made sure eve...

Collapsing Related Files in Visual Studio

In Visual Studio as most of you will have noticed that related file can be collapsed in to one. E.G. Form1.cs Form1.Designer.cs I'm creating a DAL library and will be splitting partial classes in to several files such as: SomeTableClass.cs SomeTableClass.Generated.cs SomeTableClass.SomethingElse.cs Is there any way in Visual...

How to Debug .NET Mobile Device Application using multiple instances of Device Emulator

I would like to Debug .NET Mobile Device Application using multiple instances of Device Emulator. If I right click the project and go to Debug -> Start new instance in Visual Studio 2008 when an instance is already running I get the error Unable to copy file "obj\Debug\MyMobileApp.exe" to "bin\Debug\MyMobileApp.exe". The proce...

Accessing Windows Forms 2.0 combobox or AXComboBox

I have created a mutli-column combobox in VB.net 2008 using windows forms 2.0. I am having trouble accessing data once selected to use in the remainder of the form. There does not seem to be a selected event to use in conjunction with the winform 2.0 combobox. Does anyone have any experience using winforms 2.0? Also I guess a better que...

How to get the name of the class

Ok, I have the following structure. Basically a plugin architecture // assembly 1 - Base Class which contains the contract public class BaseEntity { public string MyName() { // figure out the name of the deriving class // perhaps via reflection } } // assembly 2 - contains plugins based on the Base Class public class BlueE...

C# VS.NET 2008 Changing settings per configuration

Is there a way to have different application settings per each build configuration? I would like to be able to batch build a few configurations with different settings, instead of having to change the settings and build, rinse repeat. Thanks in advance! ...

Visual Studio 2008 sometimes won't open .aspx html markup

Every now and again I encounter a problem where Visual Studio Professional 2008 (SP1) refuses to open an aspx page. My site is in a Web Application Project. Double clicking on the aspx page in solution explorer just causes the tree view node with the code behind and .designer.cs to collapse and expand, it's almost as if VS thinks the ...

GUI App with Visual C++ Express Edition

What tool (preferably free) can be used with Visual C++ 2008 Express Edition to create Win32 GUI applications? As you know the Express Edition does not include a GUI resource editor. ...

Is there a tutorial on C++ programming in Visual Studio 2008?

Can anyone link me to a decent c++ tutorial that's actually currently in date? Almost everything I find applies to 2005 and the code examples are riddled with errors which won't run in my 2008 version of the visual compiler. ...

"Unrecoverable build error" on any MSI Setup project

Some time ago I got this error when building ANY Visual Studio Deployment project. "Unrecoverable build error" I thought my VS installation was corrupted or I deleted some important files, but ... ...

How has your coding standards document changed when you upgraded to C# 3.0 / VS2008?

We are in the process of upgrading our projects from C# 2.0 / VS2005 to C# 3.0 / VS2008. As part of the upgrade, we are adding some items to our coding standards document. How would (or did) you change your coding standards document when upgrading from C# 2.0 / VS2005 to C# 3.0 / VS2008? ...

Why is Visual Studio not able to open .csproj files?

Hello! I have the odd problem that I am not able to open the properties of my .NET projects in Visual Studio. If I try to open it by clicking on the Properties tree node in the Solution Explorer I get the following message: There is no editor available for '....csproj'. Make sure the application for the file type (.csproj) is instal...

Visual studio scrollbar

Hello, I recently upgraded VS 2005 to VS 2008. Unfortunately I have a very basic problem: In the codeview window my vertical scrollbar does not look like a normal, traditional scrollbar, but like some kind of code-preview window. It is roundabout four times wider than a normal scrollbar. The problem is that my ReSharper (4.1) seems not t...

Newbie: Visual Studio 2008 Standard Edition: How do I see more than "Reporting" project type?

I just bought a VS 2008 Standard license upgrade. (I was using the integrated shell for learning F# and express edition for c#. ) I performed the install, re-booted, and when I click file->new->project ... all I get is the choice for "Reporting" project type under C#. IS there a way to expand the number of choices for the various projec...

C# to VB.Net: Why does this fail to compile when converted to VB?

I have this C# extension method that will extend any dictionary where the Value type is an IList. When I write the equivalent code in VB.Net I get the following compile error: "Extension method 'Add' has some type constraints that can never be satisfied". I find this really puzzling as the same type constraints can be satisfied in...

Can I create "Solution" level items in a Visual Studio Project Template?

There's a lot of great information on MSDN dealing with creating Visual Studio templates. I've been specifically working through a Multi-Project Solution (http://msdn.microsoft.com/en-us/library/ms185308(VS.80,printer).aspx) I have everything working in my template (4 projects + 2 Solution Folders - 1 for Tests, and 1 for Libraries tha...

Long to short pathnames without p/invoke

Does anyone know how to convert long to short pathnames in .net 3.5 without p/invoke? I can do it with p/invoke if I have to, but I'd rather not. ...

Unit tests fail to run when NOT in Debug mode

I have just branched our Common Business Layer projects from the main to a new branch, and included them in a new solution. Everything compiles but when I run the unit tests I get the following error for every single test... Unit Test Adapter threw exception: Unable to load one or more of the requested types. Retrieve the LoaderExcep...