- Home /
Build app unity for windows phone 8 or windows store app fail
Please help me!, I just build app for windows phone 8 by unity 4.5.1 and error occurs;
Error building Player: Exception: Failed to run reference rewriter with command "--target="Temp/StagingArea\Assembly-CSharp.dll" --framework="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.0,C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Libraries" --platform="C:\Program Files (x86)\Windows Phone Kits\8.0\Windows MetaData\Windows.winmd" --support="Temp/StagingArea/WinRTLegacy.dll" --winmdrefs="" --system=System --dbg=pdb --alt=System.Net;System.Net.Sockets,System.Net;System.Xml.Serialization;System.ComponentModel,System.Windows;System.Threading,mscorlib". [Temp/StagingArea\Assembly-CSharp.dll] Catastrophic failure while running rrw: System.MissingMethodException: Method not found: 'Void Mono.Cecil.TypeReference.set_Scope(Mono.Cecil.IMetadataScope)'. at Unity.ReferenceRewriter.RewriteTypeReferences.TryToResolveInSupport(TypeReference type) at Unity.ReferenceRewriter.RewriteTypeReferences.Visit(TypeReference type, String referencingEntityName) at Unity.ReferenceRewriter.ReferenceDispatcher.Dispatch(TypeDefinition type) at Unity.ReferenceRewriter.ReferenceDispatcher.Dispatch() at Unity.ReferenceRewriter.RewriteOperation.Execute(RewriteContext context) at Unity.ReferenceRewriter.Program.Main(String[] args)