Version 4.14. Added support for .NET Core 3

This commit is contained in:
ClemensF 2019-09-27 22:13:10 +02:00
parent a4fad94921
commit 23778280e1
35 changed files with 797 additions and 36 deletions

View file

@ -186,9 +186,11 @@ namespace MapControl.Caching
stream.Write(BitConverter.GetBytes(imageCacheItem.Expiration.Ticks), 0, 8);
}
#if !NET_CORE
var fileSecurity = File.GetAccessControl(path);
fileSecurity.AddAccessRule(fullControlRule);
File.SetAccessControl(path, fileSecurity);
#endif
}
catch (Exception ex)
{