Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mysterious AAppTestFactory()
Message
De
27/08/2009 11:12:44
Alvin Schmucker
Choice Books of Northern Va
Virginie, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Mysterious AAppTestFactory()
Divers
Thread ID:
01421179
Message ID:
01421179
Vues:
118
I just purchased a copy of MM.Net 3.5. I am working through the Creating Business Objects - C# Jump Start. I am on Step 7: Testing the Order Business Object.

When I try to instantiate the AAppTest class in the test bench, I get Create Instance Failed - The expression could not be evaluated because a build error occured.

Visual Studio is now complaining about this line of code in the AAppTest:
mmAppBase.Factory = new AAppTestFactory();

It says:
Error 1 The type or namespace name 'AAppTestFactory' could not be found (are you missing a using directive or an assembly reference?) C:\MM.Net Jump Start\Order System Business Objects CSharp\AAppTest.cs 39 28 Order System Business Objects CSharp

I have added all of the Mere Mortals assemblies as references to my project, and even added using directives for all of the mm.net namespaces. Still no joy.

I have followed the note in the help file about checking the Show advanced build configurations check box in Tool>Options. I have rebuilt the solution and the project, closed and reopened Visual Studio. Still no joy.

What is going on here?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform