VS 2008 Windows Forms project will not start

R

Robert Ellis

Hi

I have created a new Windows Forms project in Visual Studio 2008 (SP1) -
this is running on Windows XP Professional

When I click the "Play/Start" button in the IDE to start the debugging of
the project, the IDE responds by momentarily seemingly to start the project
but then instantly terminates it without showing or loading the startup
form.

There are no compiler errors, no compiler warnings, and almost no code in
the Project

I have placed a break-point on both the New() of the form and the on the
_Load event of the form and neither are hit.
I have placed a break-point at MyApplication_Startup (i.e. the application
startup event) and this is not hit.


The settings of the project are as follows:
-Windows Form Application
-Enable Application Framework on
-Startup form set to the only form that is part of the project

I suspect that this is not a project-specific problem because when I create
a brand new Windows Forms project, the same problem occurs.

I have fully "Repaired" VS2008 and then re-installed SP1 over the top, and
also "Reset" the IDE Development Settings but none of this has helped.
(VS2008 SP1 documents a Fix for an issue that seems a lot like this one.)

I have added a new Module to the project, added a Sub Main() within that,
turned off the Application Framework, set Startup option to "Sub Main" and
added a break point, but the break point is not hit under these
circumstances either, and the IDE behaviour is the same.

I am at a loss here. If anyone has any ideas I would be most grateful

Robert
 
Joined
Apr 4, 2011
Messages
1
Reaction score
0
*bump*

Anyone? I'm having with the vs2008 - c# winform. I've been out of development for a year and have rebuilt my machine. My code is in TFS. This happens with new projects as well.

Seems I've fixed this one time in years past, but don't recall what it was. Anyone recall?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top