system.collections.specialized is not supported in target framework

I have been trying to deploy my game into windows phone 8, but I have been having the same error over and over “system.collections.specialized is not supported in target framework”
I’ve been online looking for solutions and tried all the solutions I could find:

  • Get rid of all prime31.
  • update the NGUI
  • change player settings to .Net2.0, etc.
    Does anyone have a solution that worked besides the ones above ?
    Thanks

I know you found ‘get rid of all prime31’. But do you actually use it? If yes, then according to this thread such error happens in post processing phase, and according to this page, on 11th September prime31 updated their tools to not run post processor if no prime31 plugins exist in project. So maybe updating to latest version would help.

If you’re not using prime31, then I suggest searching all files within your project folder for System.Collections.Specialized (not only for using/inport, because the types can be referenced by full names as well).

yes, is true getting rid of all prime31 while you still use it in the project will give a problem, I opened another project and added the NGUI, as soon as I add the NGUI, the project will no longer build the windows phone 8 solution.
It seems is really a problem with compatibility of NGUI and WP8, since this project doesn’t have any prime31 added, just simple cubes and a camera.