I have created a windows phone 7 custom class library, in that I have created App.xaml and App.xaml.cs files also(I have renamed them as MiEngineApp.xaml, MiEngineApp.xaml.c
You also have to change the App.xaml file. So this will be your MiEngine.xaml
and MiEngine.xaml.cs:
namespace MiEngine
{
public partial class MiEngineApp : Application
{
public MiEngineApp()
{
This will be the App.xaml that inherits from (extends) MiEngine.xaml:
Note the use of the z namespace so that i can reference the base class.
And the codebehind for that:
namespace SilverlightApplication6
{
public partial class App : MiEngineApp
{
public App()
{