visual-studio-2008

Visual studio 2008 (vb.net) test project and user settings

Good afternoon all. I've created a test project, and added some user settings to it. I'd like to do this because one of the tests changes a setting, and other tests read that settings. However, I find that my user settings will not save (ie my.settings.save does nothing) - well, if it does, then its not persisting because when I end th...

Unable to add a new item to source control?

I hope someone can help here, we're having an incredibly annoying time with Visual Studio 2008 and Visual SourceSafe 8. Basically, when anyone involved with the Web Application Project attempts to add a new "item" (eg. a CSS file) they get the following error: An error or user cancellation occurred during checkout. Some files may no...

Connecting to TFS through Visual Studio 2008 makes me Administrator

We are running TFS 2010 Beta 2 on the source control server. I am running Visual Studio 2008 Sp1 with the team explorer plus compatibility pack so that it can connect to 2010. Everything is fine! I had connected to the server and setup my workspace, checked in all our source code and could make changes and check them in and it would ass...

How to sign installation files of a Visual Studio .msi

This may be a duplicate, though I can't find it at this time. If so please point me in the right direction. I recently purchased an authenticode certificate from globalsign and am having problems signing my files for deployment. There are a couple of .exe files that are generated by a project and then put into a .msi. When I sign the .e...

Developing Web Projects when working with Team members not using Visual Studio

Does anyone have any good suggestions for working on teams where some members do not use Visual Studio? What are other people doing? This is a general questions, but my specific situation is developing ASP.NET MVC applications using Visual Studio 2008 and SVN for source control. In our office we have small teams. Usually we have one or...

Upgrade C# windows form project from VS2005 to VS2008, can't debug anymore.

I have a C# windows form application (Actually it is a IE toolbar application), I have been working with it in VS2005 for years and everything is fine. Recently, I upgrade my IDE to VS2008, and also import that project to VS2008, but after import, in VS2008 I can't start debugging any more, it always show: "Error while trying to run proj...

disconnect visual studio solution from sourcesafe?

Hi everyone, I'm working on a project for a firm that has their main solution in sourcesafe. The other developers are working like beavers on new stuff, and I'd like to be able to download the source from VSS, then disconnect it. So I can get up to speed on the code without risk of bothering anyone else's code. Is it possible to do t...

Which ReSharper command causes the Context Action List to pop up?

I've turned off ReSharper intellisense but still want a keyboard shortcut for opening the context action list (the one that pops up on the left when you point at a piece of code). Unfortunately, I cannot find the ReSharper command for this to bind it to a keyboard key. Can you help? ...

Visual Studio 2008 Debugger is not reporting some common errors

I'm currently using VS2008 and VB.NET. When I attempt to populate a Queue that has not been instantiated with objects, the program simply hangs without throwing an error. I have run into this issue multiple times in different parts of the program in the past few days. What could be the cause of this? Here's the code: Structure Conso...

Find all folders excluding some paths

Hi, In visual studio when searching for files, how can I find all files that do not contain a certain string in their directory path or file name? For example: I want to find all files that have the word MainRegion but I do not want files such as: c:\myfiles\file1Fixture.cs c:\myfiles\somedirectory\a.b.tests\filename.xaml So I wan...

While debugging a CLR Stored Procedure VS2008 is giving error like 'cancelled by user'

please any one help me while debugging a CLR sp am getting error like "cancelled by user" i think i need to enable something? ...

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'

After installing Visual Studio 2008 and SQL Server 2008 on Windows 7, I get the following error when connecting to a server with SQL Management Studio: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'. This operation failed because the QueryInterface call on t...

VSTS Database Edition - Intellisense for creating tables etc?

Hi There, Just begin starting to use Visual Studio 2008 database edition and loving it.... but there doesn't seem to be any intellisense inside create table for example .. in the editor ... and it also appears you can't add a table graphically like you can in SSMS ... Is this true, any tricks of ways round it or plugins or something,...

SQL and VISUAL BASIC 2008 Queries

Hello guys, How can I write a sql query that takes information from a database, and then put in the text in a label? I'm not really sure how to do this so please give me a good explanation! :) Thanks, Kevin ...

CMake RequireAdministrator

Hello :) I'm trying to set the RequireAdministrator manifest flag on an executable I'm building with CMake and Visual Studio. Any ideas on how to direct CMake to set that option? Thanks! Billy3 ...

How to debug unittest failures in Visual C# 2008?

This is nearly my first experience with unit testing. I added a unittest to my solution, and selected Test->Run->All Tests in Solution. My test failed due to an exception which got thrown in the tested code. Normally, I would then go to the stacktrace toolwindow, click my way through it, looking at the values of locals in every stackfr...

Do you use online or local help in Visual Studio / Are there downsides of one over the other?

Well I am sure that most people have seen the following: This time, I did not install the local MSDN so I do not have the option of Local help, however I usually always use the first option of look online anyway. I was wondering if there are any downsides to not installing MSDN? The only one I have found so far is that dynamic help ...

Visual Studio 2008 Navigate Forewards/Backwards Buttons Don't Work As Expected

I just installed VS2008 on my new Win7 box. I have Navigate Backwards and Navigate Forwards buttons on my tool bar. When I change between documents, I do NOT see a list drop down for each of the buttons like should be seen here after opening multiple documents and switching between their methods: How it should work. Instead, I just see...

How can one use the "Add view" dialog in Visual Studio efficiently when working with ASP.NET MVC?

Does anyone else think that the add view dialog in VS is useless or is it just me? Why is there no search/filtering in there? I can not even paste the type name (without namespace) there to speed up the view creation. Plus, there are a lot of irrelevant classes there, including classes from all referenced libraries. Am I missing somet...

how can I view Console Output whilst my Unit Tests are running in Visual Studio 2008?

Hi, How can I view Console Output whilst my Unit Tests are running? I'm using the Visual Studio 2008 unit testing framework. So I know that after a test is finished I can go to the results page for the test and click on output, however I'm after a way that I can effectively watch the console output for tests as the unit tests are exec...