visual-studio-2008

Can I fix the VS Debugger trying to connect to unconnected mapped drive.

When I have an unconnected mapped drive, the VSTS 2008 SP1 IDE debugger takes about 10 seconds to regain control. Needless to say single stepping is painful. Is there some setting to make this go away? I am debugging a mixed( C# / C++ / Web services ) program. More details: The program does not use the mapped drive at all. I use th...

How do I set a Data Breakpoint in mixed( C#/C++ ) debugging?

I launch my program in C#, which then calls some unmanaged C++. When I break on a line in the unmanaged C++, the 'New Data Breakpoint' menu item is grayed out. Is there anyway around this? ...

Why do I get a security warning in visual studio 2008 when creating a project?

This is the error, it's basically a security warning (And here's the text grabbed off the dialog box) Security Warning for WindowsApplication4 __________________________I The WindowsApplication4 project file has been customized and could present a security risk by executing custom build steps when opened in Microsoft Visual Studio. If...

400: BadRequest with .Net Mass Downloader 1.5.0.1

Has anybody else had trouble with getting the .Net Framework source code? Google doesn't have anything to say about this error message, and neither does the CodePlex issue tracker. Here is the command I'm using to get the source code for the modules that make up mscorlib.dll. Am I doing something obviously wrong? NetMassDownloader.ex...

Help! Visual Studio 2008 just stopped stepping during debugging!

Hi, Big problem. I'm not sure what it was that I did, but it seems that I can no longer debug into functions. It happens in no particular place, just all throughout the code. I set a breakpoint, and then try to "step over" in order to go to the next like of code. Now, the debugger seems to interpret that as "continue". Even better!...

Is there a 'scratch pad' window in Visual Studio 2008

I currently use notepad to store little notes to myself about my code. This is usually a mixture of code and requirements. Is there a 'scratch pad' type window in VS2008 where i could do this. The other alternative is to use code comment blocks in the source files, but that's not quite what I'm looking for. ...

Quickfix for C# problems in VS2008

Dear all, is there something like a Quickfix in Eclipse IDE available in VisualStudio 2008? Thanks, Okami ...

VS2008 Express: How to save as UTF-8 all files by default?

Hi, Is there any way to make Visual Studio 2008 Express store all the files as UTF-8 by default? Thanks for your time. Best regards. ...

Bug in intellisense - how to report to Microsoft?

I found a bug in the method stub generation of Visual Studio intellisense. class A { } class B : A { A a; void f() { a.NewMethod(); } } When I choose "Generate Method Stub" on a.NewMethod(), I should get a public method. Instead, intellisense confuses itself and creates a protected method for me. The compiler correctly compla...

Problem to porting managed c++ from vs2003 to vs2008

In trying to port my managed c++ project from vs2003 to vs2008. I have added oldSyntax flag. But I still get error sourceanotations.h. ...

How do I launch an application after install in a Visual Studio Setup Project

I have created a setup project using Visual Studio 2008. After the application is finished installing, I would like to have it start up immediately. Any thoughts on how this can be done? ...

Class Constructor never executed in release mode.

Exactly what the title says. I'm using MSVC++ 2008 express, and my class constructor is never executed when compiled in release mode. It DOES work in debug mode. I am doing something like: ClassTest test; test.DoIt(); Breakpoints on DoIt(); trigger, but breakpoints on ClassTest::ClassTest(); do not. ...

What is new in Visual Studio 2008 vs 2005 or C# 3.0 vs C# 2.0?

I was browsing the Hidden Features of C# question and thought I would try out one of the features I was unfamiliar with. Unfortunately I use Visual Studio 2005 and the feature in question was introduced later. Is there a good list for new features in C# 3.0 (Visual Studio 2008) vs. C# 2.0 (Visual Studio 2005)? ...

Changing Output path of the Unit Test project in Visual Studio 2008

I changed the output path of the test project, because the default path doesn't conform to our projects directory structure. After I did that, Visual Studio 2008 fails to run the tests, because it can't find the Unit Test project assembly. What else do I have to change for the Unit Test Engine to find the assembly? ...

Is it possible to deploy and debug PocketPC applications in the SDK emulators without using ActiveSync?

Im currently working on a PPC application that I would like to test in the PPC emulator "USA Windows mobile 5.0 PC R2 Emulator" without using Active Sync. Somewhere in my back head I think I have been able to just do that: But when I start a debug session with Visual Studio, it can not deploy the application to the emulator. All I get in...

Can I run Visual Studio 2008 x86 on Windows Vista x64?

Hi, Is it possible to run the 32-bit version of Visual Studio 2008 Professional on a Windows Vista 64-bit system? Are there any known caveats that I would need to be aware of? Would have to install the x64 version of the .NET Framework? Would there be any issues on building software targeted for x86? Would there be any (justifiable) ...

How to create XML/XSD equivalent of a DataSet or DataTable in VS2008 (or other tool)

So today I had to move some tables with data from an MS Access database into XML to be used in a web application. So I thought it would be an easy process to define the table structure as an XSD file in Visual Studio, then load in the data (for the sake of simplicity, lets say I would type it in). Well for the life of me I can't figure...

Fetching items which has a specific set of child elements (advanced query - possible?)

Hi, I have a SQL database (SQL Server 2008) which contains the following design ITEM ID (Int, Identity) Name (NVarChar(50)) Description (NVarChar(200)) META ID (Int, Identity) Name (NVarChar(50)) There exists a N-N relationship between these two, i.e an Item can contain zero or more meta references and a meta can be associated ...

Displaying unit test results in VS 2008

I am a rookie was using the Visual Studio 2008 built-in Unit Testing components, what would be the best way to record or display your results in a unit test? I want to test my service method when it returns a System.GUID and an empty System.GUID [TestMethod] public void GetGUID() { MyWcfServiceService.MyWcfServiceClient proxy = new ...

Web test to edit a SharePoint pages properties using Visual Studio Test Suite

I am using visual Studio 2008 sp1 to try and create a web test that will allow me to edit a page using the EditForm.aspx. I am trying using fiddler and the recorder. I have managed to get some test to run, but they do not change the properties. Anyone have any tips on how to do this? ...