visual-studio-2008-sp1

When adding a reference in a VS2008 C# form project, does Visual Studio copy the referenced assembly

into the project directory? Or does it simply reference the dll where it exists? My assumption was that when you compile, it copies to dll into the local bin/debug(release) directory. I am running into some issues with a project at work involving missing third party component dll's and I am a little confused, so I'm not sure how to pr...

Visual Studio 2008 - Stuck while running, says "unable to break execution" when I try to debug

Hi all. I'm running a C# program on Visual Studio 2008 It freezes at some point, and when I try to pause for debugging, VS2008 freezes also. when I close the program console window it pops up a "unable to break execution" message box. When could be the cause of this? Thanks Roey ...

Loading DataTable into SP

I have SQL Server 2008 and VS 2008 Pro. And I am coding in C#. I accept a text input file from the customer and I parse this data into a DataTable in my C# aspx.cs file. I know that this is working correctly. So I populated the DataTable. But now how do I load this data into an SP? Like can I use a dynamic table parameter? Or shou...

Is there a "back" button/hotkey for navigation in Visual Studio 2008?

I jumped to a line in a code file in Visual Studio using "Go to definition". I am now lost in the file and I want to go back to the line I was at before. How do I do it? ...

How to make [DebuggerDisplay] respect inherited classes or at least work with collections?

I've got a class which inherits from a List<MagicBean>. It works well and as expected in all respects except one: when I add the [DebuggerDisplay] attribute. Even though looking at List has its as [DebuggerDisplay("Count = {Count}")], if I so much as copy and paste that onto mine, I lose the ability to look directly at all of the MagicBe...

C# Custom PrintDialog PInvoke DevMode Question

Good Day, According to the following page: http://msdn.microsoft.com/en-us/library/ms646964(VS.85).aspx underneath the first graphic, "If the user clicks the OK button, PrintDlg returns TRUE and the PRINTDLG structure to return informmation about the user's selection". In this case, my custom print dialog is nearly working, but I'm t...

How to change the working directory while debugging in Visual Studio ?

I have a windows form project in Visual Studio that reads configuration files from an other project in the same solution. Once deployed this application will run from the root folder for the solution and the files will then be read from something like "/Project1/connection.config". When I however debug the forms application and get the ...

How to write to .InstallLog during Windows Service installation

I'm using C# with .NET 3.5 SP1 in Visual Studio 2008 SP1. I have a .NET Windows service that I install using the technique described by Marc Gravell here. This solution simply bypasses the need to use the InstallUtil executable directly, meaning that I do not have to include it in my InstallShield project. When the service is first in...

How can I tell if I have Visual Studio 2008 SP1 installed?

I installed a new machine and am using an iso file that was provided to me by my employer (en_visual_studio_team_system_2008_team_suite_x86_dvd_X14-26461.iso). I was wondering how I know whether I need to install the latest service pack for visual studio, or whether it is already installed from the .iso file. Thanks! ...

Did Visual Studio 2008 SP1 introduce runtime bugs or am I crazy?

I've been wracking my brains out trying to figure out what the heck is going on with the most recent (non beta) Visual Studio 2008 SP1: My app built with OpenMP runs incredibly slow in the debugger, bringing CPU usage to 100%. When they are run outside the debugger, it merely runs slowly (for a release build). My app built with the Int...

Location of Visual Studio 2008 SP1 After Installation

I recently did an online installation of SP1 for VS 2008, where installation of VS 2008 + .NET 3.5 SP1 didn't provide me with templates for the Entity Framework and others. I now have to move VS 2008 to another machine, and I don't want to wait out a 500MB download again. Is there anywhere I can find the package downloaded by the downl...

The standart tool box disseapeared on visual studio 2008 Sp1 ?

I have had Visual Studio Team System 2008 and I have upgraded it to Visual Studio Team System 2008. But, after installation, the standard tool box have been diseapeard. How could I make it visible/enabled again to use the drag and drop feature of VS 2008. Regards BK ...

VS2008 SP1 Lost Javascript Colorization and Intellisense

Hi everyone, I'm hoping this is a simple fix. I'm using Visual Studio 2008 and recently had to install SQL Server 2008 enterprise edition on my local computer. One requirement was that Visual Studio 2008 SP1 needed to be installed, so I installed it. After that, SQL server installed just fine and I can now use it. However, now, I seem t...

ClickOnce, Skip asking for update (or fail lauch if skip is selected)

I update my ClickOnce app and then when the user runs they are asked if they want to install the new version: I am working in a highly controlled environment. When an update is available it has to be installed (backwards compatibility with the database is not ensured with old versions). Another option is to fail the run if skip is p...

Pluralization service in Entity Framework - Visual Studio 2008?

Does any one know if there is kinda implementation/addon for VS 2008 SP1 for pluralization service in entity framework like there is gonna b in vs 2010? example: In database: Entity Order ---OrderId ---CustomerId ---OrderDate Entity Customer ---CustomerId ---Name In EDM: Order.Customer Customer.Orders DataContext.Orde...

"Exception has been thrown by the target of an invocation" Running Tests - VS2008 SP1

I'm using Visual Studio 2008 Team Suite and I'm unable to run tests and display the Test/Windows/Test Result Window. The result is a dialog box with the following content : "Exception has been thrown by the target of an invocation". Team Explorer has been installed after Visual Studio 2008 SP1. So I have re-apllied the service pack. S...

How to add enum properties to a WebControl

Edit: It looks like it might be a Visual Studio issue. If I restart Visual Studio it works until I rebuild the solution. I'm getting an "'B' could not be set on property 'MyMode'" exception in the designer when using this code: public class MyControl : CompositeControl { public enum MyEnum{ A, B } [DefaultValue(MyEnum.A)] public...

Compiling Qt app agains latest VC++ 2008 runtime

Hi I have a problem compiling my Qt app with Visual studio 2008 SP1. For the sake of purity I created a windows XP virtual machine, installed VS 2008, then SP1 and then compiled Qt 4.6. Now from looking at the manifest of the Qt DLLs (using XN Resource Editor) I can see that they depends on 9.0.21022.8 CRT. But at the same time the lat...

VS2008 SP1 install failing on Vista

I did this before but and it always worked - but now I am installing on my Vista 32 laptop. It goes almost to the end but then fails, here's the log: Exe (C:\Users\JOHN_I~1\AppData\Local\Temp\Microsoft Visual Studio 2008 SP1\VC_x86Runtime.exe) succeeded. Log File: dd_VC_x86RuntimeMSI0AFE.txt Log File: dd_VC_x86RuntimeUI0AFE.txt Exe...

VS2008 jQuery Intellisense not working - (jquery-1.4.1.js)

Hi folks, I have searched on google, followed scottguthrie's article & also here on SO for a solution but to no avail. My environment consists of VS2008 SP1, including hotfix for JQuery intellisense. I have downloaded 'jquery-1.4.1.js' & also 'jquery-1.4.1-vsdoc.js' from the jquery website. Referenced it in an 'HTM' file like this: <sc...