Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Mysterious AAppTestFactory()
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement