I am trying to write a cross platform application with PCL. to read and write database I want to retrieve db path with
private static string _dbPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), DB_NAME)
But when I compile it I got errors , says that
Data\Database.cs(20,24,20,37): error CS0117: 'System.Environment' does not contain a definition for 'SpecialFolder'
I checked mscorlib.dll is included in the profile78 directory but I cannot see it included in project references. I also unchecked exclude mscorlib.dll from project options.
Can you please explain the error ?