visual-studio

Would ReadyBoost have an impact on Visual Studio 2008?

Has anyone seen a performance increase in Visual Studio 2008 by using ReadyBoost in Windows Vista? I have 4G of RAM and adding more will do nothing (I'm running Vista 32), so I'm investigating other options to speed up the responsiveness of the development environment and the build process. Upgrading to 64-bit Windows is not possible. ...

Stranded Registry Entries Preventing Uninstall

I have a .NET/Visual Studio/C# application that cannot be uninstalled on one of my development computers. (It CAN be installed, and uninstalled, on the other development computer.) This appears to be a registry problem. As a test, I added a new registry entry to the setup project since this problem started -- and the new registry entry ...

VS Installer adds unidentified dependency

I am creating an installation package for a VB6 application using Visual Studio Installer from the Visual Studio Installer Enterprise Tools v6.0. My issue is that Installer is adding a strange item under depdendencies, named simply "3". The "Sourcefile" and "Target" properties for this item are also shown as just "3". The "ComponentId" p...

Generate XSD file without REF elements - I just want a "literal" XSD file

When I use an XML example file to generate an XSD, using both Visual Studio and Oxygen, it generates a file using tons of <xs:element ref="ELEMENTNAME" />, where elementname is an actual element name. Later in the file, it has an element <xs:element name="ELEMENTNAME" type="xs:string" /> where it defines what that element is. For example...

What is the best Ruby on Rails environment for a Visual Studio user?

I've been a Visual Studio user since 1997, and used VB 3.0 before that. My whole professional life has been spent inside the Microsoft development environments. Now I would like to branch out into Ruby on Rails to try something different, and it doesn't have the kind of vendor support that C# does (for very obvious reasons). For someon...

Trouble porting OpenGL app to Windows

I am trying to move an OpenGL app to Windows. It was my understanding that Windows had a decent OpenGL implementation. But I'm starting to think that it doesn't... Specifically, I use array buffers and glDrawArrays. When I tried to compile my code in Visual Studio 2008 Pro, I received the following errors: vertexbuffers.cpp(31) : err...

WatiN in Visual Studio 2008 - second test method fails

When trying to run a very simple WatiN 2.0 (CTP3) test in Visual Studio 2008 I found that the first one always executes fine. The second test method seem to break something in the IE object producing the following exception: Test method testProject.WatinTest.testTwo threw exception: System.Runtime.InteropServices.InvalidComObj...

Disable Advertised File Associations in VS Setup (Installer) project

I'm using a Setup project in VS 2005, and I've learned all about the "joys" of advertised shortcuts. My project creates shortcuts to the program on the Desktop and Start Menu, and whenever those are run, the MSI re-installs the application (because installed files have changed). I've also created a file association for my application,...

What are the business benefits of purchasing and utlizing resharper?

A co-worker and I are interested in getting resharper integrated into our development environments for the obvious technical benefits (refractoring, etc) but we need to justify to management on how it will help the business make money so that they can purchase it for us. What reasons would be on the top of the list to justify this purch...

A First Chance Exception

Good evening, everyone; My name is Braden and I'm using Visual Basic 2008 Express Edition. I've been running through the MSDN help documents to get a hang of Visual Basic. After trying out the example using timers --one drags a label and timer component into the designer and adds the following to the components subroutine Label1.Text...

What is the best dot net unit test framework with visual studio integration?

What is the best dot net unit test framework with visual studio integration? ...

msvcp80d.dll not found while using TBB

I am using Intel TBB C++ for multithreading an application on visual studio 2008. When I run the executable I get a dialog saying "MSVCP80D.dll" was not found. There is so much on the net about this that it confuses me. Please help. EDIT: Based on answers, finally I was able to fix the "dll missing" problem. I had given a path to TBB...

Dialog not available within 60 seconds

I am trying to use Dialog handler twice in a function. For first time it executes well but on second time it hangs the system with dialog box open and showing Ok and Cancel butoon but never able to click it. Also it times out with an error "Dialog not available within 60 seconds" Dim cdhPopup As ConfirmDialogHandler cdhPopup = New Conf...

Error while retrieveing BLOB field from database?

Hi all. I'm trying to retrieve a BLOB field from Oracle and show it in a crystal report. While viewing the report, I've that error: Failed to open a rowset. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for oracle Description: Unspecified error I use a View as report datasource, its script SELECT COMPANY_ID, COMPANY_...

Build won't copy System.Drawing to output folder.

I have an assembly that is deployed to SQL server that references System.Drawing. Don't ask why, it's a third-party library. This requires System.Drawing to be in the same directory as the library when I call CREATE ASSEMBLY. I have added System.Drawing as a 'Content' file to my project, with 'Copy always' to output directory, yet it ...

How to use "Run to cursor" or Debugging in VS2005 when an event ocurs n'th' time where n>1

Consider i have a window Application,developed in Visual Studio 2005, having a button. I need to use "Run to cursor"/Debug when the button is Clicked Third time(or some nth time) and not First time. How can i do this.? Consider this being a sample code. using System; using System.Collections.Generic; using System.ComponentModel; using...

How do I declare a shell command in .NET setup project, and launch it after (or before) product installation ?

I would like to launch a shell command after an installation made with a .NET setup project under VS2008, and another shell command before start an uninstall, always from .NET msi package. How can I do it ? ...

How to link multiple visual studio solutions together?

I have 3 solutions and solution A requires built versions of the dlls from solution B and C in order to compile. it is not possible to merge it to one solution... So far it seems that Visual Studio doesnt support solution references and msbuild is clever enough to know that you are building one solution from another etc if I try that wa...

Visual Studio F6 stopped working. It no longer builds the project.

I'm using VS2008, been using it for quite some time now, and since I hate using the mouse while developing, I'm always using F6 to build the solution, or Shift+F6 to build the current project. What's weird though is for some strange reason, it simply stopped working over the last few days. In fact, when I pull down the Build menu, next t...

Why does Visual Studio displays some of my exceptions on the following line instead of the faulting line?

The usual behaviour of VS is to display in yellow the faulting line : int i = 1; switch (i) { default: throw new NotImplementedException(); //this will be yellow } However, quite frequently, I've witnessed that the wrong line is coloured, like in this example : int i = 1; switch (i)...