visual-studio-2008

NUnit and Visual Web Developer 2008SP1 - Integration problems

Hey all, I've decided to integrate NUnit with VWD2008. I did the following- 1) Installed NUnit - Ran a Sample project that was included with the installation all the tests were fine. 2) Installed TestDriven.Net 2.0 - Personal distribution. 3) I have written on an MVC Project a test and when I try to right click the context and run the ...

Brace highlighting in Visual Studio for Javascript?

Is there a way to get Visual Studio 2008 to do matching brace highlighting for Javascript? If there is no way to do it in Studio, can it be done using ReSharper? Thanks!! ...

How do I display a tooltip for a CMFCRibbonButton in the status bar?

I have a CMFCRibbonStatusBar in my mainframe to which I add a CMFCRibbonButtonsGroup which again has a CMFCRibbonButton. This button has the same ID as a menu entry. Creating the button is done as follows: CMFCRibbonButtonsGroup* pBGroup = new CMFCRibbonButtonsGroup(); CMFCToolBarImages images; images.SetImageSize(CSize(32, 16)); // N...

WCF Behavior Extension Elements Not Recognized in Visual Studio

This question is related to the question posted here: http://stackoverflow.com/questions/169342/why-isnt-my-custom-wcf-behavior-extension-element-type-being-found I'm using the WCF Behavior Extension with Custom Credentials demonstrated on MSDN here: http://msdn.microsoft.com/en-us/library/ms730868.aspx The only difference is that I'...

Visual Studio designer error.

I'm getting this error on a compact framework form. "code generation for property 'inputControl' failed. Error was: 'object reference not set to an instance of an object.'" Anyone have any idea why? It just started and was never an issue before. ...

How can i build a visual studio solution using xbuild (from Mono)?

I recently downloaded Mono 2 for my new MacBook. I'm trying to figure out how to compile Visual Studio solutions with xbuild, which is included in Mono. Any ideas? ...

how to install boost to the VS 2008?

I`ve almost completely install Boost but I have a problem which is how to set path to Boost in Tools->options->projects->VC++ Directories. I`ve written the path to include files and libraries (my folder contains of two subfolders which is 'lib' and 'include'), but when I try to use Boost include boost/regex.hpp> I got this linking err...

Tunneling proxy on VS 2008.

Is there a way to tunnel a proxy to access a remote sql server database on visual studio 2008? I'm working in a project at college that uses a sql server database but the access is restricted to the internal network. I'd like to access the database from my home too. Thanks in advance. ...

How do you undo a folder move in Solutions Explorer in Visual Studio with SVN?

I accidentally moved a very important and large folder from the root project into a sub-folder. Now when I try to move the folder back, it gives me an error message "Cannot create a file when that file already exists." How do I move things back? Additional Information: I am also under SVN and now it wants to start a new log tree. I j...

Script Debugging Not Working (VS 2008)

I recently installed VS 6.0 after installing VS 2008 and overwrite JIT settings .. when i started VS 2008 option dialog .. it said another debugger has taken over VS 2008 debugger and I asked me to reset .. so I did .. Now everything works fine except javascript debugging. I am unable to debug javascript .. I can set breakpoint .. but i...

Visual Studio colors not loaded correctly

I use a custom color scheme in Visual Studio (black background, gray text, etc.). There a few settings that refuse to change, however. For example, when cursoring through the markup for an aspx page, the current tag defaults to black text, which doesn't work well on my black background. I've previously changed the appropriate setting to ...

How to find amount of parameters in a constructor.

I'm trying to find a way to determine how many parameters a constructor has. Now I've built one constructor with no parameters and 1 constructor with 4 parameters. Is there, in C#, a way to find out how many parameters a used or given constructor has? Thing is, I'm using a third constructor to read log files. These logs files are read...

Can Ctrl+Backspace be made to work in VS2008's Solution Explorer?

I'm working in an ASP.NET MVC Beta 1 project, and I've noticed that if I want to rename a file in the Solution Explorer pane, Ctrl+Backspace does not do what it should (delete the closest "word"), and I get a silly box character and annoyed. I'm doing this rather a lot as I'm using jTemplates, so rather than train myself out of using th...

How can I avoid automatically attaching to T-SQL for debugging in Visual Studio 2008?

When debugging web sites that I'm working on, I tend to use Attach to Process rather than F5 to start debugging (since the site's already on in Firefox). However, occasionally when doing so, I'll get the following error: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'. I know this is caused by att...

Deploying an application to Windows Mobile Pocket PC

Iv been encountering problems with disk space when deploying my app to a pocket pc emulator. So what Iv done is set up a shared directory on my pc to simulate a SD card, Iv copied the program there manually and then run it from the emulator, with this approach I still need to do the visual studio deployment as well so that so that the ....

Configuration Manager only shows Debug

I am working in Visual Studio 2008 on an ASP.Net application, which has been deployed to a test server. I would like to make a build without debug information to place in production, but the configuration manger only shows "Debug" in the configuration dropdown for my project. My other VS projects show "Debug", "Release", "New...", and ...

Visual Studio 2008, no longer see the Refresh item on right click

Hi, I used to be able to right click Folders in my project and click 'refresh' to refresh the files within them, I don't see the option to do this any more, how do I fix it? The same thing has happened at work and at home.. has it always been like this and have I gone insane? ...

Unmanaged C++ libraries - differences between VS2005 and VS2008?

Hi, I'll preface this by saying I'm a C# programmer who inherited horrible code with no documentation. I have an unmanaged C++ library wrapped with managed code that worked fine in VS2003 with .Net 1.1 Framework. I'm trying to get it upgraded to at least .Net 2.0. I have the unmanaged C++ library that was compiled with "MSVC 8.x" (thu...

Is there a difference between a good development video card and general gaming video cards?

For reference, this would be for Visual Studio 2008 with a fair amount of WinForms working with the VS Designer. Given the same price bracket, would there be certain specs you look for in a development rig vs what one would get for a gaming machine? Edit: The reason I ask is on my laptop that I can run low-mid end games decently on, th...

500 Error Running Visual Studio ASP.NET Unit Test

I have the following method in my unit test project: [TestMethod] [HostType("ASP.NET")] [UrlToTest("http://localhost:3418/Web/SysCoord/ChooseEPA.aspx")] [AspNetDevelopmentServerHost("%PathToWebRoot%")] public void TestMethod1() { Page page = TestContext.RequestedPage; Assert.IsTrue(false, "Test ra...