Windows Phone 8 Build Player

Hi All,
I´m facing this issue on Windows Phone 8 compiling process:

Error building Player: Exception: Failed to run reference rewriter with command “–target=“Temp/StagingArea\Assembly-CSharp-firstpass.dll” --framework=“C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.0” --platform=“C:\Program Files (x86)\Windows Phone Kits\8.0\Windows MetaData\Windows.winmd” --support=“Temp/StagingArea/WinRTLegacy.dll” --winmdrefs=”" --system=Unity --dbg=pdb --alt=System.Net;System.Net.Sockets,System.Net;System.Xml.Serialization". [Temp/StagingArea\Assembly-CSharp-firstpass.dll]
Catastrophic failure while running rrw: System.ArgumentException: No mscorlib.dll in the framework path.
Parameter name: frameworkPath
at Unity.ReferenceRewriter.RewriteContext.CheckFrameworkPath(String frameworkPath)
at Unity.ReferenceRewriter.RewriteContext.For(String targetModule, DebugSymbolFormat symbolFormat, String supportModule, String frameworkPath, String platformPath, ICollection1 strongNamedReferences, ICollection1 winmdReferences, IDictionary`2 alt)
at Unity.ReferenceRewriter.Program.Main(String args)

Did anyone had this issue on Windows Phone deployment?

Thanks

You have to download and install Windows Phone 8 SDK :slight_smile: