VC# Express 2008 SP1: Unable to start debugger message...related to Remote Debugging and recent Addition/Deletion of a SQL Server Compact dataset from the project
-
I am using Visual C# Express 2008 SP1 on Vista. I right-clicked my project and then clicked, 'Add New Item'. The Add New Item dialog pops up, and I select Local Database. I choose all defaults. I then change my mind and delete the .sdf and .xsd etc files from the project. After making some more changes to the project (a Windows Forms application) I press F5 to activate the Visual Studio Start Debugging command. Whereupon the following message box appears: --------------------------- Microsoft Visual C# 2008 Express Edition --------------------------- Error while trying to run project: Unable to start debugging. The Microsoft Visual Studio Remote Debugging Monitor has been closed on the remote machine. --------------------------- OK --------------------------- I suspect this is somehow related to my including database content in the project, but I am not completely sure. I don't think I've changed any other settings since adding/deleting the database stuff to/from my project. Please excuse this question, and I would be grateful for a hint as to what I possibly am doing wrong. Thank you.
Sincerely Yours, Brian Hart
-
I am using Visual C# Express 2008 SP1 on Vista. I right-clicked my project and then clicked, 'Add New Item'. The Add New Item dialog pops up, and I select Local Database. I choose all defaults. I then change my mind and delete the .sdf and .xsd etc files from the project. After making some more changes to the project (a Windows Forms application) I press F5 to activate the Visual Studio Start Debugging command. Whereupon the following message box appears: --------------------------- Microsoft Visual C# 2008 Express Edition --------------------------- Error while trying to run project: Unable to start debugging. The Microsoft Visual Studio Remote Debugging Monitor has been closed on the remote machine. --------------------------- OK --------------------------- I suspect this is somehow related to my including database content in the project, but I am not completely sure. I don't think I've changed any other settings since adding/deleting the database stuff to/from my project. Please excuse this question, and I would be grateful for a hint as to what I possibly am doing wrong. Thank you.
Sincerely Yours, Brian Hart
In my own experience, no version of Visual Studio really likes you to remove xsd files from a project. Admittedly, I dealt with it last time on version 2003, but after two days of frustration I learned it was easier on the nerves to just start a whole new solution / project, and copy in the relevant code. For what it is worth...
My advice is free, and you may get what you paid for.
-
In my own experience, no version of Visual Studio really likes you to remove xsd files from a project. Admittedly, I dealt with it last time on version 2003, but after two days of frustration I learned it was easier on the nerves to just start a whole new solution / project, and copy in the relevant code. For what it is worth...
My advice is free, and you may get what you paid for.
My workaround was just to attempt another rebuild of the solution, exit VC# and then reboot my computer, re-open the project, and then it built just fine. It worked but it was a pain in the butt. -B
Sincerely Yours, Brian Hart