Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I am getting a strange error in two of my projects. I have not altered them for some time - so I am very confused by the error. I unchecked the Generate Silverlight Manifest File and now the error is: The "XapPackager" task failed unexpectedly. I have tried to clean the solutions and rebuild, but that fails. Any ideas?
 
The error:
The "CreateSilverlightAppManifest" task failed unexpectedly.
System.TypeInitializationException: The type initializer for '205519505' threw an exception. ---> System.MissingMethodException: Method not found: 'Void 854179471.2058010023(516896233, Mono.Debugging.Client.StackFrame)'.
   at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.Assembly.GetType(String name)
   at 1257696219.2037564253(212491372& 1969873877, Assembly 2008445448)
   at 205519505..cctor()
   --- End of inner exception stack trace ---
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Microsoft.Silverlight.Build.Tasks.SR..ctor()
   at Microsoft.Silverlight.Build.Tasks.SR.GetLoader()
   at Microsoft.Silverlight.Build.Tasks.SR.GetString(String name, Boolean& fallbackUsed, Object[] args)
   at Microsoft.Silverlight.Build.Tasks.SR.GetString(String name, Object[] args)
   at Microsoft.Silverlight.Build.Tasks.CreateSilverlightAppManifest.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
Posted 8-Jan-13 18:51pm
Edited 8-Jan-13 21:12pm
Mehdi Gholam249.4K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Close and re-open Solution cured this one. Strangeness!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

" System.MissingMethodException: Method not found: 'Void 854179471.2058010023(516896233, Mono.Debugging.Client.StackFrame)'."
That looks more like a bug in Mono. Why do you use Mono? Does the problem occur in Visual Studio too?
  Permalink  
Comments
Idle_Force at 9-Jan-13 9:06am
   
I'm not using Mono - that's the weird part.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 195
1 Afzaal Ahmad Zeeshan 132
2 ProgramFOX 130
3 Maciej Los 115
4 Sergey Alexandrovich Kryukov 75
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,657
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100