sougatamondal / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

Class Migrator has the same name as the Assembly Migrator: issue with Wpf #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I've started creating a Wpf runner (namespace: Migrator.Wpf) and I was 
getting the following error message in the App.g.cs file:

The type name 'Wpf' does not exist in the type 'Migrator.Migrator'  

That because the autogenerated code of App.g.cs is:

        /// <summary>
        /// Application Entry Point.
        /// </summary>
        [System.STAThreadAttribute()]
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static void Main() {
            Migrator.Wpf.App app = new Migrator.Wpf.App();
            app.InitializeComponent();
            app.Run();
        }

As you will see if you try to create a Wpf project with this name space, 
Migrator in the code above is considered as a Class and not as a namespace.

Original issue reported on code.google.com by EHRET...@gmail.com on 24 Feb 2009 at 3:21