Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in New Project?
Message
De
13/04/2010 12:11:47
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
13/04/2010 12:07:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01459465
Message ID:
01459947
Vues:
36
>It isn't your installation. I get the same thing, it is a leftover in the template for that specific class. You can just delete that User Window and create another one from add new item picking mm WPF Business Window template. You could also fix the template by following the directions in the Dev Guide toward the bottom under Appendix G / customizing the MM Templates.
>Tim


Let me add to this also, it is easy enough to fix the existing UserWindow class and since there is additional MoJo (to Quote Kevin) in there it is probably an easier option than deleting it. Just remove the reference to Acme jumpstart and change the namespace to match what yours is supposed to be.
Tim

>
>>>Hi,
>>>
>>>I am using the MM.NET 3.6 framework and I just created a new MM WPF application. It looks like the MM wizard is mishandling the creation of the UserWindow and is inserting a hard-coded line from a sample or jumpstart application. ???
>>>
>>>It inserts...
>>>
>>> "using Acme.OrderSystem.BusinessEF;"
>>>
>>>and also uses that as a namespace. Is anyone else seeing this? Or have I got a corrupted install or something?
>>>
>>>Guy
>>
>>
>>hmmmm... There is definitely something weird going on. I uninstalled MM .NET 3.6. I also manually drilled into C:\Windows\Program Files (x86) and deleted any remaining vestiges of the folder "Mere Mortals .NET Framework 2008" just to make sure there were no rogue files hanging around from a prior beta, etc. And then I downloaded the latest MM.NET 3.6 from Oakleaf and reinstalled. The problem remains.
>>
>>I create a new C# MM.NET WPF application. In the file "UserWindow.xaml.cs" I get the automatically generated lines below. Notice the reference to "using Acme.OrderSystem.BusinessEF" and the same namespace in the next line. The value I typed in for a namespace was Pardoe.ABC.Test. My test project had nothing to do with Acme.OrderSystem or BusinessEF.
>>
>>Where is that coming from? And why isn't my desired namespace recognized?
>>
>>using System;
>>using System.ComponentModel;
>>using System.IO;
>>using System.Net;
>>using System.Windows;
>>using System.Windows.Controls;
>>using System.Windows.Data;
>>using System.Windows.Media;
>>using System.Windows.Media.Animation;
>>using System.Windows.Navigation;
>>
>>using OakLeaf.MM.Main;
>>using OakLeaf.MM.Main.WPF;
>>using Acme.OrderSystem.BusinessEF;
>>
>>namespace Acme.OrderSystem.WPF
>>
>>
>> < snip >
>>
>>Something is amiss!
>>
>>Isn't anyone else seeing this?
>>
>>Guy
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform