System.IO.DirectoryNotFoundException not available in PCL

I am building a PCL that I use for Xamarin.iOS, Xamarin.Android, and UWP.

I am using the "PCL 4.5 - Profile 7" .NET Portable profile. That profile does not contain System.IO.DirectoryNotFoundException apparently.

Is there another profile I should be using?

Right now I am using the class name to detect the exception from within my PCL but, of course, that is pretty ugly.

Sign In or Register to comment.