visual-studio

Visual Studio and Virus Scan of Temp folder

We are using Visual Studio 2008 as our primary development IDE. Our security team has set up McAfee to scan files in our \Local Settings\Temp folder. Unfortunately VS uses this directory during code builds which is slowing the developers down. We've reached an impasse with the security team on this, and wonder if anyone knows of a con...

How can I suppress individual BizTalk warnings in Visual Studio 2005

We are currently using BizTalk 2006 R2 to build Enterprise Integration solutions. We use BizTalk maps extensively, but when you build a solution in Visual Studio 2005, it produces the following warning against maps: Warning Double-click here to show/hide compiler links. In my opinion, these are not real warnings and can be ignored, bu...

Why does Visual Studio take so long to delete a file

Why does Visual studio take so long to delete a file from the solution tree? The app freezes and sits there for what feels like an eternity. If I delete the file from the file system first, then delete it in the solution it happens instantly. Is there an option I can set somewhere to avoid this? ...

VS 2k8 Doesn't Release File Handle After Debugging Stops: Unable to copy file X to output directory because it is being used by another process.

Every once in a while, typically when I stop debugging in our UI assembly, I get the following error which requires a restart of Visual Studio 2008 and it's killing my productivity: Error 13 Unable to copy file [UI assembly] to [output directory]. The process cannot access the file [output directory][UI assembly] because ...

Why doesn't Visual Studio always render my page correctly when debugging locally in fire fox 2.0x?

When I debug locally in fire fox 2.0x many times my page won't have the styles added properly or the page will not completely render (the end is seemingly cut off). Sometimes it takes multiple refreshes or shift-refreshes to fix this. Is this a common issue or is it just me? Any solutions? I want to add that this is happening in fire fo...

QT: difference between moc output in debug and release?

Using the QT Visual studio integration, adding a new QT class adds two separate moc.exe generated files - one for debug and one for release (and one for any other configuration currently existing). Yet the two eventual generated files seem to be identical. On the other hand when adding a UI class, the uic.exe generated files don't have ...

Implementing a window manager like VS does it

My boss thinks the VS 2008 IDE Window Manager(autohiding, docking of Solution Explorer, Properties, etc) is the best thing since sliced bread. I can't find a control that resembles that functionality in the Toolbox. Is there a control like that available that you know of? Or should I go ahead and implement it myself? Btw, we're using...

What to do if I don't have Visual Basic 6.0 and need to compile a VB6 project?

A client wants me to do some maintenance work to a VB 6.0 application (migration to .NET is also in the pipeline), but he doesn't have the development tools because he received just the source code and running application from the original programmer, who is no longer available. Microsoft doesn't sell Visual Studio 6.0, as far as I know...

Visual Studio 6 Processor Pack compatibility

I've seen that a Processor Pack is available for Visual Studio 6, however it appears to only be available for users with SP5 and I am already using SP6: In addition, the Visual C++ Processor Pack (VCPP) was removed from Service Pack 6. If you have the VCPP installed, installing SP6 will remove it from your machine. If you wish to contin...

Visual Studio References and versioning - how does it work?

Hi, We have several common libs. Ideally we want them all to use the latest version of a dll even if they have been compiled against an older different version (assume the latest version is backward compatible) e.g we have: Project dll Common controls dll Logging dll Database access dll Project and common controls reference v2 of data...

Automatic namespaces import

Is there a way in Visual Studio (a hotkey) to automatically import a type (or choosing between known namespaces) like the CTRL+O in Eclipse? ...

Good Alternatives to Visual Studio Setup Projects

Most developers and engineers that have experience writing software and deploying with the packaged Visual Studio Setup Project know about it's many shortcomings. Usually in regards to installation customization, upgrade paths, etc. What are some good alternatives for software deployment? In particular I'm interested in features, .NET in...

Hidding source control files within Visual Studio's solution tree

We use Visual Studio 2008 and Surround SCM for source control. SCM drops files into each directory named ".MySCMServerInfo" which are user specific data files that shouldn't be checked into source control. They are similar to the .scc files dropped by Visual Source Safe. We also have several WAPs (Web Application Projects) that we deve...

Mixing Visual Studio versions OK?

Can Visual Studio 2005 Team edition for Developer coexist peacefully with Visual Studio 2008 Database edition on my machine? Are they completely separate applications that won't interfere in any way with each other? Update: What about Visual Studio 2008 Developer edition? If I install this on the same machine as 2008 Database edition, ...

Is it important that Visual Studio 2008 thinks it's the wrong edition?

I installed Visual Studio 2008 Standard Edition a month or so ago after a reformat (on Vista64, if that matters). I got it for free from one of those "Heroes Happen Here" launch events. I then installed SQL Server 2008 Express Edition a week or so ago (we're supposed to be getting that for free in the mail but I gave up - a little too e...

Problem with static library in C++

Hi all, I'm trying to use a static library created by me in Visual C++ 2005 (unmanaged C++). I declare one function "int myF(int a);" into a .h file, I implement it in a .cpp file, I compile it - the .lib file is produced. I create a new project (a separate solution) in VC++ 2005 (also native C++), I add the paths for the include file ...

Changing target framework in Visual Studio 2008

Hi, What's the deal with VS?...I tried importing the Caching App Block and got the message...the assembly or one of it's dependencies your are trying to import requires a later version of .NET Framework...... I went to the properties of my app in VS, but I can't find the dropdown to switch....what's the deal? Thanks ...

Team Foundation Server (TFS) File Difference viewer - customize with other tool

Hello, I am using Team Foundation Server (TFS) for Visual Studio 2005. Whenever i wish to compare two file's versions TFS displays a window with the differences. The problem is that it is always splitted vertically. In fact, almost every time, i would prefer to have it splitted horizontally. I've already looked at TFS options and goo...

How to assign keyboard shortcut to Source Control commands in Visual Studio 2008?

I use Visual C++ 2008 in Visual Studio 2008. I frequently use the following command to diff an open file against its most recent checked-in version: File | Source Control | Compare... I can also do the same thing by clicking on an icon in the Source Control toolbar. I'm not certain, but I believe this command is the same for any sou...

Data Types supported in visual studio 2008

I just downloaded and installed the latest Adventure Works database from http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=16040 to do some more playing around with LINQ and found that there are some data types that are not natively supported within Visual Studio 2008. I get the "One or more selected items ...