This is a migrated thread and some comments may be shown as answers.

Build Error using the latest dll

2 Answers 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bichitra
Top achievements
Rank 1
Bichitra asked on 20 Nov 2008, 04:00 AM
Hi,

I took latest version of dll  and trying to build my existing application. it  gives the build error ( version number : 2008.3.1117.1020)
but it is working fine  with  earlier version (2008.3.1001.0)



Error 5 The "ValidateXaml" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
   at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName, Assembly[] assemblies, Assembly callingAssembly, TaskLoggingHelper log, Boolean shouldThrow)
   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()
   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()
   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()
   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) Xcel.Framework.RIA.ActivityManagement.CommonUI

Can you please help me?

Thanks
Bichitra


2 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 20 Nov 2008, 02:26 PM
Hey Bichitra,

Looking into that error a bit, I found the following post on silverlight.net:

https://silverlight.net/forums/t/38625.aspx

Looks like a number of people have had this problem the solution here states it is in relation to all the SL installation processes leaving behind old files and references that screw up the latest version.  Might be a good place to start. :)

Otherwise, what is your code and references that are leading to this?  I'll test it on my machine to see if I can reproduce the error with the latest install of everything.
0
Bichitra
Top achievements
Rank 1
answered on 20 Nov 2008, 03:27 PM
Thnaks for reply..

this is not problem with controls.. It was problem in my end...

Thanks
Bichitra
Tags
General Discussions
Asked by
Bichitra
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Bichitra
Top achievements
Rank 1
Share this question
or