Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Assembly Not Referenced
I am getting an error
The type 'OakLeaf.MM.Main.Business.mmBaseBusinessObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mere Mortals Framework 2005, Version=2.0.0.0, Culture=neutral, PublicKeyToken=511bd18e16c7f771'.
When I try to build one of my projects. Obviously, it is telling me I haven't referenced the MM Framework. I have it referenced. When I remove it, I get an error for each form complaining that the using statement for OakLeaf.MM.Main.Business is not found ("are you missing an assembly reference?").
When I have the MM Framework referenced and remove the using OakLeaf.MM.Main.Business statement I get an error that mmBaseBusinessObject could not be found and the hint on the line suggests adding the reference. I do, no improvement.
I've had this problem several times and usually fiddling around and adding and removing references eventually solves the problem. I doubt it's a MM thing, but this is where I keep having the problem.
I seem to recall Kevin mentioning this problem in the MM Training I just completed, and going through my notes, I seem to have neglected writing down this rather important piece of information.
Thanks for the help,
Jeff
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