visual-studio-2008

View XML to be sent over web reference via Visual Studio

Could someone tell me how to view the XML to be sent via web reference while debugging Visual Studio (i.e. see the actual XML with all tags too?) I'm having a "There is an error in this XML Document (4, 56)." error. Any help would be much appreciated. ...

plld Prolog C++

I have a large Prolog program with lots of predicates. I need to connect to this Prolog code from C++ (VS2008) to obtain certain query results. So I am not trying to embed Prolog in C++ as a logicasl engine, but for my C++ program to connect to my Prolog code, consult (compile) it, obtain query results, and pass them back to C++. Runnin...

Can Visual Sourcesafe 2005 generate a COMPARE report for all files in a project

I am using Sourcesafe 2005 in a 3-project solution using Visual Studio 2008. The ONLY thing I really like about this source control tool is the COMPARE operation which shows the DIFF at a selected File level. Is there any way to get something like this for multiple files at a time (e.g. all files in a project)? ...

Remove all comments from VB.NET source code file

Is there a macro in the Visual Studio editor to remove all comments from a VB.NET source file? ...

TFS webtest for SSRS reports issue

I am creating webtests in TFS and trying to test reports execution in SSRS. When I record the initial process, it includes Reserved.ReportViewerWebControl.axd files. These files are what is causing the problem. When I remove the files, the report does not display, however if I keep the AXD files in it works fine. The problem with keepi...

UISpy in Visual Studio?

Does Visual Studio .NET 2008 come with UISpy? I ask this for for the reason that my copy of VS installed, but everything else pretty much errored out and I want to know if I need to fix it for UISpy (not worried about compact framework or device emulators). Thanks. Edit: As noted below, I saw it is part of the SDK, but was wondering ...

Running Visual Studio 2005, 2008, and 2010 on same system.

I have around 50 projects in Visual Studio 2005 that I am building a new development machine for and I'd like to slowly move those projects to VS 2008 but also have 2010 available for select new projects. Can this work? Are there any gotchas for this sort of setup? Any general advice for running multiple versions of Visual Studio on the...

How can I get a custom made set of checkboxes return values in the postback?

I have the following in an aspx page: <td colspan="2"> <% DisplayParties(); %> </td> In the code behind for the aspx page, i have this (e.g. I build HTML for the checkboxes): public void DisplayParties() { var s = new StringBuilder(); s.Append("<input type=\"checkbox\" id=\"attorney\" value=\"12345\"/>"); s.Append("<i...

How do I start a second console application in Visual Studio when one is already running

Hi All, I am working through some examples in a WCF book. There is a Host project and Client project within a single solution. Both are console applications. The Host is the startup app, but the Client app doesn't seem to open the Console like the book says. Book says while the Host is running, run the Client. The Run button is disabled...

What's Differences Between Using Entity Framework in Vs 2008 And 2010

You know firstly Entity Framework came with Visual Studio 2008 SP1. Now it is come with Visual Studio 2010. The question is that, what are differences between these two version? ...

Remove Setup Project does not delete it from file system using Visual Studio

Using Visual Studio 2008 - I add a Setup project (from Setup and Deployment Template) and its called by default Setup1. I then decide I don't want this so I right click on the project and select Remove. Later on I decide I want to add a Setup project again but it's default name is called Setup2 and when you look at the project folder yo...

open visual studio 2008 through the location link in fxcop

Hi, I have created a class library in Visual Studio 2008. Now, I need to run the code analysis. I have used fxcop for this. I added that class library dll into the target and run the code analysis. When I go to the Analysis window and click on the target location link to open the that specified file, it's open that file in the visual stu...

No Debug Info in WiX Managed Custom Action using Visual Studio integration

I have managed to create a custom action in C# using MakeSfxCA which is mostly working. However, there is some kinks which needs debugging to sort out. (The "printf-debugging" just is not enough.) However all debug info is lost. When MakeSfxCA is called from the Visual Studio project the .pdb-file is not passed as an argument, so no de...

Spring.net is not injecting chained base class properties!

I am successfully injecting base class properties with spring.net with just a class that inherits from a base abstract class. Lets say Class MyClass : MyBase, and I am successfully setting a property like this: <object id="myInstantiableClass" type="myAssembly.MyClass myAssenbly" abstract="true"> <property name="MyBaseClassProperty"...

Exporting dataset to Excel file with multiple sheets in ASP.NET

In C# ASP.NET 3.5 web application, I need to export multiple datatables (or a dataset) to an Excel 2007 file with multiple sheets, and then provide the user with 'Open/Save' dialog box, WITHOUT saving the Excel file on the web server. I have used Excel Interop before. I have been reading that it's not efficient and is not the best appro...

VS2008 VB project - Changing application type automatically adds references

Visual Basic Create a new project with the Empty Project template (Visual Basic -> Windows) Go to the project properties, and change the Application type by choosing something else or reselecting Windows Forms Application. When reselecting, Visual Studio will automatically add references to System.Deployment, System.Drawing and System...

Visual Studio Setup Project Installer Prerequisite for SQL Server CE

I have a Setup Project in my solution in Visual Studio 2008 SP1. The application installs fine but it is not loading my prerequisite of SQL Server CE. I have the following configurations set: Do I need to do anything else, like with a Custom Action or anything like that? Thanks. ...

Cannot currently modify this text in the editor. It is readonly.

In VS2008, in a VB.NET windows (WInform) app, I suddenly seem to not be able to edit the code and continue in this project. In Tools-->Option, Edit and continue is checked. What else can I look for? The files I am trying to modify are not Read only. ...

Project setup for an ADO.NET/WCF DataService

I'd like to implement a ADO.NET/WCF DataService and I am wondering what's the best way to setup a project in VS2008 SP1 for this purpose. Currently I have an ASP.NET web application project (not of "WebSite" project type). The data access layer is an Entity model (EF version 1) with SQL Server database. I have the Entity Model in a sepa...

Visual Studio 2008 "Publish" option generates some empty folders

When I right click an ASP.NET MVC solution and select the "Publish" option, the final output it generates contains several empty top-level folders. For instance, the "Service References" folder that gets automatically added when you add a service reference to a web app is generated without any files in it. Why are these folders generated...