- Home /
`System.EnvironmentVariableTarget` doesn't exist in target framework
Hi! I switched the platform of a game from Android into WP8 and I've got an error:
Error: typeError building Player: Exception: Error: type
System.EnvironmentVariableTarget
doesn't exist in target framework.
System.EnvironmentVariableTarget
doesn't exist in target framework. I read the trick with ".NET 2.0 Subset" to ".NET 2.0" but it still doesn't work. Any solution please? Thanks a lot!
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:
Windows Phone 8 .Net
Your answer
![](https://koobas.hobune.stream/wayback/20220613114820im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Windows Store App Encryption 2 Answers
Saved files deleted after creating a new build 0 Answers
Windows phone 8 build fail: Assembly-UnityScript.dll is built in debug mode 0 Answers
The errors when I build my project for winphone 8 with electrotank library ! 0 Answers
Modify vertex position using shaders on Windows Phone 8 0 Answers