I am working on a C# PCL. The targets include Windows Phone, iOS, and Android (all via Xamarin). Whenever I add a new class, I get a popup starting with "The namespace system could not be added to the project." It then proceeds me to warn me that things might not work. Well, they do work, but the popup is annoying. Can I stop it?
Asked
Active
Viewed 2,269 times
11
-
Ah... you are not alone. I have the same problem: The reference "System" could not be added to the project. This wizard will continue to run, but the resulting project may not build properly. – Sergey Dec 25 '13 at 07:44
-
I have this problem too. Is this xamarin's fault? – user2320724 Jan 14 '14 at 02:22
-
Are you on the alpha or stable channel for xamarin items? I had this issue happen to me as well, but mine was when I would create a PCL(Profile 78/158) from XS and open it withing VS. Have you tried to just re-reference system? – Jon Douglas Jan 23 '14 at 16:52
-
Can you post a link to a repository or [gist](http://gist.github.com) on [github](http://github.com)? Maybe a step-by-step guide to reproduce the problem also. – Alexandre Marcondes Jan 29 '14 at 21:30
1 Answers
1
I guess this is a problem with the Framework version of the namespace system
and your project.
Confirm they both match the same framework.
I recommend you take a look over this link, which addresses a similar kind of issue. Usually when the references are not proper, you may get this kind of issue.

Community
- 1
- 1

Dineshkumar
- 1,468
- 4
- 22
- 49