visual-studio-2008

Crystal Report icons/toolbar not working when deployed on web server

I have built a web page which contains a Crystal Report built using the Crystal libraries included in Visual Studio 2008. It 'works on my machine' but when deployed to the web server the icons (Export, Print etc) on the Crystal Report toolbar do not display or work. Just seeing the 'red X' where the button image should be and clickin...

Why can't Visual Studio run on more than one core? CPU at 25%

I'm running Visual Studio 2008 with the stuff-of-nightmares awful MS test framework. Trouble is that it's sending my CPU to 100% (well 25% on a quad-core). My question is why can't Visual Studio run on more than one core? Surely M$ must have a sufficient handle on threading to get this to work. ...

How can one reference a WCF service in a different Visual Studio solution?

A Visual Studio 2008 project in one solution needs to reference a WCF service in another VS 2008 solution on the same development machine. Does anybody have any suggestions on how best to accomplish this? ...

Converting a .rptproj from VS2005 to VS2008

I've got my brand new VS2008 and decided to convert my main solution from VS2005. One of the projects is a SQL2005 reporting services project. Now that I've converted I cannot load it in VS2008. Is there anyway around this? My problem is that my solution is a hybrid and has websites libraries and reports in there. Separating it out bre...

How can I stop losing all my IDE window position when pressing the start debugging button ?

I use Visual Studio 2008. I haven't seen this behavior before and, as far as I know, I didn't change anything in the options. When I press Start debugging all the possibly windows (watch 1 - 4), data sources, properties, registers (to be honest I have not even ever seen these windows before) appear in front of the code window and stay ...

Visual Studio 2008 / Web site problem

I am using VS 2008 with SP1 and the IE 8 beta 2. Whenever I start a new Web site or when I double-click an ASPX in the solution explorer, VS insists on attempting to the display the ASPX page in a free-standing IE browser instance. The address is the local file path to the ASPX it's trying to load and an error that says, "The XML page ca...

Recent Projects panel on VS2008 not working for fresh installs

The Recent Projects panel on the Start Page of VS2008 Professional doesn't appear to work, and constantly remains empty. I've noticed this on 3 of our developers VS2008 installations, in fact all the installations that weren't updated from 2005 but installed from scratch. I generally treat this as a bit of a curiosity, but now I have a ...

How do I enable line numbers in VS2008?

I can't seem to find that option. Surely it's in there? Thanks. ...

Set Google Chrome as the Debugging Browser in Visual Studio

When I press F5 in Visual Studio 2008, I want Google Chrome launched as the browser that my ASP.NET app runs in. May I know how this can be done? ...

Clean up Designer.vb file in Visual Studio 2008

I noticed that my Designer.vb file of one of my forms has a lot of controls that aren't even used or visible on my form. This is probably from copying controls from my other forms. Is there a way to clean up the Designer.vb file and get rid of all the unused controls? **UPDATE: This is for a Windows Form project. ...

App does not run with VS 2008 SP1 DLLs, previous version works with RTM versions

Since our switch from Visual Studio 6 to Visual Studio 2008, we've been using the MFC90.dll and msvc[pr]90.dlls along with the manifest files in a private side-by-side configuration so as to not worry about versions or installing them to the system. Pre-SP1, this was working fine (and still works fine on our developer machines). Now tha...

Debugging with FF3 in VS2008

I am using Firefox 3 to debug my ASP.NET applications in Visual Studio 2008. How can I configure either FF3 or VS2008 so that when I 'x' out of Firefox I don't have to hit the stop debugging button in Visual Studio? (The behavior you get with IE) ...

How do I get a custom application name and starting window name in Visual C# 2008 using WPF?

I'm using Microsft Visual C# 2008 and am creating WPF applications. If you create a new solution and pick the WPF application template it lets you provide a single string to name the solution. It then automatically turns that string into a base project name and a namespace using underscores instead of spaces. It also generates a clas...

Why would breakpoints in VS2008 stop working?

I have a c# asp.net web app. Breakpoints in the database layer are no longer stopping execution but the breakpoints in the UI layer are still working okay. Can anyone hazard a guess why this might be happening? I've checked all the usual suspects (Debug build is on for all projects) and recompiled all projects in solution... ...

HTTPS with Visual Studio's built-in ASP.NET Development Server

Is there a way to access Visual Studio's built-in ASP.NET Development Server over HTTPS? ...

Getting started with Silverlight development..

How does one start development in Silverlight? Does one need a new IDE? or Visual studio will support? ...

What is the worker process for IIS7?

I'm trying to do 'Attach to Process' for debugging in Visual Studio 2008 and I can't figure out what process to attach to. Help. ...

How can I make my VS2008 x86 installer install x64 assemblies on x64?

I'm using the VS2008 installer (plus a custom Orca action) to create an installer for my .NET product. I just recently found out that one of the third-party assemblies I was using is x86-specific (as it includes some native code); thus, x64 customers were getting crashes on startup with errors about the assembly not being appropriate fo...

Profiling in Visual Studio 2008 PRO

How do I use the profiler in Visual Studio 2008? I know theres a build option in Config Properties -> Linker -> Advanced -> Profile (/PROFILE), however I can't find anything about actauly using it, only articles I was able to find appear to only apply to older versions of Visual Studio (eg most say to goto Build->Profile to bring up the...

Private Accessor class ignores generic constraint

These days, i came across a problem with Team System Unit Testing. I found that the automatically created accessor class ignores generic constraints - at least in the following case: Assume you have the following class: namespace MyLibrary { public class MyClass { public Nullable<T> MyMethod<T>(string s) where T : struct { ret...