visual-studio-2005

Using Fluent nHibernate with VS2005

I have not been able to find any definitive answers to this question: Can Fluent nHibernate be used with VS2005? All the examples on fluentnhibernate.org seem to use c# 3 syntax (lambdas). ...

crash when building with Visual Studio 2005 on Windows 7

I ran Visual Studio 2005 on Windows Vista (32-bit). I recently upgraded to Windows 7, and Visual C++ began crashing when building release executables. The actual crash is in mt.exe. I get the message, "mt.exe has stopped working". Is there a way to solve the crash, or do I need to upgrade to Visual Studio 2008? ...

Deleting connection strings in a dataset

When I'm viewing the connection string options in the properties view of a TableAdapter, I get a list of options for connection strings. Our project has evolved in such a way that many of these options refer to databases that no longer exist on the server. Is there a way to delete these? Thanks. ...

page is not served because it has been explicitly forbidden - extension .asp may be incorrect

I'm trying to run a test version of a web using the File System (i.e. the "Cassini" web server built-in to Visual Studio 2005) rather than HTTP://localhost (IIS 5.1 on my Win XP dev PC). This web is a hodge-podge of classic ASP files written years ago and some new development in ASP.NET (VB.NET). How can I get past this error message a...

Aligning Form in Visual Studio 2005

I am trying to add functionality to a form in Visual Studio 2005 that extends the form to the left. However, I am unable to figure out how to change the top and left alignment of he form in the form designer. There has to be a way to change the alignment of a form in the designer, right? ...

How can I determine why a build runs slowly in Visual Studio 2005?

I wanted to know if it is possible to know why a Visual Studio 2005 (MSBuild) build is taking a long time to build a project. Suddenly we are getting 7-minute build times on some computers, while others take less, such as 4 minutes. So I think I need to identify changes that were made to the project and are causing a longer build time....

VS 2005 professional edition x86

I am trying to install vs 2005 professional editon x86 on vista. My machine and operating system both are 64 bit. When I start setup it shows .net framework for 64 bit. I exit from the installation. can anybody help me out? Is it normal that 32 bit application become 64 bit on 64 bit vista and machine. ...

Why is my Breakpoint Condition not being met when my Breakpoint Condition is being met in Visual Studio?

I have a piece of code in front of me that iterates through a long list of urls and something is going wrong when those urls include a certain type of document. I don't want to see every iteration, so I've set up a conditional breakpoint. The trouble is that I'm not a C++ programmer so I'm slightly having to fish around to work out how ...

Change language in mobile application

I make application for windows mobile 5 in Visual Studio 2005 in C#. How can change language of my mobile application. I made each form localizable and i have 2 resources files for each form. but i dont know how to change the language. It doesnt have to be changable in program beacuse i need to 2 version of this application ...

Why to use __declspec(dllexport)? Seems to be working without it.

Been a while since I have programmed in C++, so the whole export/import idea slipped off my mind. Can you explain me why to use __declspec(dllexport) & import thingy if it looks like I can use classes from other libraries without those. I have created a solution in VC++ 2005, added the console applicaiton project and two dll libraries...

What is the use of stateConnectionString in sessionState in Web.config?

I'm using VS 2005 for web forms. Looking at the web.config I see a stateConnectionString attribute. Is this really needed? When is this needed? How is this used? ...

How can I debug ajax functionality with web services in Visual Studio 2005?

I have a web application project and a web service project in the same solution, and I want to be able to use Javascript (jquery) to make calls back to the web services. How can I do this in a way that wont require me to change the code for production, since it debugs on a different port so I can't just use a normal path to it. Thoughts...

Is it possible to add Post Build Tasks/Steps to an ASP.NET (2.0) Website Project?

I've got this ASP.NET 2.0 project that I've been working on for a while now. Over time the project grew little by little and in the end I ended up with quite a few steps that I had to run at the end, every time I wanted to publish the project. So, I wrote a script that I can run which executes all the clean-up steps for me and which is...

Reference a .Net2.0 project from a .Net3.5 solution without upgrading project file [csproj]

Hello StackOverflow. I have an interesting problem. I am developing for a .Net2.0 solution. I have finished my development and checked my source in [er, to a local Clearcase stream - don't ask, this just means I'm done dev]. This source is, and must remain .Net2.0 Vs2005 compliant. Unit testing is somewhat more lax. I would like to tak...

Nokia QT 4 for Visual Studio 2005 and Visual Studio 2008

I downloaded the latest open source version of QT4-and its installed in c:\qt\2009.04. I've also downloaded the QT4 Visual Studio add-in 1.1.0. I want to set it up for both Visual Studio 2005 and Visual Studio 2008 . Most of the docs online are for older versions. What steps do I follow? ...

Can do I use TFPT 2008 with VS2005/TFS2008?

We have TFS 2008 but use Visual Studio 2005. I would like to use some of the features from tfpt.exe 2008 but when I try to install tfpt, it will not install the commandline tool. My guess is that it won't install it because I don't have Visual Studio 2008. Can anyone confirm this? Does anyone know how to get around this? Since we us...

SQL CE unspecified error

Hello, I did a project with MS SQL Server CE that when installed in the 'costumer' machine just raises an unspecified excpetion. Did some research and looks like I did everything mentioned. The dev env has sql compact 3.5 installed and sql tools for vs 2005. Using dotNet 3.5. But to make it run in de dev machine I need to add the sqlces...

Can not get a reference to ConfigurationManager

I simply can not get Visual Studio 2005 to find the System.Configuration.ConfigurationManager class. Here is the code: using System.Configuration; ... x = ConfigurationSettings.AppSettings["MySetting"] // The name 'ConfigurationManager' does not exist in the current context x = System.Configuration.ConfigurationManager.AppSettings["M...

Visual Studio switches from disassembler to source each time I step

On one of my two computers I see following behaviour: Each time I press F10 (Step over) or F11 (Step Into) in the disassembler window, the focus is switched to the source view, resulting in next F10 / F11 done on the source level unless I switch focus back. Can anyone recommend me what settings to inspect, or what to try to stay in the...

How do I setup environment variable INCLUDE for Visual Studio 2005?

Is there a script that I can run that will setup my %INCLUDE% environment variable? I'm running PC-lint and it can't find my include header files. I went through the documentation and it appears that I need to setup the %INCLUDE% environment variable. I was wondering if there's an easy way to do it. ...