visual-studio-2005

Why does one of my project's GUIDs change when I build the project in VS 2005?

For two of my VS 2005 C++ projects, VS wants to write to the .sln file when I build the projects. I have got a number of other VS 2005 C++ projects where this is not the case. It is a problem as due to the fact that we have ClearCase source control integrated with our VS 2005 installations and when we try and run an overnight build via...

Visual Studio 2005 VB debugging with c++ dll - Mixed Language debugging

I have a vb project which calls functions in a dll. The dll is created in a separate vs project (portaudio), which is written in c. The dll c project compiles clean and builds the required dll, which I am currently dropping in c:\windows\system to vb runtime can see it. VB Project lives in c:\devprojects\vbtest C Project lives in c:\...

Visual Studio 2005 Clean Solution

If I have a solution with 10 projects. When I click "Clean Solution" does that just clean out the bin/debug in the main startup projects solution or the bin/debug in every projects directory? ...

Strange behavior with OpenCV

Hi every one, When I compile my Windows application (called CrosslinesDetection) in Visual C++ 2005 including OpenCV 1.1, a computer vision library, I do not get any compile or link errors, but when I am running it, it gets to a point and freezes, and Windows says the following: "Unhandled exception at 0x7c915223 in CrosslinesDetection...

How do you handle software upgrades like SQL Server 2008?

I'm only asking this because I'm finding as I get older, it becomes a much more frustrating part of my job. How do you handle new versions of software, particularly software that coders and DBAs use on a regular basis? It seems that just when I've fleshed out SQL2005, SQL2008 will have come and gone and SQL2010 will be here. I've mi...

Exclude nested files from source control

We're having a problem combining 'nested files' and excluding files from source control. We're using code generation to create two partial classes for each entity - MyBusinessObject.vb and MyBusinessObject.Generated.vb We'd like the "Generated" file to appear as a nested file under the manual file. So we're modifying the project file t...

Where can I find MSCVR80.DLL v8.0.50727.3053 ??

I've got a bug from one of our customers and believe that the problem lies with MSVCR80.DLL v8.0.50727.3053 - a version which I cannot find for download anywhere, however a google search turns up plenty of other crash reports. Latest version on my system (and others here) is 8.0.50727.1433 and the Microsoft Visual C++ 2005 SP1 Redistrib...

'rsInvalidImageReference' Warning When Previewing a SSRS Report

In an SSRS report: I am specifying the footer's background image using an expression, so that the image on the first page is different from other pages. The images are stored as part of the project, and are displaying correctly, however I get this warning Build complete -- 0 errors, 0 warnings [rsInvalidImageReference] The Value for...

How does template argument shadowing work in VS2005?

In GCC this code won't compile, because T gets shadowed, however in VS2005 it compiles with no warnings, so what are the assumptions VS compiler is making? template<typename T> class Foo { template<typename T> void Bar(const T& bar) { ... } }; ...

Visual Studio Extension to map Solution Folders to Real Folders

In an earlier question, I've found out that sadly Solution Folders are not real folders inside a directory. I wonder if there is an AddOn or Macro that adds this functionality? i.e. when I create a Solution Folder, it created a real folder. When I Create a new Item (Right Click => Add => New Item) it automatically moves them into that f...

Is it possible to modify the output of a macro in VS 2005?

Hello, I'm using the Custom Build Rules feature in Visual Studio 2005, which allows to use macros such as $(ConfigurationName) in the XML .rules file. I need to pass only a subset of $(ConfigurationName) as a parameter to my command-line tool: If my target is named "DebugBuild", I'd like the command to end up like "tool.exe -Debug". ...

File Drag & Drop ability in Visual Studio

I was wondering if any one knew of a plug-in or a way to: I would like to be able to drag files from Solution Explorer to a Windows Explorer window and have the file copied to the location in Explorer. Currently using VS2005 ...

How can I use TRACE macro in non mfc projects

I want to use the TRACE() macro to get output in the debug window in VS2005 in a non mfc c++ project. But I don't know which additional header or lib is needed. I want to know are there any ways of putting messages in the debug output window and how can i do that, thx a lot ...

TFS vs2005 always get on accessing a file

In vs2005 opening a file causes a dialog to pop up "Contacting server to get a list of items to update"... everytime... I'm not checking out / editing ... just opening to view. Reset vs2005 settings etc ... but to no avail ... No settings appear to be diff. between mine and other devs boxes here. Appears to be nothing on google. No add...

Visual Studio 2005 hangs when debugging the Winform application

Hi, My Visiual studio hangs all of a sudden when debugging the windows application. It's takes while to repond and but it's closing my application. I keep getting this issue everytime in every debugging session. Please help to fix this problem. ...

pipes in Visual Studio build events

I'm using Visual Studio 2005 Express Edition with SP1. I have a Pre-Link Event which needs to invoke one program and send its output to another. foo | bar This command works as expected when invoked from a command line or batch file. The command fails when invoked from the Pre-Link Event (even if the Pre-Link Event invokes a separate...

Concise steps to re-install VS8, configured for web application projects

The default install of Visual Studio 2005 does not include 'web application' support. When opening those projects, you receive an error: "The project type is not supported by this installation." Googling for solutions brings you various pointers to install packages like SP1 and the MS "Update to Support Web Application Projects." But ...

Create GUID menu item missing in Visual C++

I do not see "Create GUID" option under the menu item Tools -> . I am using Visual Studio 2005 . Do I have to install anything for that . ...

How do I programmatically get the GUID of an application in .net2.0

I need to access the assembly of my project in C# .NET2.0. I can see the GUID in the 'Assembly Information' dialog in under project properties, and at the moment I have just copied it to a const in the code. The GUID will never change, so this is not that bad of a solution, but it would be nice to access it directly. Is there a way to ...

Database Deployment Strategies (SQL Server)

I am looking for a way to do daily deployments and keep the database scripts in line with releases. Currently, we have a fairly decent way of deploying our source, we have unit code coverage, Continuous integration and rollback procedures. The problem is keeping the DB scripts in line with a release. Everyone seems to try the script ou...