What need I do to get this code to work in a Portable Class Library?
问题 I'm wondering if the Portable Class Library is even more restricted in functionality than the Compact Framework. I'm trying to port a CF/Windows CE app (runs on a handheld device) to a Xamarin solution that will target Android, iOS, Windows Phone, and perhaps other things. One of the problems I run into, though, is that this legacy code (which works under CF): public static List<string> GetXMLFiles(string fileType, string startingDir) { const string EXTENSION = ".XML"; string dirName =