Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mysterious AAppTestFactory()
Message
From
27/08/2009 11:12:44
Alvin Schmucker
Choice Books of Northern Va
Virginia, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Mysterious AAppTestFactory()
Miscellaneous
Thread ID:
01421179
Message ID:
01421179
Views:
119
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?
Next
Reply
Map
View

Click here to load this message in the networking platform