Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Problem when compiling C# scripts for Windows Phone 8

Discussion in 'Windows' started by kulesz, Nov 17, 2013.

  1. kulesz

    kulesz

    Joined:
    Jul 1, 2012
    Posts:
    138
    Hello,

    Today I tried to compile my Android project for Windows Phone 8 devices and I got following error:
    Code (csharp):
    1.  
    2. Error building Player: Exception: Error: method `System.Void System.IO.File::WriteAllText(System.String,System.String)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void Performance::SaveToCSV().
    I tried to google a little bit, but didn't find anything.
    Does anyone know what is wrong?
     
  2. BFS-Kyle

    BFS-Kyle

    Joined:
    Jun 12, 2013
    Posts:
    883
    From the FAQ - http://docs.unity3d.com/Documentation/Manual/wp8-faq.html