Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

the namespace "system" could not be added to the project

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?

like image 574
William Jockusch Avatar asked Dec 24 '13 23:12

William Jockusch


1 Answers

I guess this is a problem with the Framework version of the namespace systemand 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.

like image 98
Dineshkumar Avatar answered Oct 21 '22 18:10

Dineshkumar