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
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