-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Initial IsolatedStorage implementation #11080
Conversation
@@ -0,0 +1,3 @@ | |||
Compat issues with assembly System.IO.IsolatedStorage: | |||
CannotAddAbstractMembers : Member 'System.IO.IsolatedStorage.IsolatedStorage.GetPermission(System.Security.PermissionSet)' is abstract in the implementation but is missing in the contract. | |||
Total Issues: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops. I'll clear the duplicate file.
internal static void CreateDirectory(string path, IsolatedStorageScope scope) | ||
{ | ||
// ACL'ing isn't an issue in WinRT, just create it | ||
Directory.CreateDirectory(path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can just use Directory.CreateDirectory at the call site then. No need for the scope. Etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than I'm calling this helper in shared code. I figured it was better to call the helper here than not since it is there.
dca64c5
to
afe6f68
Compare
Implements most of the APIs we intend to provide. Still pending are: - Size methods - Remove methods We do not plan to implement the store iterator or any factory methods that take arguments yet. Tests are forthcoming- the helper class is intended to facilitate unit testing as well as abstracting platform differences.
afe6f68
to
7e6a492
Compare
7e6a492
to
544806f
Compare
<NuGetTargetMoniker>.NETStandard,Version=v1.7</NuGetTargetMoniker> | ||
<ProjectGuid>{27225772-FE8B-49D7-8E58-29242D536130}</ProjectGuid> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like VS updated some of these configurations. Can you please undo the setting of the OutputPath here, otherwise we will be dropping these files in the wrong outputs.
Initial IsolatedStorage implementation Commit migrated from dotnet/corefx@d7dde9d
Implements most of the APIs we intend to provide. Still pending are:
We do not plan to implement the store iterator or any factory methods that take arguments yet.
Tests are forthcoming- the helper class is intended to facilitate unit testing as well as abstracting platform differences. Also need to fix packages and UWP build.
This PR is NOT going in as is- this is to facilitate design feedback as I add tests and fix the packaging/UWP issues.
@ellismg; @weshaggard; @ericstj; @danmosemsft