What does it mean to "Enable Application Framework" for a WPF application?

10k Views Asked by At

I'm creating a WPF application in VB.Net. I am trying to decide where my startup code should go. I seem to have two choices:

  1. Leave the "Enable Application Framework" box checked and choose a "Startup URI" from among the application's windows.
  2. Uncheck "Enable Application Framework" and choose to startup in my own Sub Main.

What are the implications of enabling or disabling the application framework, and why does the application framework restrict my choice of startup options?

-TC

1

There are 1 best solutions below

0
On

The Visual Studio magazine has an article about this. Here's an excerpt.

Visual Basic supports an "Application Framework" that makes it easier to manage the startup, shutdown, and exception management of an application. You enable or disable the application framework with a check box in the Project Properties. The application framework is part of the work Visual Basic does to make your development easier.