Skip to content

Commit dbb376f

Browse files
committed
Added .NET Standard support
Removed IFileSystem and everything related to it, using different concept of already established classes for specific files/folder
1 parent 8b8741e commit dbb376f

41 files changed

Lines changed: 1377 additions & 515 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

PCLExt.FileStorage.sln

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 2012
44
VisualStudioVersion = 14.0.25123.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage", "src\PCLExt.FileStorage\PCLExt.FileStorage.csproj", "{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.Portable", "src\PCLExt.FileStorage.Portable\PCLExt.FileStorage.Portable.csproj", "{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.Abstractions", "src\PCLExt.FileStorage.Abstractions\PCLExt.FileStorage.Abstractions.csproj", "{3F8D0494-6EE2-47FE-B263-F09A5EA3D0B3}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.Portable.Abstractions", "src\PCLExt.FileStorage.Portable.Abstractions\PCLExt.FileStorage.Portable.Abstractions.csproj", "{3F8D0494-6EE2-47FE-B263-F09A5EA3D0B3}"
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.Desktop", "src\PCLExt.FileStorage.Desktop\PCLExt.FileStorage.Desktop.csproj", "{54DBACEB-B898-494B-AD88-2A407CB55A5A}"
1111
EndProject
@@ -15,25 +15,21 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.iOS", "s
1515
EndProject
1616
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.Mac", "src\PCLExt.FileStorage.Mac\PCLExt.FileStorage.Mac.csproj", "{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}"
1717
EndProject
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLExt.FileStorage.Core", "src\PCLExt.FileStorage.Core\PCLExt.FileStorage.Core.csproj", "{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}"
19+
EndProject
1820
Global
1921
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2022
AppStore|Any CPU = AppStore|Any CPU
2123
Debug|Any CPU = Debug|Any CPU
2224
Release|Any CPU = Release|Any CPU
2325
EndGlobalSection
2426
GlobalSection(ProjectConfigurationPlatforms) = postSolution
25-
{03DA3968-61A3-44D1-9F99-F55D31E07813}.AppStore|Any CPU.ActiveCfg = AppStore|Any CPU
26-
{03DA3968-61A3-44D1-9F99-F55D31E07813}.AppStore|Any CPU.Build.0 = AppStore|Any CPU
27-
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28-
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Debug|Any CPU.Build.0 = Debug|Any CPU
29-
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Release|Any CPU.ActiveCfg = Release|Any CPU
30-
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Release|Any CPU.Build.0 = Release|Any CPU
31-
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
32-
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.AppStore|Any CPU.Build.0 = Release|Any CPU
33-
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Release|Any CPU.Build.0 = Release|Any CPU
27+
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
28+
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.AppStore|Any CPU.Build.0 = Release|Any CPU
29+
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Release|Any CPU.Build.0 = Release|Any CPU
3733
{3F8D0494-6EE2-47FE-B263-F09A5EA3D0B3}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
3834
{3F8D0494-6EE2-47FE-B263-F09A5EA3D0B3}.AppStore|Any CPU.Build.0 = Release|Any CPU
3935
{3F8D0494-6EE2-47FE-B263-F09A5EA3D0B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -52,12 +48,24 @@ Global
5248
{8EFC0559-3C9C-4D0C-A5A5-579E58FFE621}.Debug|Any CPU.Build.0 = Debug|Any CPU
5349
{8EFC0559-3C9C-4D0C-A5A5-579E58FFE621}.Release|Any CPU.ActiveCfg = Release|Any CPU
5450
{8EFC0559-3C9C-4D0C-A5A5-579E58FFE621}.Release|Any CPU.Build.0 = Release|Any CPU
55-
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
56-
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.AppStore|Any CPU.Build.0 = Release|Any CPU
57-
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
58-
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Debug|Any CPU.Build.0 = Debug|Any CPU
59-
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Release|Any CPU.ActiveCfg = Release|Any CPU
60-
{A7C97A2B-F996-4CAF-87D8-F3A60B2B4D44}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{03DA3968-61A3-44D1-9F99-F55D31E07813}.AppStore|Any CPU.ActiveCfg = AppStore|Any CPU
52+
{03DA3968-61A3-44D1-9F99-F55D31E07813}.AppStore|Any CPU.Build.0 = AppStore|Any CPU
53+
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{03DA3968-61A3-44D1-9F99-F55D31E07813}.Release|Any CPU.Build.0 = Release|Any CPU
57+
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
58+
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.AppStore|Any CPU.Build.0 = Release|Any CPU
59+
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
60+
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Debug|Any CPU.Build.0 = Debug|Any CPU
61+
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Release|Any CPU.ActiveCfg = Release|Any CPU
62+
{0B02DE9A-C3C5-4DB9-B87F-6B05C3566946}.Release|Any CPU.Build.0 = Release|Any CPU
63+
{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
64+
{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}.AppStore|Any CPU.Build.0 = Debug|Any CPU
65+
{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
66+
{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
67+
{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
68+
{94E4FE17-7F2B-4623-8FFA-12F4056CCB2A}.Release|Any CPU.Build.0 = Release|Any CPU
6169
EndGlobalSection
6270
GlobalSection(SolutionProperties) = preSolution
6371
HideSolutionNode = FALSE

common/CommonAssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
[assembly: AssemblyConfiguration("")]
44
[assembly: AssemblyCompany("")]
55
[assembly: AssemblyProduct("PCLExt.FileStorage")]
6-
[assembly: AssemblyCopyright("Copyright © 2016")]
6+
[assembly: AssemblyCopyright("Copyright © 2016-2017")]
77
[assembly: AssemblyTrademark("")]
88
[assembly: AssemblyCulture("")]
99

10-
[assembly: AssemblyVersion("1.1.3.0")]
11-
[assembly: AssemblyFileVersion("1.1.3.0")]
10+
[assembly: AssemblyVersion("1.2.0.0")]
11+
[assembly: AssemblyFileVersion("1.2.0.0")]

common/PCLExt.FileStorage.nuspec

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,45 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>PCLExt.FileStorage</id>
5-
<version>1.1.3.0</version>
5+
<version>1.2.0.0</version>
66
<title>PCL Extension - File Storage API</title>
77
<authors>Daniel Plaisted,Aragas</authors>
88
<owners>Aragas</owners>
99
<licenseUrl>https://github.com/Aragas/PCLExt.FileStorage/blob/master/LICENSE</licenseUrl>
1010
<projectUrl>https://github.com/Aragas/PCLExt.FileStorage</projectUrl>
1111
<iconUrl>https://raw.githubusercontent.com/Aragas/PCLExt.FileStorage/master/common/sushi_64.png</iconUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13-
<description>PCL Extension provides file system implementations for PCL, .NET, Xamarin.iOS, Xamarin.Android and Xamarin.Mac. This makes it easier to create cross-platform .NET libraries and apps.</description>
13+
<description>PCL Extension provides file system implementations for PCL, .NET, Xamarin.iOS, Xamarin.Android and Xamarin.Mac. This makes it easier to create cross-platform .NET libraries and apps. Supports .NET Standard now.</description>
1414
<summary>PCL Extension provides file system implementations for PCL platform</summary>
15-
<tags>io storage file system portable pcl android mac ios xamarin monoandroid monotouch</tags>
15+
<tags>io storage file system portable pcl android mac ios xamarin monoandroid monotouch core netcore netstandard</tags>
1616
</metadata>
1717
<files>
18-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\monoandroid\PCLExt.FileStorage.Abstractions.dll" />
19-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\monoandroid\PCLExt.FileStorage.Abstractions.xml" />
20-
<file src="..\src\PCLExt.FileStorage.Android\bin\Release\PCLExt.FileStorage.dll" target="lib\monoandroid\PCLExt.FileStorage.dll" />
21-
<file src="..\src\PCLExt.FileStorage.Android\bin\Release\PCLExt.FileStorage.xml" target="lib\monoandroid\PCLExt.FileStorage.xml" />
22-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\net45\PCLExt.FileStorage.Abstractions.dll" />
23-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\net45\PCLExt.FileStorage.Abstractions.xml" />
18+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\MonoAndroid10\PCLExt.FileStorage.Abstractions.dll" />
19+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\MonoAndroid10\PCLExt.FileStorage.Abstractions.xml" />
20+
<file src="..\src\PCLExt.FileStorage.Android\bin\Release\PCLExt.FileStorage.dll" target="lib\MonoAndroid10\PCLExt.FileStorage.dll" />
21+
<file src="..\src\PCLExt.FileStorage.Android\bin\Release\PCLExt.FileStorage.xml" target="lib\MonoAndroid10\PCLExt.FileStorage.xml" />
22+
23+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\net45\PCLExt.FileStorage.Abstractions.dll" />
24+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\net45\PCLExt.FileStorage.Abstractions.xml" />
2425
<file src="..\src\PCLExt.FileStorage.Desktop\bin\Release\PCLExt.FileStorage.dll" target="lib\net45\PCLExt.FileStorage.dll" />
2526
<file src="..\src\PCLExt.FileStorage.Desktop\bin\Release\PCLExt.FileStorage.xml" target="lib\net45\PCLExt.FileStorage.xml" />
26-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.Abstractions.dll" />
27-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.Abstractions.xml" />
28-
<file src="..\src\PCLExt.FileStorage\bin\Release\PCLExt.FileStorage.dll" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.dll" />
29-
<file src="..\src\PCLExt.FileStorage\bin\Release\PCLExt.FileStorage.xml" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.xml" />
30-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\portable-Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.Abstractions.dll" />
31-
<file src="..\src\PCLExt.FileStorage.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\portable-Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.Abstractions.xml" />
32-
<file src="..\src\PCLExt.FileStorage.iOS\bin\Release\PCLExt.FileStorage.dll" target="lib\portable-Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.dll" />
33-
<file src="..\src\PCLExt.FileStorage.iOS\bin\Release\PCLExt.FileStorage.xml" target="lib\portable-Xamarin.iOS+Xamarin.Mac\PCLExt.FileStorage.xml" />
34-
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\Xamarin.Mac\PCLExt.FileStorage.Abstractions.dll" />
35-
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\Xamarin.Mac\PCLExt.FileStorage.Abstractions.xml" />
36-
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.dll" target="lib\Xamarin.Mac\PCLExt.FileStorage.dll" />
37-
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.xml" target="lib\Xamarin.Mac\PCLExt.FileStorage.xml" />
27+
28+
<file src="..\src\PCLExt.FileStorage.Core\bin\Release\netstandard1.3\PCLExt.FileStorage.dll" target="lib\netstandard1.3\PCLExt.FileStorage.dll" />
29+
<file src="..\src\PCLExt.FileStorage.Core\bin\Release\netstandard1.3\PCLExt.FileStorage.xml" target="lib\netstandard1.3\PCLExt.FileStorage.xml" />
30+
31+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\portable-net45+win8+wpa81\PCLExt.FileStorage.Abstractions.dll" />
32+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\portable-net45+win8+wpa81\PCLExt.FileStorage.Abstractions.xml" />
33+
<file src="..\src\PCLExt.FileStorage.Portable\bin\Release\PCLExt.FileStorage.dll" target="lib\portable-net45+win8+wpa81\PCLExt.FileStorage.dll" />
34+
<file src="..\src\PCLExt.FileStorage.Portable\bin\Release\PCLExt.FileStorage.xml" target="lib\portable-net45+win8+wpa81\PCLExt.FileStorage.xml" />
35+
36+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\Xamarin.iOS10\PCLExt.FileStorage.Abstractions.dll" />
37+
<file src="..\src\PCLExt.FileStorage.Portable.Abstractions\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\Xamarin.iOS10\PCLExt.FileStorage.Abstractions.xml" />
38+
<file src="..\src\PCLExt.FileStorage.iOS\bin\Release\PCLExt.FileStorage.dll" target="lib\Xamarin.iOS10\PCLExt.FileStorage.dll" />
39+
<file src="..\src\PCLExt.FileStorage.iOS\bin\Release\PCLExt.FileStorage.xml" target="lib\Xamarin.iOS10\PCLExt.FileStorage.xml" />
40+
41+
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.Abstractions.dll" target="lib\Xamarin.Mac20\PCLExt.FileStorage.Abstractions.dll" />
42+
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.Abstractions.xml" target="lib\Xamarin.Mac20\PCLExt.FileStorage.Abstractions.xml" />
43+
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.dll" target="lib\Xamarin.Mac20\PCLExt.FileStorage.dll" />
44+
<file src="..\src\PCLExt.FileStorage.Mac\bin\Release\PCLExt.FileStorage.xml" target="lib\Xamarin.Mac20\PCLExt.FileStorage.xml" />
3845
</files>
3946
</package>

src/PCLExt.FileStorage.Abstractions/IFileSystem.cs

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)