visual-studio-2008

Cyclomatic complexity for Visual Studio 2008

Hi, Is there any tool for showing the cyclomatic complexity for Visual Studio in the left hand bar where the debug symbol goes? I seem to remember there was an addin for Resharper but don't think it works in 4.5 Has anyone seen any similar tools, other than the built in support in VS ...

VS 2008 SP1 over Remote Desktop: Constant Repainting?

The text editor in Visual Studio 2008 was very fast over Remote Desktop. The text editor in Visual Studio 2008 SP1 is very slow over Remote Desktop, causing way too much repainting (and resulting flickering). The slower your connection is, the worse the problem is, but it's aggravating enough even when RDPing into a machine on the same ...

Is there any way to define several view configuration in visual studio 2008?

Hi , Is there any way to define an IDE Layout in visual studio 2008? Lets say that when I code in C# , I have the properties windows disabled and the output window at the bottom. Now Lets say that when I am in the visual editor of a window , I want the tools and the properties windows on the left and the output window disabled. the pro...

WPF Application - Visual Studio 2008 Toolbox Not Loading Correctly!

Hello, I'm pretty new to WPF however i've got a solid understanding of WindowsForms. When I create a new WinForms application in Visual Studio the Toolbox displays a huge list of different controls that can be used for developing the program. However, this is only the second time i've started to design stuff in WPF and the toolbox is l...

How to Dynamically get All controls (and it's IDs) in an aspx Page?

HEllo, I need to dynamically activate fields in a page according to the service that is going to be executed... Let me explain: There's a page with all the possible fields and a ListBox with all the selected services to be executed, then when the user selects which service to execute (change a car plate, for example), then I need to a...

VS2008 is slow in a development environment that is disconnected from the internet

My development environment is disconnected from the internet, and it seems that visual studio 2008 is very slow there. My guess is that the slowness is a result of vs2008 timeouts on attempts to perform internet operations, since on a similar PC that is connected to the internet, vs2008 is much faster. Does anyone know how can I speed up...

How to run application after installation completed

I have created msi package.Before installation completed only my application is running.I want to launch my application whenever i check the checkbox. After checking the checkbox only my application has to start. any suggestions plzz.. ...

How to create multiple projects at the same time by using Visual Studio Integration Package?

I need to create custom Visual Studio template by using Visual Studio 2008 SDK 1.1. How to create multiple projects at the same time like Asp.net MVC project? Thanks, ...

How can I change the default connection string settings for VS server explorer

I use SQL Server 2005 express and desing the DB in server explorer in VS2008. Due to various reasons I have disabled user instances. Now every time I use server explorer I need to modify the connection and turn user instances off. Is there a way to configure VS to always connect with user instance = false? ...

Visual Studio 2008 - Change "Implement interface" template?

Hi! I'm constantly using the "Implement interface" shortcut in Visual Studio 2008. My "problem" is that i want Visual Studio to use the String-alias instead of string in every instance. Since i'm forced to use String instead of string this would save me a great ammount of time. For example, i want the following: public Catalogue(Stri...

Code Analysis missing from Visual Studio 2008

I have just installed Visual Studio 2008 on a Virtual PC to evaluate it and one of the features I want to try out is the Code Analysis. However I can't seem to find it anywhere, on MSDN it says you can right click on a project and select properties and then simply enable it from there. However I don't see this option anywhere. At fi...

After "Go to Definition", is there a command to return to where you came from?

If so, is it a stack? That is, can I: GoToDefinition GoTODefinition GoToDefinition and then pop back up the call stack? None of the Edit.GoTo... commands do what I am looking for. TIA. ...

How to create a .dll in Visual Studio 2008 for use in a C# App?

I have a C++ class I'd like to access from a C# application. I'll need to access the constructor and a single member function. Currently the app accepts data in the form of stl::vectors but I can do some conversion if that's not likely to work? I've found a few articles online which describe how to call C++ DLLs and some others which de...

Value of type '<typename>' cannot be converted to <typename>.

I'm working on a project that uses the testing tool built into VS 2008. Periodically I will see an error comparable to: Value of type 'AcademyPro.Code.BLL.Appearance' cannot be converted to 'AcademyPro.Code.BLL.Appearance'. Type mismatch could be due to the mixing of a file reference with a project reference to assembly 'AcademyPro'. Tr...

Utility for removing SourceSafe bindings?

I'm looking for a utility that will remove SourceSafe bindings automatically given the location of the solution file. I found several mentions of this tool: http://codebetter.com/blogs/darrell.norton/archive/2008/05/16/sourcesafe-binding-remover.aspx That looks like exactly what I need - deletes .scc files and modifies .sln and .*proj...

how to get all stack traces with VS 2008 debugger

I'm trying to help debug a hang with the VS 2008 debugger. If I double click a thread in the Threads pane, I can see the trace for that thread in the Call Stack pane. My question is: Is there a way to get all the call stacks for all the threads in one shot, without having to select each thread individually? I want to email the trac...

In VS.NET why running debug doesn't build all selected project in the active configuration?

Why running debug doesn't build all selected project in the active configuration? Normally I've got some DLLs which are connected to the main project indirectly (MEF) and when I run in debug (F5) VS.NET doesn't build those DLLs. I have to Build (Ctrl+Shift+B) first, then debug the application to debug the current versions of those DLLs....

Use project designer with multiple setting files

In one of my class libraries I use multiple setting files to seperate settings based on components. In the VS project designer you can use automatic ApplicationSettings to store forms data (controls, checkboxes, etc...). If there is only one settings file in the project it will use this, however using multiple settings files confuses the...

Will installing Visual Studio 2010 side by side with VS2008 cause problems?

What kind of problems might this cause? Is it better to install in a VM? ...

which one to choose? DXCore, Resharper or VSX?

I want to write a visual studio addon to do some code modifications for me (like some specific refactoring). I was wondering which one of these tools should I use and why? we have licenses for resharper, the other two are free and this is an internally used software, so we don't need to worry about licensing. ...