- Home /
 
Windows Phone 8 Building Error
Hello, when I try to build for Windows Phone 8 I get the following error:
 Error building Player: Exception: Error: type `System.EnvironmentVariableTarget` doesn't exist in target framework.
 
 Error: type `System.EnvironmentVariableTarget` doesn't exist in target framework.
 
               Anyone has any idea?
               Comment
              
 
               
              Answer by Ejlersen · Oct 22, 2013 at 05:45 PM
Remove whatever it is that uses that part of .Net, because its not a part of the Windows Phone .Net API.
Windows Phone 8 only uses a subset of the full .Net API. You can read more about it here:
Your answer
 
             Follow this Question
Related Questions
Windows Phone 8 - No Network? 2 Answers
Windows Phone live tile WITHOUT plugins 1 Answer
Windows Phone 8 Error 1 Answer
How to fix Unity compiler error when building WP8.1 game? 2 Answers
The game is running slow for no reason 2 Answers