visual-studio-2008

Do Unit Tests target Multiple Cores in Visual Studio?

As our unit test numbers increase we are finding it increasingly difficult to continually run all the tests on our developer machines. Does anyone know if Visual Studio 2008: natively targets multiple cores doesn't target multiple cores automatically, but it's configurable doesn't target multiple cores at all ...

Visual Studio, Intel Visual Fortran, and Visual C/C++ mixed-language compile

Working with Visual Studio 2008 Pro, with Intel Fortran compiler v11, on Windows 7 x64. I have an Intel Visual Fortran project set up with all the fortran source files. I wish to gradually replace all these subroutines with C/C++ (actually cuda -- bonus points). Simply right clicking on source files in the solution explorer and "add exi...

Enable Windows Cleartype for MFC text controls created at runtime

I have a MFC dialog program in which I create a few CStatic and CEdit controls at runtime. Somehow the text in these controls aren't Cleartype enabled (Cleartype in Windows smoothes texts by sub-pixel positioning and coloring). However, when one manually adds an "Edit Control" or a "Static Text" control at design time from the Visual St...

How can I put files in the user's local application data folder in a setup project?

I'm working with a visual studio 2008 - You get access to a number of special folders to use if you want to include files within. One I don't see on the list is the user's local application data folder. Is there anyway to put files in that folder from within a VS2008 setup project? ...

Visual Studio 2008 Express Edition - line numbers not appearing?

In Visual Studio 2008 Express Edition, the numbers no longer appear next to the lines. I've looked in the settings and I can't find anything. Any ideas? ...

C++ stack overflow - visual studio 2008

I declared and initialized an array having [100][1000][1000] char elements(100MB), it didn't say about a stack overflow at the first time.But when I running it after a while it throws a Stack overflow exception! I increased the -Stack Reserve Size- to 200,000,000 in project options->linker->system but it didn't worked! I'm working using ...

VS 2008 Lost all Project Templates

Soon after I tried installing Expression Studio three times, and had to do a system restore each time, suddenly my Visual Studio lost nearly all its project templates (except for Other Project Types). When I try an run a repair off the install disk, it says it cannot load files and is cancelling the install. Anybody have any experience...

VS2008 WinForms Designer: 'Could not load file or assembly' upon startup

I have a WinForms application that references one of my DLLs Mvc.dll via a file reference. The main application form uses a user control SimpleWizard that in turn uses a user control called SimpleWizardList, which in turn references Mvc.dll in its constructor. When starting VS2008, the designer complains Could not load file or assembly...

How to set print margin in Visual C# 2008

Is there a setting in Visual C# 2008 to set a character width at which I'd like to see a margin line in the code editors? I do this in eclipse by: Window --> Preferences --> General --> Editors --> Text Editors --> Show Print Margin, Column = 80 But I couldn't find any print margin setting while searching online or poking around in the ...

Is it possible to write code that will cause long compile times?

I'm working on our continuous integration system, and I'm interested in simulating our systems handling of unexpectedly long compile times. Is there any way to cause the compilation to take a long time to complete? Or perhaps force it into some sort of loop that would take a large amount of time to compile? I'm looking for something as e...

VS2008 Unit Tests: How to include a message with a "success"

Using Visual Studio 2008 for a unit test, one of the unit tests has to do with a basic performance smoke test to make sure additional code doesn't slow down a heavily-used method too badly. Obviously, I want this to fail when the "# per second" falls below a certain value, and of course it displays my message in the Error Message column...

Shortcut for uncommenting CSS in VS 2008?

I used the macro mentioned in this question to comment a text selection in the CSS editor in VS 2008. I am looking for another macro which uncomments comments. ...

Getting a Fatal Error C1083 when converting a project from vc 6.0 to vs2008

I am getting the following error when i converted a project from vc6.0 to vs2008 The error code is Error 1 fatal error C1083: Cannot open source file: 'FpDebug/BalanceGrabber.pch': No such file or directory c1xx where BalanceGrabber is my Project ...

How to prevent auto-closing of curly braces in ReSharper?

A simple question. I'm trying out ReSharper and it closes my curly braces for me as soon as I open them. I really dislike this "feature" and I've had about three long looks through the settings window and I can't seem to figure out how to disable it! Am I missing an obvious check-box somewhere? Edit: The unchecking of "Auto close pare...

where can I download the assembly MPF.Project.NonShipping.dll?

I want to use HierarchyNode class which is in the Microsoft.VisualStudio.Package namespace and the assembly is MPF.Project.NonShipping.dll. There was no assembly on the .net reference or on the COM. I searched for the file, but it was not on the machine. I also tried to google the dll if we could download it, but there was no link, whats...

Visual Studio 2008, WinForms designer type conversion

Hi Got a problem thats driving me a bit nuts here. I have a winforms project containing usercontrols, that use types from another project which is reference by add project. I have checked the references, and they are all fine, there is only one reference from the UI project to the services, and that is by adding a project reference. I c...

Change default output path for VS2008 setup-project?

How do I change the default output path of a VS2008 setup-project? It installs into Program Files\myOldProjectName right now. ...

Vitual Studio Design view working asp.net with CSS

I using an external CSS to control the display of my controls. and It looks messy when I am viewing the page in th Design View of VS2008. So whenever i change a value in my CSS, instead of examining it in design view, i am forced to run the web page, launch my browser just in order to view the changes I made. ...

debug session ends prematurely with vs.net 2008IE8

After upgrading to IE8, I have trouble debugging my web application (using development server). When I hit a breakpoint and start stepping over the code, all of a sudden my debug session ends prematurely. Any clues whats going on, and suggestions to fix this? P.S. I have installed Silverlight Tools and chose Silverlight debugging to di...

Is it possible to "go to next highlight in solution"?

With ReSharper, I can "go to next error in solution", but it seems that "go to next highlight" is limited to the currently open file only. Is this correct, or is it possible to "go to next highlight in solution"? ...