visual-studio-2008

C# visual studio - Properties.Settings.Default.SomeValueOrAnother has me baffled.

C# visual studio project: Properties.Settings.Default.SomeValueOrAnother has me baffled. I have a relatively simple project. It saves a bunch of last-entered values between sessions, and restores them on next invocation. Was working fine. I changed a control so that the minimum allowed value was no longer 1, but was now 100. Last used v...

JavaScript document outlining in Visual Studio 2008

Problem/Questions: Document outlining for JavaScript files is not working in Visual Studio 2008. Is this still supported? If so, how do I enable it? If it's not supported, are there any free plugins that provide similar functionality? Notes: This used to work for me in Visual studio 2003 ...

Disabled controls in Firefox

First of all in my custom webpage project, i use a master-page. What drives me nuts, is that hyperlinks (2 of 5 in a child page) seem to be disabled while debugging with firefox (V3.5.5). I face the same problem with a radio-button-list which exists within an asp wizard control. It seems to be disabled, (Does not accept focus). What i...

VS.net 2008 issue with asp.net pages

Hi all, I am having problem in using the source view of an asp.net page in VS.net 2008 IDE. I am not using Design view at all. IDE hangs a bit every now and then, when I use intellisense in it, and I scroll the page. Please throw some light on it. Such issues doesnt come up while editing the HTML page, and while editing same asp.net page...

Unit Testing DAL - Stop Connecting when running unit tests.

I am unit testing a DAL (Data Access Layer). When I debug a unit test, before my unit test constructor is even run, Visual Studio fires up WcfSvcHost. Why is it doing that? I am mocking out everything so I can just test what little logic there is in my DAL. I don't want it to do anything but run my unit test. Any ideas on how to t...

Can you use visual studio professional with team foundation server 2008?

Can you use visual studio professional with team foundation server 2008? ...

Why doesn’t Explorer always show the .c files when you choose Open folder in Windows Explorer for the project in Visual Studio 2008?

Why doesn't Explorer always show the .c files when you choose Open folder in Windows Explorer in VS 2008? Sometimes it does sometimes it doesn't something with Project properties? ...

How to create components (labels) on the fly? (or how to create facebook/hotmail-style to add contacts to message)

Hi there, What I want to do is to create something like that hotmail/facebook-style list of selected contacts.. with 1 little block and a "X" for removing each item. How could I achieve that in .NET? I thought of creating new labels "on the fly" and use .NET's Ajax UpdatePanel.. But, can I do it? if yes, how can i create a label on t...

Visual Studio AutoComplete simulates enter being pressed when selecting

Visual studio nicely provides built-in auto-complete functionality for text boxes and combo boxes. I am using the suggest method of auto complete that provides the user with a list of choices filteres by what they have type. The problem I am having is that when the user makes a selection (via the mouse) VS places the selected text into ...

VB 2008 & Debugger ?

using vb.net 2008 When I put a break on a line and then press F5 the debugger does break on the line which I put the Break (F9) but Step In (F8) as well as F5 are grayed out, not working, as well as a bunch of other debug tools. Any clue why this is? Is there a setting that needs to be set? ...

Is there an adequate replacement for Source Control Explorer?

I use TFS 2008 for source control with Visual Studio 2008 at my office. I have previously used Subversion (and even source safe) and found it much easier to find information than using the panel "Source Control Explorer" inside visual studio. Are there any better designed alternatives to be able to do my common source control tasks? ...

When is it a good idea to clean a solution?

As the title says - what are your guidelines for when you should run a "Clean solution" on your visual studio projects? ...

What does the 'Rebuild All' setting do?

In visual studio, there is an option to "Rebuild All" from the build menu, what exactly does it do? ...

Which C++ does Visual Studio 2008 (or later) use?

Hello, I find C++ is very controversial language in microsoft world. By default we have ISO C++ and then microsoft has Managed C++ and now C++ CLI. I just know standard (ISO) C++. I don't know microsoft's version of C++. I'm confused about interpretation of any c++ code by visual studio 2008 (or later). Thats why I'm using gnu tools f...

VisualSVN is not updating Pending Checkins window in VS2008

Recently, my Pending Checkins window in Visual Studio 2008 has been empty even though changes have been made to various files. What really vexing is that the Solution Explorer correctly marks the changed files with an orange dot instead of a green one. Is there any way of re-enabling this without resorting to reinstalling? ...

What are some "catch all" keywords I can use when debugging in Visual Studio - like "this"?

Hey Guys Again, learner here. Generally I like to be able to look at the whole state of the application to understand what information I have available to me in the current scope. Something I do a lot is open up QuickWatch and evaluate this which gives me everything inside the current class. I was wondering if there are any other ke...

converting vs2008 to vs2010

I'm having a mvc application on VS2008. How can i create a new solution file which need to support VS2010. ...

In VS2008, is there a way to automatically "Attach to Process"?

Hi there, I'm working on a solution that has three projects, all of which run when I start debugging. It gets annoying because if I want to debug an aspect of a particular project that isn't my startup project, I've got to attach the process every time. Is there any way to have the debugger automatically attach to all projects? Thanks...

VS2008 deployment project. Change UpgradeCode for every build.

Hello. Is it possible to setup vdproj so as new UpgradeCode is generated for every new .msi? Why I need this. We have only one deployment project, only one application. It is very convenient (for non-developing audience) to double-click .msi file and reinstall it disregarding any other application already installed. Most often it is ne...

Ankhsvn "Failed to authorize"

I am trying to set up Ankhsvn 2.1.7444.278 with Subversion 1.5.0 on both VS08 and VS2010.B2. When supplying Ankhsvn with repository url, it recognises the url and allow me to select my repository. The repository is empty (since I haven't put anything into it yet). When I click OK and after applying a log-entry, it return with the error ...