Xamarin Studio忽略了编译器选项

时间:2013-10-09 17:52:58

标签: c# mono portable-class-library xamarin-studio

Xamarin Studio Mac我刚检查了PCL项目选项下的不引用mscorlib.dll (我正在使用{ {1}} mono)的实施。

令我惊讶的是,我已经在不同的平台上运行了lib,到目前为止一切都很顺利。但是mscorlib仍然认为默认IDE仍然存在。

所以这样的事情正在发生:

mscorlib

有一些方法可以使//The default mscorlib has List var myList = new List<int>(); //This method is implemented only in my custom mscorlib. //It compiles but the IDE does not recognize the method //Because it thinks myList uses the List implementation from the default mscorlib myList.AsReadOnly(); 忽略默认IDE

此外,使用mscorlib的单声道实现有哪些风险?我已经创建了文件并使用了很多实用程序函数,所以这个实现是真正的多平台吗?

0 个答案:

没有答案