Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
Although the object instantiated it produces an method invoke failed with the following error:
Design time expression evaluation for class libraries requires the Visual Studio hosting process which is unavailable in this debugging configuration. vs2008.
I then rebuild my project and went back into the Tools/Options/Projects and Solutions and check the item again. This time it did instantiate, but I received the following error:
Method Invoke Failed
Details;
An unhandled exception of type 'System.NullReferenceException' occurred in OakLeaf.MM2008.Framework.dll
Additional information: Object reference not set to an instance of an object.
Turns out that I forgot to instantiate the AppTest class first. Once I did that, I was able to instantiate my objects and run a method fine.
Précédent
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