Building content threw NullReferenceException

Jan 8, 2012 at 1:12 PM
Edited Jan 8, 2012 at 1:16 PM

 Firstly, I would like to say that I appreciate all the effort that has done by author.

 And I also want to enjoy the great work, so after compiling EngineTest in Examples directory, there is an error occurs.

 I doubt if it is my problem, thanks for reply.

error    2    Building content threw NullReferenceException: Object reference not set to an instance of an object.
   in Phoenix.Xna.Framework.Serialization.Markup.NamespaceCache.LoadAllDlls(String desiredAssembly) in D:\Document\MyWork\XNA\Phoenix XNA Engine\Phoenix.Xna.Framework\Serialization\Markup\NamespaceCache.cs: line 174
   in Phoenix.Xna.Framework.Serialization.Markup.NamespaceCache.GetType(String typeName, XNamespace xmlNamespace) in D:\Document\MyWork\XNA\Phoenix XNA Engine\Phoenix.Xna.Framework\Serialization\Markup\NamespaceCache.cs: line 67
   in Phoenix.Xna.Framework.Serialization.Markup.MarkupSelector.GetMarkupObjectFor(XElement xmlInstance) in D:\Document\MyWork\XNA\Phoenix XNA Engine\Phoenix.Xna.Framework\Serialization\Markup\MarkupSelector.cs: line 58
   in Phoenix.Xna.Framework.Serialization.Serializer.Deserialize(XElement element) in D:\Document\MyWork\XNA\Phoenix XNA Engine\Phoenix.Xna.Framework\Serialization\Serializer.cs: line 75
   in Phoenix.Xna.Framework.Serialization.Serializer.Deserialize[T](XElement element) in D:\Document\MyWork\XNA\Phoenix XNA Engine\Phoenix.Xna.Framework\Serialization\Serializer.cs: line 83
   in Phoenix.Xna.Framework.ContentPipeline.EffectMaps.EffectMapProcessor.Process(XElement input, ContentProcessorContext context) in D:\Document\MyWork\XNA\Phoenix XNA Engine\Phoenix.Xna.Framework.ContentePipeline\EffectMaps\EffectMapProcessor.cs: line 22
   in Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context)
   in Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAssetWorker(BuildItem item)
   in Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAsset(BuildItem item)
   in Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.RunTheBuild()
   in Microsoft.Xna.Framework.Content.Pipeline.Tasks.BuildContent.RemoteProxy.RunTheBuild(BuildCoordinatorSettings settings, TimestampCache timestampCache, ITaskItem[] sourceAssets, String[]& outputContent, String[]& rebuiltContent, String[]& intermediates, Dictionary`2& dependencyTimestamps, KeyValuePair`2[]& warnings)    D:\Document\MyWork\XNA\Phoenix XNA Engine\Examples\EngineTest\Content\Terrain\Effects\Terrain.effectmap    EngineTest