visual-studio-2008

Adding xml comments to methods, properties, etc quickly in vs 2008

Hello, Assume I have 10 Methods and 10 Properties. Is there a way to add the xml comments (///) to all 10 Methods and 10 Properties at once in VS 2008 or do I have to type /// for each one. ...

A new expression requires () or [] after type compilation error - C#

The following code for a co-worker throws the following error when he tries to compile it using VS 2008: Error: A new expression requires () or [] after type Code: MyClass Structure: public class MyClass { public MyClass() {} public string Property1 { get; set; } public string Property2 { get; set; } } Sample So...

IIS website deployment with subdirectories throwing 404 error for pages in subdirectory

In IIS 6, I am trying to deploy a Web Site project from Visual Studio 2008. This site has a sub-folder with some aspx pages in it. When I deploy the project to the server and navigate to the site, everything works except for the pages that exist in the sub-folder, they throw a 404 error. In IIS, I can navigate the sub-folders and see t...

How can I view differences in VS2008 before checking a file into SourceSafe?

We have an old Classic ASP application that we have been using Visual Studio 6 to maintain. This has worked fine, but we're ready to step out of the stone age and I'd like to see if I can use Visual Studio 2008 (SP1) to maintain the application. In the past, multiple developers could work on the application and it was under source cont...

VS2008 IDE giving 5 second latency when switching tabs between aspx and aspx.cs , how come?

I have VS2008 (SP1) installed on a XP sp2 laptop. One thing weired on IDE, I don't know how to fix it. I'm programming a web application, have many tabs openning at the same time. When I switch from aspx to aspx.cs back and forth, I always get about 5 seconds delay before I can type the keyboard. I thought this might relate to some b...

ASP.Net application slow to load - VS2008

This is my set up on a stage server compiled my web application published website copied the output directory from my machine to stage server created domain account created virtual site on a static IP website runs under domain account created impersonate set too true as windows integrated authentication is used with sql server No...

WiX generated MSI is not compressed

I use WiX3 to generate MSI installation package. I have specified comression flag on in both the <Package> and <Media> elements: <Package InstallerVersion="200" Compressed="yes"/> <Media Id="1" Cabinet="MySetup.cab" EmbedCab="yes" CompressionLevel="high" /> but the resulting MSI is not compressed at all - WinZip compressed it from 2M...

Work on a VS 2005 solution in VS 2008

I have no desire to install 2005 on my laptop, but I do often like to work at home. I am formulating a process to enable me to check out the 2005 project, back up the solution and project files - these are all that change - and convert the solution to 2008. I then back up the 2008 solution and project files, and commence work. To comm...

Program Slicing in VS 2008.

Anyone have any ideas or experience using program-slicing techniques for debugging OO projects in MS Visual Studio 2008? Tool suggestions would be helpful. ...

Using 64 bit OS for .Net development in VS

My development machine ( 32 bit Windows XP) runs excruciatingly slow when I am doing .Net development in Visual Studio 2008, thanks to the installation of Resharper. So I am thinking about switching my development machine to 64 bit Windows XP. Not sure whether such a switch will speed up the development or not? 64 bit machines don't ha...

Setting up a development environment with multiple workstations and Visual Studio 2008

I currently have a small laptop and a desktop (+ gaming rig) that I use for development. I prefer to use the workstation at home because of the multiple large displays and performance and the laptop for it's mobility. When I need to work on Visual Studio 2008 web projects I RDP into my desktop over the internet. I would like to do thi...

Crystal Reports 11 deployment with Visual Studio 2008

I am using Visual Studio 2008 to create a web based report viewing page. Its working fine locally, but when i deploy it to client's web server it does not run and it gives error that crystal reports 10.5 components are missing. Client told me that server have crystal reports 11 installed. Now my question is, is there a way i can change...

Visual Haskell 2008

Is Haskell for Visual Studio 2005 compatible with VS2008 SP1 ? ...

Remote Debugging in Visual Studio (VS2008), Windows Forms Application

Hi I'm trying to Remote Debugging a Windows Forms Application (C#), but i'm always getting this error: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'XXX. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. Authentication failed. Please see Help f...

MySQL .Net Provider 5.2 does not show up in Data Source dialog of VS 2008 Express

Hi, I have installed MySQL .NET data provider 5.2 (through it's installer) but I could not see the MySQL data provider in Data Source dialog of Database Explorer. I am using VS 2008 Express edition. Do you have any clues ? Regards, Jatan ...

Why can't I connect to my project portal with my newly created teamsystem user?

I've followed this walkthrough to create a new user in TFS and add it to the Administrator group When I try to connect to my project portal (directly from the tfs computer), it asks for my credentials : if I enter my new user's credentials, IIS says "Access Denied" if I try to log in using the windows Administrator account, it works f...

remove regions in visual studio

Ctrl M-L doesn't toggle all the regions in vb.net (2008) when there's a hierarchy between the regions. I don't like regions. Is there a way to expand ALL the regions or remove them permanently? ...

Reference project "readonly" in Visual Studio?

I have two applications in two solutions in VS2008 that share a common dll, the dll-code is included as a project in the first applications solution. Is it possible to allow the second solution to reference the dll project "readonly"? I want whoever opens the second solution to be able to step into the dll during debugging but not be a...

What's the best way for a VPC to access files on the host machine

I am running Vista64 as the host for Win XP in Virtual PC 2007 SP1. I want to store my files on the host machine and just access them from the virtual pc. I access the files on the Host through a network share over the loopback adapter. Everyone has read access to the share and in the VPC the share is mapped to the U:\ drive letter. ...

Making winform switch tabs

I'm making a winform in C# using Visual Studio 2008. Currently, I have a tabcontrol, containing 2 tabs. In the first the, there is a button. When I click it, I must be taken to the second tab. Problem is, I don't know how. I've tried debugging, looking into al kinds of Properties and messing around with them, but I found nothing that h...