visual-studio-2008

Visual Studio Database Edition: A few newbie questions

Hi folks, I'm looking at adding Visual Studio Database Edition (aka. VSDE) to my version of VS2008. Q1. What's the order of install of these products? is this ok? Update: Fixed the ordering of the install, based on feedback. VS2008 (c# [no sub options], web dev, ts tools. nothing else). Team Foundation Client (found on our msdn dvd)...

Case preserving find/replace in Visual Studio

There seems to be no built-in support for case preserving find/replace in VisualStudio (see also a respective feature request). What I mean is: searching for 'BadJob' and replacing with 'GoodJob' would do the following replacements 'badjob' -> 'goodjob' 'BadJob' -> 'GoodJob' 'badJob' -> 'goodJob' 'BADJOB' -> 'GOODJOB' So I am l...

Function call jumps to the wrong function.

I am compiling a c++ static library in vs2008, and in the solution i also have a startup project that uses the lib, and that works fine. But when using the lib in another solution i get an run-time check failure. "The value of ESP was not properly saved across a functioncall" Stepping through the code i noticed a function foo() jumping...

Force Full Path in the Connection String of Linq DataContext

I'm using System.Data.Linq.DataContext file for accessing a mdf Database I want to use the Database from the project directory and not the one created by the debugger in the Debug directory. The problem is when I edit the Connection String and choose the path for AttachDBFilename, VS2008 automaticly substitutes my project directory wit...

Visual Studio 2008 Service Installer Project Upgrade issue

I've upgraded a [.vdproj MSI generator project built into VS2008] System.Configuration.Install.Installer with a ServiceProcessInstaller and a ServiceInstaller from Visual Studio 2005 to 2008. There are no customisations of consequence to the installer class (i.e., not trying to start or stop services or register children) RemovePrevious...

English Error Messages in German Visual Studio 2008 / ASP.NET

This might be a bit weird question, but I'll give it a shot: HELP, my Visual Studio 2008 / ASP.NET is giving me GERMAN error messages. Besides the fact that translations tend to be not as good as the original text, I can't search for those and find relevant answers to my problems on the internet. So: How do I switch my German Visual St...

Issues using custom fonts in Visual Studio 2008 under Server 2003

I am having an issue with a custom font that my company has created. When I set the Font property of a control in Visual Studio 2008 to our font, I receive the following error: Only TrueType fonts are supported. This is not a TrueType font. The font selection dialog shows our font, and double-clicking the font in the Windows fo...

Can VS2008 Testrunner run MbUnit tests or not?

Ok, so I keep seeing how VS2008 has this nice unit test display and I can see people running NUnit tests within it on Dimecasts.net and this article seems to imply that MbUnit v3 should have support for using visual studio's test runner. And yet I can't get it to recognize my tests. Has anyone else been able to get Visual Studio to run...

Code is only executing in the debugger - MS Visual C#

I'm using Microsoft Visual C# 2008 Express Edition. (And I apologize - this is more of a MS Vis C# usability question than a strict programming question...) I wrote a little program. when I run it in MS VC# with the debugger, all is well. When I use the "click Once" to generate something to deploy (I'm using the "from a CD-ROM" optio...

Coderush and resharper, do they work together?

anyone have any experience of using them together? How well does it work? or is it just too much grief? ...

Hide/Block uses from accessing/downloading files/folders in a VS2008 Solution with TFS?

Hi folks, is it possible to hide/block files/folders in a VS2008 solution from various users (by their NTDomainName) if the solution is under TFS? I have some files and a folder that contains secret info (eg. release.web.config, etc) which i need as part of our RELEASE builds, but i do not want some new contractors to be able to see/ge...

Refactoring tool in VS 2008?

At University we have VS 2005 and it has some refactoring tool like rename, extract method, extract class, etc. I have decide to download VS 2008 from MSDN and it has only Rename and Extract method, how can I activate the other? EDIT: I have downloaded Microsoft VS 2008 C# Express Edition. ...

How can I generate a Visual Studio 2008 solution manually?

For a project I am doing I need to manually create a .net project. I am currently using a StreamWriter to create the .sln, .csproj and base (empty for now) class. I am also generating the AssemblyInfo.cs class. I have copied exactly the files and folder structure VS.Net creates when you create an empty windows class library project. For...

How to debug through .NET Framework source code?

I've followed the steps outlined in http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx to enable source debugging of the .NET Framework, and I had it working in the past. Now that I'm using .NET 3.5 SP1, it seems to have stopped working. Beyond the steps in the blog entry I...

Configuring root directory internal ASP.NET server

My ASP.NET always starts like this with the internal server: http://localhost:50793/Website/ I use FckEditor which points to http://localhost:50793/fckeditor How do I configure the server that it servers my folder "Website" as the root? ...

Can't re-add Service Reference Properly

I've got a WCF service up and running on a server. We have a proxy class that we add all service references to, and I tried to add my service reference there. However, it's not exposing all of the methods, specifically the interface, allowing me to create an instance of it (this is VS 2008). However, when I create a new project, and just...

Do you know a managed equivalent to '@eax'?

In the unmanaged development world, you could observe the DWORD return value of a method by typing '@eax' into the watch window of the debugger. Does anyone know of an equivalent shortcut in managed code? Related point: I have learned that VS2008 SP1 supports $exception as a magic word in the watch window. Are there any other shortcut...

Visual studio fails to deploy report to MSRS

Visual studio fails to deploy reports or data sources on remote MSRS instance. Error message is "Unable to connect to the remote server". The server is up and running and TargetServerURL property of the project points to correct url which works in the browser. I googled around but and found a few forum threads discussing the same issue ...

Using breakpoints to debug Javascript in IE and VS2008

I am not able to use the breakpoint in Studio with Javascript. I'm able to debug if I use the debugger; I've seen this Breakpoint not hooked up when debugging in VS.Net 2005 question already. I tried the answer and it didn't work. Looking in the Modules window, V.Mvc.Jobtrakt.PDB is loaded properly, but it points to a temp folder ...

Visual c++ 2008: how to have global settings defined in a solution

I have a number of solutions with a large number of projects in them. I would like to be able to define global settings for the solution that are used by all projects. For example an include directory. I want to be able to change the include directory in one place for all projects in the solutions. When I searched for a solution I foun...