Todd
Todd

Reputation: 339

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

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

Upvotes: 13

Views: 10350

Answers (1)

Christopher Rathermel
Christopher Rathermel

Reputation: 935

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.

Upvotes: 7

Related Questions