visual-studio-2008

Visual Studio causes blue screen

On one of our development machines with Visual Studio 2008 SP1, whenever the developer closes Visual Studio, the machine goes to Blue Screen of Death. Has anyone experienced this problem or know of a solution. Thanks Shiraz ...

NUnit tests in a separate project, same solution

I have a solution containing my main project and a test project using NUnit. Everything compiles but when I run NUnit I get the exception below after the tests load, and the tests fail. I've added the main project as a reference, and I have $(ProjectDir)bin/Debug/$(TargetName)$(TargetExt) in the arguments for NUnit in the external tools ...

In Visual Studio, how do you make a specific window open during a build?

Hi Everyone, I've recently become a fan of the VSBuildStatus Visual Studio add-in which shows the status of your build in a nice graphical way. Its much more informative than the current progress bar or "Output" window. However, I can't seem to find an easy way to make it pop up during the build, then hide itself when done, which is s...

remove CSS Link / update paths with jquery/javsscript? (Design time CSS)

Hi there, does anyone know if its possible to remove a css link at run time... Basically i have partial HTM files in a directory so hence if i add a css link (so i can use my design time editor) then this link isn't valid at runtime and i don't need it as my CSS is in another file. I just want to be able to strip it out when i load it ...

Visual Studio 2008: How to publish a website and what are the requirements. It's my first time so please send me detail instructions.

How to publish a website and what are the requirements. It's my first time so please send me detail instructions. ...

Is there a way to delete an output file in a post-build event.

I'm trying to run a post-build batch file on a .NET build that encrypts an output file, deletes the original and then renames the encrypted version to the original output filename. i.e.: Build A, then in post-build: Encrypt A->B DEL /F A RENAME B A I can't seem to delete the original output file after encryption though as it seems lik...

Is there a way to collapse javascript or CSS in Visual Studio 2008

It would be nice to have the ability to create 'regions' in js and css files. Much easier to work with. I couldn't find anything on Google about this, but even Dreamweaver can do this. thanks! ...

"detach all" vs "stop debugging"

When using the "Attach To Process" feature in Visual Studio 2008, what is the difference between "detach all" and "stop debugging"? ...

visual studio 2008 not responding when checking out items from source safe

i have an interesting problem. whenever i try to checkout items from source safe through VS 08 interface, the app stops responding. a weird thing is, i can check out project items from the business layer but not the web site items from the web layer. i'm having to manually check them in/out from source safe. i know this isn't much info, ...

Visual Studio 2008 crash on 'Add Items to Folder'

No luck at MSDN with this one, which is driving me nuts. I us VS Team System 2008 (w/ Resharper). Everytime I press the Add Items to Folder button in the Source Control Explorer VS crashes....no error in the App Event log, no crash report popup. Fortunately I also have VS 2005 (also w/ same version of Resharper) on my box which I can A...

AnkhSVN - Latest Version

What do you guys think of the new Ankh SVN /w Tortoise SVN? This is my first time using source control and all I used it for was the very basics. It worked well... At first... Somewhere along the way everything got really screwed up and I had to uninstall it. It seems like you have to use it a certain way or everything will screw up.....

Do we need to install Intermediate Code Signing cert for full trust XBAP/ClickOnce app?

We are creating a Full-Trust XBAP application and it needs to be installed/executed remotely outside of the customer's domain. In order to accomplish this we have purchased a Thawte code-signing certificate. We have used the spc and pvk from Thawte to create the pfx file for code-signing in VS 2008 on our XBAP. We import the pvx/cer...

How does WINVER or WIN32_WINNT affect operating system version as shown by dumpbin

We have an existing (old) codeline that we have recently converted from VC6 to VS2008 (converting to VS2005 along the way). After our conversion, all (or most) of our vcproj files set WINVER to 0x0500 via the Preprocessor Settings. In quite a few of our precompiled headers (typically stdafx.h), WINVER is set to 0x0500 (some still set i...

I can no longer debug classic asp code with visual studio 2008

I've finally found a way to debug classic asp code in visual studio 2008 ... but... http://stackoverflow.com/questions/958968/has-anybody-been-able-to-debug-asp-classic-code-with-visual-studio-2005-or-later ... but ... it only lasted a few days... I'm following these steps http://www.codeproject.com/KB/debug/DebugVBScriptVS2008.aspx...

Turn off Tag Navigator in VS2008

Hi, I've looked everywhere on how to turn off the Tag Navigator at the bottom of my Visual Studio 2008 and can't any info! Since installing ReSharper a group of us have come across a bug where it will reset your mouse cursor to 0,0 when you rollover a tag in the Tag Navigator and since I can't find any info on that bug I just want the N...

creat event source issue

Hello everyone, I am using Windows Server 2003 x64 + VSTS 2008 + .Net 3.5 + C#, the API EventLog.CreateEventSource has two parameters, source and logName. I have two questions, How to call function EventLog.CreateEventSource from PowerShell? What are the meanings of parameter source and logName? How their values are reflected in Wind...

XML Comments for Abstract methods in Visual Studio 2008

hey guys Say you have an Abstract Class with Abstract methods, and you place XML Documentation Tags on those methods. When you inherit from that class, and implement those methods, intellisense does not "inherit" the XML Documentation...? Does anyone know if its possible to make the IDE inherit the documentation? if not, don't you th...

Can't output Debug.WriteLine("test")

I wrote following code Debug.Listeners.Add(new TextWriterTraceListener(Console.Out)); Debug.AutoFlush = true; Debug.Indent(); Debug.WriteLine("test"); Nothing is output in output window What's wrong? ...

MSI behaves differently after conversion to VS2008

After converting the solution to vs2008 from 2005, my msi started behaving differently. Not all the dlls get ovewritten and if I launch the msi from another process (with createProcess) it fails (saying smt like 'a package returned an unexpected value') and the installation rolls back. I understand this is kind of a common problem and...

Paste code into Word from VS without line numbers

When I cut and paste code from Visual Studio 2008 into Word 2007, it includes line numbers at the start of every line. I am sure this didn't happen on my old PC, but I can't seem to find the option that would control this. I don't want to paste as unformatted text, because I want the syntax colouring. UPDATE: This was me being really s...