# Conflicts:
#	NextcloudApp/NextcloudApp.csproj
#	NextcloudApp/project.lock.json
This commit is contained in:
Stefan Prasse 2016-12-12 23:40:03 +01:00
Родитель e79b8a27d7 37cbc702f3
Коммит c4653c0386
36 изменённых файлов: 3979 добавлений и 4553 удалений

Просмотреть файл

@ -1,84 +1,66 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NextcloudClient", "NextcloudClient\NextcloudClient.csproj", "{E2015378-CEFF-4913-A4A6-48706F2625D4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebDavClient", "WebDavClient\WebDavClient\WebDavClient.csproj", "{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NextcloudApp", "NextcloudApp\NextcloudApp.csproj", "{99EFB7EA-88A3-4FCF-9289-22734215B5CF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|ARM.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|ARM.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x64.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x64.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x86.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x86.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|Any CPU.Build.0 = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|ARM.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|ARM.Build.0 = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x64.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x64.Build.0 = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x86.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x86.Build.0 = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|ARM.ActiveCfg = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|ARM.Build.0 = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|x64.ActiveCfg = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|x64.Build.0 = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|x86.ActiveCfg = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|x86.Build.0 = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|Any CPU.Build.0 = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|ARM.ActiveCfg = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|ARM.Build.0 = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|x64.ActiveCfg = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|x64.Build.0 = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|x86.ActiveCfg = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|x86.Build.0 = Release|Any CPU
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|Any CPU.ActiveCfg = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|ARM.ActiveCfg = Debug|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|ARM.Build.0 = Debug|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|ARM.Deploy.0 = Debug|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x64.ActiveCfg = Debug|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x64.Build.0 = Debug|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x64.Deploy.0 = Debug|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x86.ActiveCfg = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x86.Build.0 = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x86.Deploy.0 = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|Any CPU.ActiveCfg = Release|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|ARM.ActiveCfg = Release|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|ARM.Build.0 = Release|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|ARM.Deploy.0 = Release|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x64.ActiveCfg = Release|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x64.Build.0 = Release|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x64.Deploy.0 = Release|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x86.ActiveCfg = Release|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x86.Build.0 = Release|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
description = A portable class library to interact with ownCloud servers through WebDAV and the ownCloud OCS API.
version = 0.1.0
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NextcloudClient", "NextcloudClient\NextcloudClient.csproj", "{E2015378-CEFF-4913-A4A6-48706F2625D4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NextcloudApp", "NextcloudApp\NextcloudApp.csproj", "{99EFB7EA-88A3-4FCF-9289-22734215B5CF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|ARM.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|ARM.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x64.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x64.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x86.ActiveCfg = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Debug|x86.Build.0 = Debug|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|Any CPU.Build.0 = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|ARM.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|ARM.Build.0 = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x64.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x64.Build.0 = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x86.ActiveCfg = Release|Any CPU
{E2015378-CEFF-4913-A4A6-48706F2625D4}.Release|x86.Build.0 = Release|Any CPU
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|Any CPU.ActiveCfg = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|ARM.ActiveCfg = Debug|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|ARM.Build.0 = Debug|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|ARM.Deploy.0 = Debug|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x64.ActiveCfg = Debug|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x64.Build.0 = Debug|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x64.Deploy.0 = Debug|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x86.ActiveCfg = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x86.Build.0 = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Debug|x86.Deploy.0 = Debug|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|Any CPU.ActiveCfg = Release|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|ARM.ActiveCfg = Release|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|ARM.Build.0 = Release|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|ARM.Deploy.0 = Release|ARM
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x64.ActiveCfg = Release|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x64.Build.0 = Release|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x64.Deploy.0 = Release|x64
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x86.ActiveCfg = Release|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x86.Build.0 = Release|x86
{99EFB7EA-88A3-4FCF-9289-22734215B5CF}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
description = A portable class library to interact with ownCloud servers through WebDAV and the ownCloud OCS API.
version = 0.1.0
EndGlobalSection
EndGlobal

Просмотреть файл

@ -25,7 +25,7 @@ namespace NextcloudApp.Converter
return "";
}
ResourceLoader loader = new ResourceLoader();
if(SyncDbUtils.GetFolderSyncInfoByPath(item.Path) == null)
if(!item.IsSynced)
{
return loader.GetString("Synchronize");
} else { }

Просмотреть файл

@ -0,0 +1,19 @@
using SQLite.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NextcloudApp.Models
{
public class SyncInfoDetail
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string ETag { get; set; }
public DateTimeOffset DateModified { get; set; }
public int FsiID { get; set; }
public string Path { get; set; }
}
}

Просмотреть файл

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
@ -96,7 +96,6 @@
<Content Include="Assets\Fonts\nextcloud.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Compile Include="Converter\IsFolderSyncedConverter.cs" />
<None Include="NextcloudApp_StoreKey.pfx" />
<None Include="project.json" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
@ -111,6 +110,7 @@
</Compile>
<Compile Include="Actions\OpenMenuFlyoutAction.cs" />
<Compile Include="Behaviors\ScrollListBoxToEndBehavior.cs" />
<Compile Include="Converter\IsFolderSyncedConverter.cs" />
<Compile Include="Converter\FirstCharFromStringConverter.cs" />
<Compile Include="Converter\AddSlashToPathConverter.cs" />
<Compile Include="Converter\IsSortingToSelectionModeConverter.cs" />
@ -269,10 +269,6 @@
<Project>{E2015378-CEFF-4913-A4A6-48706F2625D4}</Project>
<Name>NextcloudClient</Name>
</ProjectReference>
<ProjectReference Include="..\WebDavClient\WebDavClient\WebDavClient.csproj">
<Project>{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}</Project>
<Name>WebDavClient</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
@ -296,13 +292,6 @@
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>

Просмотреть файл

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(NuGetPackageRoot)' == ''">
<NuGetPackageRoot>$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
</PropertyGroup>
<ImportGroup>
<Import Project="$(NuGetPackageRoot)\Microsoft.Bcl.Build\1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('$(NuGetPackageRoot)\Microsoft.Bcl.Build\1.0.21\build\Microsoft.Bcl.Build.targets')" />
</ImportGroup>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(NuGetPackageRoot)' == ''">
<NuGetPackageRoot>$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
</PropertyGroup>
<ImportGroup>
<Import Project="$(NuGetPackageRoot)\Microsoft.Bcl.Build\1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('$(NuGetPackageRoot)\Microsoft.Bcl.Build\1.0.21\build\Microsoft.Bcl.Build.targets')" />
</ImportGroup>
</Project>

Просмотреть файл

@ -0,0 +1,596 @@
<<<<<<< HEAD
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{99EFB7EA-88A3-4FCF-9289-22734215B5CF}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NextcloudApp</RootNamespace>
<AssemblyName>NextcloudApp</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>NextcloudApp_StoreKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>FF3446F276329AC954729FBEA0FCDCB5FBBCB7A3</PackageCertificateThumbprint>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<Content Include="Assets\Fonts\nextcloud.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Compile Include="Converter\IsFolderSyncedConverter.cs" />
<None Include="NextcloudApp_StoreKey.pfx" />
<None Include="project.json" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
<PRIResource Include="Strings\en-US\Resources.resw" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="AppShell.xaml.cs">
<DependentUpon>AppShell.xaml</DependentUpon>
</Compile>
<Compile Include="Actions\OpenMenuFlyoutAction.cs" />
<Compile Include="Behaviors\ScrollListBoxToEndBehavior.cs" />
<Compile Include="Converter\FirstCharFromStringConverter.cs" />
<Compile Include="Converter\AddSlashToPathConverter.cs" />
<Compile Include="Converter\IsSortingToSelectionModeConverter.cs" />
<Compile Include="Converter\EmptyPathToSlashConverter.cs" />
<Compile Include="Models\FolderSyncInfo.cs" />
<Compile Include="Models\MoveFileOrFolderPageParameters.cs" />
<Compile Include="Models\PageParameters.cs" />
<Compile Include="Models\SingleFileDownloadPageParameters.cs" />
<Compile Include="Models\FileUploadPageParameters.cs" />
<Compile Include="Models\FileInfoPageParameters.cs" />
<Compile Include="Models\PreviewImageDownloadModeItem.cs" />
<Compile Include="Services\ClientService.cs" />
<Compile Include="Services\DialogService.cs" />
<Compile Include="Services\DirectoryService.cs" />
<Compile Include="Services\ExceptionReportService.cs" />
<Compile Include="Services\MigrationService.cs" />
<Compile Include="Services\ResponseErrorHandlerService.cs" />
<Compile Include="Utils\DebugTraceListener.cs" />
<Compile Include="Utils\PreviewImageDownloadMode.cs" />
<Compile Include="Utils\RelayCommand.cs" />
<Compile Include="Utils\SizeSorter.cs" />
<Compile Include="Converter\NullToVisibilityConverter.cs" />
<Compile Include="Converter\IsFileAndNotFolderToVisibilityConverter.cs" />
<Compile Include="Converter\IntToVisibilityConverter.cs" />
<Compile Include="Converter\BooleanToVisibilityConverter.cs" />
<Compile Include="Converter\BytesToHumanReadableConverter.cs" />
<Compile Include="Converter\ContentTypeToIconConverter.cs" />
<Compile Include="Converter\DateTimeToStringConverter.cs" />
<Compile Include="Models\FileOrFolder.cs" />
<Compile Include="Models\PathInfo.cs" />
<Compile Include="Models\Settings.cs" />
<Compile Include="PageTokens.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Services\LocalizationService.cs" />
<Compile Include="Services\SettingsService.cs" />
<Compile Include="Services\StatusBarService.cs" />
<Compile Include="Utils\Grouping.cs" />
<Compile Include="Utils\IRevertState.cs" />
<Compile Include="Utils\DateSorter.cs" />
<Compile Include="Utils\NameSorter.cs" />
<Compile Include="Utils\ObservableGroupingCollection.cs" />
<Compile Include="Utils\SortMode.cs" />
<Compile Include="Utils\SyncDbUtils.cs" />
<Compile Include="ViewModels\FileUploadPageViewModel.cs" />
<Compile Include="ViewModels\MoveFileOrFolderPageViewModel.cs" />
<Compile Include="ViewModels\SingleFileDownloadPageViewModel.cs" />
<Compile Include="ViewModels\FileInfoPageViewModel.cs" />
<Compile Include="ViewModels\SettingsPageViewModel.cs" />
<Compile Include="ViewModels\DirectoryListPageViewModel.cs" />
<Compile Include="ViewModels\ViewModel.cs" />
<Compile Include="Views\FileUploadPage.xaml.cs">
<DependentUpon>FileUploadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MoveFileOrFolder.xaml.cs">
<DependentUpon>MoveFileOrFolder.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SingleFileDownloadPage.xaml.cs">
<DependentUpon>SingleFileDownloadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\FileInfoPage.xaml.cs">
<DependentUpon>FileInfoPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsPage.xaml.cs">
<DependentUpon>SettingsPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\DirectoryListPage.xaml.cs">
<DependentUpon>DirectoryListPage.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModels\LoginPageViewModel.cs" />
<Compile Include="Models\MenuItem.cs" />
<Compile Include="ViewModels\MenuViewModel.cs" />
<Compile Include="Views\LoginPage.xaml.cs">
<DependentUpon>LoginPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\MenuView.xaml.cs">
<DependentUpon>MenuView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Nextcloud_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Images\ThumbnailNotFound.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Package.StoreAssociation.xml" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="AppShell.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\Fonts.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\MenuFlyoutIconItemStyle.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\SplitViewStyles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\FileUploadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MoveFileOrFolder.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\SingleFileDownloadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\FileInfoPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\SettingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\DirectoryListPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LoginPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MenuView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NextcloudClient\NextcloudClient.csproj">
<Project>{E2015378-CEFF-4913-A4A6-48706F2625D4}</Project>
<Name>NextcloudClient</Name>
</ProjectReference>
<ProjectReference Include="..\WebDavClient\WebDavClient\WebDavClient.csproj">
<Project>{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}</Project>
<Name>WebDavClient</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
<Folder Include="SampleData\" />
</ItemGroup>
<ItemGroup>
<SDKReference Include="BehaviorsXamlSDKManaged, Version=12.0">
<Name>Behaviors SDK %28XAML%29</Name>
</SDKReference>
<SDKReference Include="Microsoft.VCLibs, Version=14.0">
<Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
</SDKReference>
<SDKReference Include="SQLite.UWP.2015, Version=3.15.1">
<Name>SQLite for Universal Windows Platform</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10586.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
=======
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{99EFB7EA-88A3-4FCF-9289-22734215B5CF}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NextcloudApp</RootNamespace>
<AssemblyName>NextcloudApp</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>NextcloudApp_StoreKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>FF3446F276329AC954729FBEA0FCDCB5FBBCB7A3</PackageCertificateThumbprint>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<Content Include="Assets\Fonts\nextcloud.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="NextcloudApp_StoreKey.pfx" />
<None Include="project.json" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
<PRIResource Include="Strings\en-US\Resources.resw" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="AppShell.xaml.cs">
<DependentUpon>AppShell.xaml</DependentUpon>
</Compile>
<Compile Include="Actions\OpenMenuFlyoutAction.cs" />
<Compile Include="Behaviors\ScrollListBoxToEndBehavior.cs" />
<Compile Include="Converter\FirstCharFromStringConverter.cs" />
<Compile Include="Converter\AddSlashToPathConverter.cs" />
<Compile Include="Converter\IsSortingToSelectionModeConverter.cs" />
<Compile Include="Converter\EmptyPathToSlashConverter.cs" />
<Compile Include="Models\MoveFileOrFolderPageParameters.cs" />
<Compile Include="Models\PageParameters.cs" />
<Compile Include="Models\SingleFileDownloadPageParameters.cs" />
<Compile Include="Models\FileUploadPageParameters.cs" />
<Compile Include="Models\FileInfoPageParameters.cs" />
<Compile Include="Models\PreviewImageDownloadModeItem.cs" />
<Compile Include="Services\ClientService.cs" />
<Compile Include="Services\DialogService.cs" />
<Compile Include="Services\DirectoryService.cs" />
<Compile Include="Services\ExceptionReportService.cs" />
<Compile Include="Services\MigrationService.cs" />
<Compile Include="Services\ResponseErrorHandlerService.cs" />
<Compile Include="Utils\PreviewImageDownloadMode.cs" />
<Compile Include="Utils\RelayCommand.cs" />
<Compile Include="Utils\SizeSorter.cs" />
<Compile Include="Converter\NullToVisibilityConverter.cs" />
<Compile Include="Converter\IsFileAndNotFolderToVisibilityConverter.cs" />
<Compile Include="Converter\IntToVisibilityConverter.cs" />
<Compile Include="Converter\BooleanToVisibilityConverter.cs" />
<Compile Include="Converter\BytesToHumanReadableConverter.cs" />
<Compile Include="Converter\ContentTypeToIconConverter.cs" />
<Compile Include="Converter\DateTimeToStringConverter.cs" />
<Compile Include="Models\FileOrFolder.cs" />
<Compile Include="Models\PathInfo.cs" />
<Compile Include="Models\Settings.cs" />
<Compile Include="PageTokens.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Services\LocalizationService.cs" />
<Compile Include="Services\SettingsService.cs" />
<Compile Include="Services\StatusBarService.cs" />
<Compile Include="Utils\Grouping.cs" />
<Compile Include="Utils\IRevertState.cs" />
<Compile Include="Utils\DateSorter.cs" />
<Compile Include="Utils\NameSorter.cs" />
<Compile Include="Utils\ObservableGroupingCollection.cs" />
<Compile Include="Utils\SortMode.cs" />
<Compile Include="ViewModels\FileUploadPageViewModel.cs" />
<Compile Include="ViewModels\MoveFileOrFolderPageViewModel.cs" />
<Compile Include="ViewModels\SingleFileDownloadPageViewModel.cs" />
<Compile Include="ViewModels\FileInfoPageViewModel.cs" />
<Compile Include="ViewModels\SettingsPageViewModel.cs" />
<Compile Include="ViewModels\DirectoryListPageViewModel.cs" />
<Compile Include="ViewModels\ViewModel.cs" />
<Compile Include="Views\FileUploadPage.xaml.cs">
<DependentUpon>FileUploadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MoveFileOrFolder.xaml.cs">
<DependentUpon>MoveFileOrFolder.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SingleFileDownloadPage.xaml.cs">
<DependentUpon>SingleFileDownloadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\FileInfoPage.xaml.cs">
<DependentUpon>FileInfoPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsPage.xaml.cs">
<DependentUpon>SettingsPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\DirectoryListPage.xaml.cs">
<DependentUpon>DirectoryListPage.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModels\LoginPageViewModel.cs" />
<Compile Include="Models\MenuItem.cs" />
<Compile Include="ViewModels\MenuViewModel.cs" />
<Compile Include="Views\LoginPage.xaml.cs">
<DependentUpon>LoginPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\MenuView.xaml.cs">
<DependentUpon>MenuView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Nextcloud_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Images\ThumbnailNotFound.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Package.StoreAssociation.xml" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="AppShell.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\Fonts.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\MenuFlyoutIconItemStyle.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\SplitViewStyles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\FileUploadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MoveFileOrFolder.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\SingleFileDownloadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\FileInfoPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\SettingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\DirectoryListPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LoginPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MenuView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NextcloudClient\NextcloudClient.csproj">
<Project>{E2015378-CEFF-4913-A4A6-48706F2625D4}</Project>
<Name>NextcloudClient</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
<Folder Include="SampleData\" />
</ItemGroup>
<ItemGroup>
<SDKReference Include="BehaviorsXamlSDKManaged, Version=12.0">
<Name>Behaviors SDK %28XAML%29</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10586.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
>>>>>>> 37cbc702f3d249911906f1f3cbf785896d7fc0e1
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>
</Project>

Просмотреть файл

@ -0,0 +1,299 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{99EFB7EA-88A3-4FCF-9289-22734215B5CF}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NextcloudApp</RootNamespace>
<AssemblyName>NextcloudApp</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>NextcloudApp_StoreKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>FF3446F276329AC954729FBEA0FCDCB5FBBCB7A3</PackageCertificateThumbprint>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<Content Include="Assets\Fonts\nextcloud.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="NextcloudApp_StoreKey.pfx" />
<None Include="project.json" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
<PRIResource Include="Strings\en-US\Resources.resw" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="AppShell.xaml.cs">
<DependentUpon>AppShell.xaml</DependentUpon>
</Compile>
<Compile Include="Actions\OpenMenuFlyoutAction.cs" />
<Compile Include="Behaviors\ScrollListBoxToEndBehavior.cs" />
<Compile Include="Converter\FirstCharFromStringConverter.cs" />
<Compile Include="Converter\AddSlashToPathConverter.cs" />
<Compile Include="Converter\IsSortingToSelectionModeConverter.cs" />
<Compile Include="Converter\EmptyPathToSlashConverter.cs" />
<Compile Include="Models\MoveFileOrFolderPageParameters.cs" />
<Compile Include="Models\PageParameters.cs" />
<Compile Include="Models\SingleFileDownloadPageParameters.cs" />
<Compile Include="Models\FileUploadPageParameters.cs" />
<Compile Include="Models\FileInfoPageParameters.cs" />
<Compile Include="Models\PreviewImageDownloadModeItem.cs" />
<Compile Include="Services\ClientService.cs" />
<Compile Include="Services\DialogService.cs" />
<Compile Include="Services\DirectoryService.cs" />
<Compile Include="Services\ExceptionReportService.cs" />
<Compile Include="Services\MigrationService.cs" />
<Compile Include="Services\ResponseErrorHandlerService.cs" />
<Compile Include="Utils\PreviewImageDownloadMode.cs" />
<Compile Include="Utils\RelayCommand.cs" />
<Compile Include="Utils\SizeSorter.cs" />
<Compile Include="Converter\NullToVisibilityConverter.cs" />
<Compile Include="Converter\IsFileAndNotFolderToVisibilityConverter.cs" />
<Compile Include="Converter\IntToVisibilityConverter.cs" />
<Compile Include="Converter\BooleanToVisibilityConverter.cs" />
<Compile Include="Converter\BytesToHumanReadableConverter.cs" />
<Compile Include="Converter\ContentTypeToIconConverter.cs" />
<Compile Include="Converter\DateTimeToStringConverter.cs" />
<Compile Include="Models\FileOrFolder.cs" />
<Compile Include="Models\PathInfo.cs" />
<Compile Include="Models\Settings.cs" />
<Compile Include="PageTokens.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Services\LocalizationService.cs" />
<Compile Include="Services\SettingsService.cs" />
<Compile Include="Services\StatusBarService.cs" />
<Compile Include="Utils\Grouping.cs" />
<Compile Include="Utils\IRevertState.cs" />
<Compile Include="Utils\DateSorter.cs" />
<Compile Include="Utils\NameSorter.cs" />
<Compile Include="Utils\ObservableGroupingCollection.cs" />
<Compile Include="Utils\SortMode.cs" />
<Compile Include="ViewModels\FileUploadPageViewModel.cs" />
<Compile Include="ViewModels\MoveFileOrFolderPageViewModel.cs" />
<Compile Include="ViewModels\SingleFileDownloadPageViewModel.cs" />
<Compile Include="ViewModels\FileInfoPageViewModel.cs" />
<Compile Include="ViewModels\SettingsPageViewModel.cs" />
<Compile Include="ViewModels\DirectoryListPageViewModel.cs" />
<Compile Include="ViewModels\ViewModel.cs" />
<Compile Include="Views\FileUploadPage.xaml.cs">
<DependentUpon>FileUploadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MoveFileOrFolder.xaml.cs">
<DependentUpon>MoveFileOrFolder.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SingleFileDownloadPage.xaml.cs">
<DependentUpon>SingleFileDownloadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\FileInfoPage.xaml.cs">
<DependentUpon>FileInfoPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsPage.xaml.cs">
<DependentUpon>SettingsPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\DirectoryListPage.xaml.cs">
<DependentUpon>DirectoryListPage.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModels\LoginPageViewModel.cs" />
<Compile Include="Models\MenuItem.cs" />
<Compile Include="ViewModels\MenuViewModel.cs" />
<Compile Include="Views\LoginPage.xaml.cs">
<DependentUpon>LoginPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\MenuView.xaml.cs">
<DependentUpon>MenuView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Nextcloud_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Images\ThumbnailNotFound.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Package.StoreAssociation.xml" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="AppShell.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\Fonts.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\MenuFlyoutIconItemStyle.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\SplitViewStyles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\FileUploadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MoveFileOrFolder.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\SingleFileDownloadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\FileInfoPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\SettingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\DirectoryListPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LoginPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MenuView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NextcloudClient\NextcloudClient.csproj">
<Project>{E2015378-CEFF-4913-A4A6-48706F2625D4}</Project>
<Name>NextcloudClient</Name>
</ProjectReference>
<ProjectReference Include="..\WebDavClient\WebDavClient\WebDavClient.csproj">
<Project>{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}</Project>
<Name>WebDavClient</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
<Folder Include="SampleData\" />
</ItemGroup>
<ItemGroup>
<SDKReference Include="BehaviorsXamlSDKManaged, Version=12.0">
<Name>Behaviors SDK %28XAML%29</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10586.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>
</Project>

Просмотреть файл

@ -0,0 +1,309 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{99EFB7EA-88A3-4FCF-9289-22734215B5CF}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NextcloudApp</RootNamespace>
<AssemblyName>NextcloudApp</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>NextcloudApp_StoreKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>FF3446F276329AC954729FBEA0FCDCB5FBBCB7A3</PackageCertificateThumbprint>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<Content Include="Assets\Fonts\nextcloud.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Compile Include="Converter\IsFolderSyncedConverter.cs" />
<None Include="NextcloudApp_StoreKey.pfx" />
<None Include="project.json" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
<PRIResource Include="Strings\en-US\Resources.resw" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="AppShell.xaml.cs">
<DependentUpon>AppShell.xaml</DependentUpon>
</Compile>
<Compile Include="Actions\OpenMenuFlyoutAction.cs" />
<Compile Include="Behaviors\ScrollListBoxToEndBehavior.cs" />
<Compile Include="Converter\FirstCharFromStringConverter.cs" />
<Compile Include="Converter\AddSlashToPathConverter.cs" />
<Compile Include="Converter\IsSortingToSelectionModeConverter.cs" />
<Compile Include="Converter\EmptyPathToSlashConverter.cs" />
<Compile Include="Models\FolderSyncInfo.cs" />
<Compile Include="Models\MoveFileOrFolderPageParameters.cs" />
<Compile Include="Models\PageParameters.cs" />
<Compile Include="Models\SingleFileDownloadPageParameters.cs" />
<Compile Include="Models\FileUploadPageParameters.cs" />
<Compile Include="Models\FileInfoPageParameters.cs" />
<Compile Include="Models\PreviewImageDownloadModeItem.cs" />
<Compile Include="Services\ClientService.cs" />
<Compile Include="Services\DialogService.cs" />
<Compile Include="Services\DirectoryService.cs" />
<Compile Include="Services\ExceptionReportService.cs" />
<Compile Include="Services\MigrationService.cs" />
<Compile Include="Services\ResponseErrorHandlerService.cs" />
<Compile Include="Utils\DebugTraceListener.cs" />
<Compile Include="Utils\PreviewImageDownloadMode.cs" />
<Compile Include="Utils\RelayCommand.cs" />
<Compile Include="Utils\SizeSorter.cs" />
<Compile Include="Converter\NullToVisibilityConverter.cs" />
<Compile Include="Converter\IsFileAndNotFolderToVisibilityConverter.cs" />
<Compile Include="Converter\IntToVisibilityConverter.cs" />
<Compile Include="Converter\BooleanToVisibilityConverter.cs" />
<Compile Include="Converter\BytesToHumanReadableConverter.cs" />
<Compile Include="Converter\ContentTypeToIconConverter.cs" />
<Compile Include="Converter\DateTimeToStringConverter.cs" />
<Compile Include="Models\FileOrFolder.cs" />
<Compile Include="Models\PathInfo.cs" />
<Compile Include="Models\Settings.cs" />
<Compile Include="PageTokens.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Services\LocalizationService.cs" />
<Compile Include="Services\SettingsService.cs" />
<Compile Include="Services\StatusBarService.cs" />
<Compile Include="Utils\Grouping.cs" />
<Compile Include="Utils\IRevertState.cs" />
<Compile Include="Utils\DateSorter.cs" />
<Compile Include="Utils\NameSorter.cs" />
<Compile Include="Utils\ObservableGroupingCollection.cs" />
<Compile Include="Utils\SortMode.cs" />
<Compile Include="Utils\SyncDbUtils.cs" />
<Compile Include="ViewModels\FileUploadPageViewModel.cs" />
<Compile Include="ViewModels\MoveFileOrFolderPageViewModel.cs" />
<Compile Include="ViewModels\SingleFileDownloadPageViewModel.cs" />
<Compile Include="ViewModels\FileInfoPageViewModel.cs" />
<Compile Include="ViewModels\SettingsPageViewModel.cs" />
<Compile Include="ViewModels\DirectoryListPageViewModel.cs" />
<Compile Include="ViewModels\ViewModel.cs" />
<Compile Include="Views\FileUploadPage.xaml.cs">
<DependentUpon>FileUploadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MoveFileOrFolder.xaml.cs">
<DependentUpon>MoveFileOrFolder.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SingleFileDownloadPage.xaml.cs">
<DependentUpon>SingleFileDownloadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\FileInfoPage.xaml.cs">
<DependentUpon>FileInfoPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsPage.xaml.cs">
<DependentUpon>SettingsPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\DirectoryListPage.xaml.cs">
<DependentUpon>DirectoryListPage.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModels\LoginPageViewModel.cs" />
<Compile Include="Models\MenuItem.cs" />
<Compile Include="ViewModels\MenuViewModel.cs" />
<Compile Include="Views\LoginPage.xaml.cs">
<DependentUpon>LoginPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\MenuView.xaml.cs">
<DependentUpon>MenuView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Nextcloud_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Images\ThumbnailNotFound.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Package.StoreAssociation.xml" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="AppShell.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\Fonts.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\MenuFlyoutIconItemStyle.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\SplitViewStyles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\FileUploadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MoveFileOrFolder.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\SingleFileDownloadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\FileInfoPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\SettingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\DirectoryListPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LoginPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MenuView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NextcloudClient\NextcloudClient.csproj">
<Project>{E2015378-CEFF-4913-A4A6-48706F2625D4}</Project>
<Name>NextcloudClient</Name>
</ProjectReference>
<ProjectReference Include="..\WebDavClient\WebDavClient\WebDavClient.csproj">
<Project>{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}</Project>
<Name>WebDavClient</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
<Folder Include="SampleData\" />
</ItemGroup>
<ItemGroup>
<SDKReference Include="BehaviorsXamlSDKManaged, Version=12.0">
<Name>Behaviors SDK %28XAML%29</Name>
</SDKReference>
<SDKReference Include="Microsoft.VCLibs, Version=14.0">
<Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
</SDKReference>
<SDKReference Include="SQLite.UWP.2015, Version=3.15.1">
<Name>SQLite for Universal Windows Platform</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10586.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>
</Project>

Просмотреть файл

@ -0,0 +1,295 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{99EFB7EA-88A3-4FCF-9289-22734215B5CF}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NextcloudApp</RootNamespace>
<AssemblyName>NextcloudApp</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>NextcloudApp_StoreKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>FF3446F276329AC954729FBEA0FCDCB5FBBCB7A3</PackageCertificateThumbprint>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NETFX_CORE;WINDOWS_UWP;DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<Content Include="Assets\Fonts\nextcloud.ttf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="NextcloudApp_StoreKey.pfx" />
<None Include="project.json" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
<PRIResource Include="Strings\en-US\Resources.resw" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="AppShell.xaml.cs">
<DependentUpon>AppShell.xaml</DependentUpon>
</Compile>
<Compile Include="Actions\OpenMenuFlyoutAction.cs" />
<Compile Include="Behaviors\ScrollListBoxToEndBehavior.cs" />
<Compile Include="Converter\FirstCharFromStringConverter.cs" />
<Compile Include="Converter\AddSlashToPathConverter.cs" />
<Compile Include="Converter\IsSortingToSelectionModeConverter.cs" />
<Compile Include="Converter\EmptyPathToSlashConverter.cs" />
<Compile Include="Models\MoveFileOrFolderPageParameters.cs" />
<Compile Include="Models\PageParameters.cs" />
<Compile Include="Models\SingleFileDownloadPageParameters.cs" />
<Compile Include="Models\FileUploadPageParameters.cs" />
<Compile Include="Models\FileInfoPageParameters.cs" />
<Compile Include="Models\PreviewImageDownloadModeItem.cs" />
<Compile Include="Services\ClientService.cs" />
<Compile Include="Services\DialogService.cs" />
<Compile Include="Services\DirectoryService.cs" />
<Compile Include="Services\ExceptionReportService.cs" />
<Compile Include="Services\MigrationService.cs" />
<Compile Include="Services\ResponseErrorHandlerService.cs" />
<Compile Include="Utils\PreviewImageDownloadMode.cs" />
<Compile Include="Utils\RelayCommand.cs" />
<Compile Include="Utils\SizeSorter.cs" />
<Compile Include="Converter\NullToVisibilityConverter.cs" />
<Compile Include="Converter\IsFileAndNotFolderToVisibilityConverter.cs" />
<Compile Include="Converter\IntToVisibilityConverter.cs" />
<Compile Include="Converter\BooleanToVisibilityConverter.cs" />
<Compile Include="Converter\BytesToHumanReadableConverter.cs" />
<Compile Include="Converter\ContentTypeToIconConverter.cs" />
<Compile Include="Converter\DateTimeToStringConverter.cs" />
<Compile Include="Models\FileOrFolder.cs" />
<Compile Include="Models\PathInfo.cs" />
<Compile Include="Models\Settings.cs" />
<Compile Include="PageTokens.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Services\LocalizationService.cs" />
<Compile Include="Services\SettingsService.cs" />
<Compile Include="Services\StatusBarService.cs" />
<Compile Include="Utils\Grouping.cs" />
<Compile Include="Utils\IRevertState.cs" />
<Compile Include="Utils\DateSorter.cs" />
<Compile Include="Utils\NameSorter.cs" />
<Compile Include="Utils\ObservableGroupingCollection.cs" />
<Compile Include="Utils\SortMode.cs" />
<Compile Include="ViewModels\FileUploadPageViewModel.cs" />
<Compile Include="ViewModels\MoveFileOrFolderPageViewModel.cs" />
<Compile Include="ViewModels\SingleFileDownloadPageViewModel.cs" />
<Compile Include="ViewModels\FileInfoPageViewModel.cs" />
<Compile Include="ViewModels\SettingsPageViewModel.cs" />
<Compile Include="ViewModels\DirectoryListPageViewModel.cs" />
<Compile Include="ViewModels\ViewModel.cs" />
<Compile Include="Views\FileUploadPage.xaml.cs">
<DependentUpon>FileUploadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MoveFileOrFolder.xaml.cs">
<DependentUpon>MoveFileOrFolder.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SingleFileDownloadPage.xaml.cs">
<DependentUpon>SingleFileDownloadPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\FileInfoPage.xaml.cs">
<DependentUpon>FileInfoPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsPage.xaml.cs">
<DependentUpon>SettingsPage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\DirectoryListPage.xaml.cs">
<DependentUpon>DirectoryListPage.xaml</DependentUpon>
</Compile>
<Compile Include="ViewModels\LoginPageViewModel.cs" />
<Compile Include="Models\MenuItem.cs" />
<Compile Include="ViewModels\MenuViewModel.cs" />
<Compile Include="Views\LoginPage.xaml.cs">
<DependentUpon>LoginPage.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\MenuView.xaml.cs">
<DependentUpon>MenuView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="Nextcloud_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\Images\ThumbnailNotFound.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Package.StoreAssociation.xml" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="AppShell.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\Fonts.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Themes\MenuFlyoutIconItemStyle.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\SplitViewStyles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\FileUploadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MoveFileOrFolder.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\SingleFileDownloadPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\FileInfoPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\SettingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\DirectoryListPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LoginPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MenuView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NextcloudClient\NextcloudClient.csproj">
<Project>{E2015378-CEFF-4913-A4A6-48706F2625D4}</Project>
<Name>NextcloudClient</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
<Folder Include="SampleData\" />
</ItemGroup>
<ItemGroup>
<SDKReference Include="BehaviorsXamlSDKManaged, Version=12.0">
<Name>Behaviors SDK %28XAML%29</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10586.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>
</Project>

Просмотреть файл

@ -256,7 +256,7 @@ namespace NextcloudApp.Services
var success = false;
try
{
success = await client.CreateDirectory(path + "/" + directoryName);
success = await client.CreateDirectory(path + directoryName);
}
catch (ResponseError e)
{
@ -302,7 +302,7 @@ namespace NextcloudApp.Services
var success = false;
try
{
success = await client.Move(path + "/" + oldName, path + "/" + newName);
success = await client.Move(path + oldName, path + newName);
}
catch (ResponseError e)
{

Просмотреть файл

@ -0,0 +1,110 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NextcloudClient.Types;
using Windows.Storage;
using NextcloudClient.Exceptions;
using NextcloudApp.Models;
using Windows.Storage.FileProperties;
namespace NextcloudApp.Services
{
public class SyncService
{
private bool overrideLocally;
private bool overrideRemotely;
private FolderSyncInfo folderSyncInfo;
public SyncService(bool overrideLocally, bool overrideRemotely, FolderSyncInfo syncInfo)
{
this.overrideLocally = overrideLocally;
this.overrideRemotely = overrideRemotely;
this.folderSyncInfo = syncInfo;
}
/// <summary>
/// Initialize Synchronization
/// </summary>
/// <param name="resourceInfo">webdav Resource to sync</param>
/// <param name="folder">Target folder</param>
public async Task SyncFolder(ResourceInfo info, StorageFolder folder)
{
IReadOnlyList<StorageFile> localFiles = await folder.GetFilesAsync();
IReadOnlyList<StorageFolder> localFolders = await folder.GetFoldersAsync();
var client = ClientService.GetClient();
if (client == null)
{
return;
}
List<ResourceInfo> list = null;
try
{
list = await client.List(info.Path);
}
catch (ResponseError e)
{
ResponseErrorHandlerService.HandleException(e);
}
List<Task> syncTasks = new List<Task>();
List<IStorageItem> synced = new List<IStorageItem>();
if(list!=null && list.Count > 0)
{
foreach(ResourceInfo subInfo in list)
{
if(subInfo.IsDirectory())
{
IEnumerable<StorageFolder> localFoldersWithName = localFolders.Where(f => f.Name.Equals(subInfo.Name));
StorageFolder subFolder = localFoldersWithName.FirstOrDefault();
if(subFolder == null)
{
// create locally or delete remotely?
subFolder = await folder.CreateFolderAsync(subInfo.Name);
}
synced.Add(subFolder);
syncTasks.Add(SyncFolder(subInfo, subFolder));
// Can localFoldersWithName be null?
} else
{
IEnumerable<StorageFile> localFilessWithName = localFiles.Where(f => f.Name.Equals(subInfo.Name));
// Can localFilessWithName be null?
StorageFile subFile = localFilessWithName.FirstOrDefault();
if (subFile == null)
{
// create locally or delete remotely?
subFile = await folder.CreateFileAsync(subInfo.Name);
}
synced.Add(subFile);
syncTasks.Add(SyncFile(subInfo, subFile));
}
}
} else
{
foreach(StorageFile file in localFiles)
{
if(!synced.Contains(file))
{
// TODO Upload remotely or delete locally
}
}
foreach (StorageFolder localFolder in localFolders)
{
if (!synced.Contains(localFolder))
{
// TODO Upload remotely or delete locally
}
}
}
Task.WaitAll(syncTasks.ToArray());
}
private async Task SyncFile(ResourceInfo info, StorageFile file)
{
BasicProperties basicProperties = await file.GetBasicPropertiesAsync();
DateTimeOffset currentModified = basicProperties.DateModified;
string currentEtag = info.ETag;
// TODO read SyncInfoDetail from DB and compare ETag and DateModified
}
}
}

Просмотреть файл

@ -32,7 +32,8 @@
// Activate Tracing
db.TraceListener = new DebugTraceListener();
// Init tables
var c = db.CreateTable<FolderSyncInfo>();
db.CreateTable<FolderSyncInfo>();
db.CreateTable<SyncInfoDetail>();
return db;
}
}

Просмотреть файл

@ -149,10 +149,9 @@ namespace NextcloudApp.ViewModels
{
return;
}
var oldInfo = SyncDbUtils.GetFolderSyncInfoByPath(resourceInfo.Path);
if (oldInfo != null) {
if (resourceInfo.IsSynced) {
// If there exists an entry for this path - stop sync command has been triggered.
SyncDbUtils.DeleteFolderSyncInfo(oldInfo);
SyncDbUtils.DeleteFolderSyncInfo(SyncDbUtils.GetFolderSyncInfoByPath(resourceInfo.Path));
return;
}
// Start Sync
@ -168,8 +167,16 @@ namespace NextcloudApp.ViewModels
}
StorageApplicationPermissions.FutureAccessList.AddOrReplace(syncInfo.AccessListKey, folder);
SyncDbUtils.SaveFolderSyncInfo(syncInfo);
StartDirectoryListing(); // This is just to update the menu flyout - maybe there is a better war
// TODO initial sync
StartDirectoryListing(); // This is just to update the menu flyout - maybe there is a better way
IReadOnlyList<StorageFile> files = await folder.GetFilesAsync();
IReadOnlyList<StorageFolder> folders = await folder.GetFoldersAsync();
if (files.Count > 0 || folders.Count > 0)
{
// TODO Dialog to overwrite files locally or on server
}
SyncService service = new SyncService(true, false, syncInfo);
service.SyncFolder(resourceInfo, folder);
// TODO Dialog that sync has been started in background
}
private async void DeleteResource(object parameter)

Просмотреть файл

@ -229,8 +229,7 @@
<TextBlock
Text="{Binding Size, Converter={StaticResource BytesToHumanReadableConverter}}"
Foreground="{StaticResource SystemControlForegroundBaseMediumBrush}"
Margin="0,0,8,0"
Visibility="{Binding Converter={StaticResource IsFileAndNotFolderToVisibilityConverter}}"/>
Margin="0,0,8,0"/>
<TextBlock
Text="{Binding LastModified, Converter={StaticResource DateTimeToStringConverter}}"
Foreground="{StaticResource SystemControlForegroundBaseMediumBrush}"/>
@ -238,6 +237,9 @@
<interactivity:Interaction.Behaviors>
<core:EventTriggerBehavior EventName="Holding">
<actions:OpenMenuFlyoutAction />
</core:EventTriggerBehavior>
<core:EventTriggerBehavior EventName="RightTapped">
<actions:OpenMenuFlyoutAction />
</core:EventTriggerBehavior>
<core:EventTriggerBehavior EventName="RightTapped">

Просмотреть файл

@ -21038,8 +21038,8 @@
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net45/_._",
"ref/netcore50/System.Text.Encoding.Extensions.dll",
"ref/net45/_._",
"ref/netcore50/System.Text.Encoding.Extensions.xml",
"ref/netcore50/de/System.Text.Encoding.Extensions.xml",
"ref/netcore50/es/System.Text.Encoding.Extensions.xml",

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,68 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{E2015378-CEFF-4913-A4A6-48706F2625D4}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>NextcloudClient</RootNamespace>
<AssemblyName>NextcloudClient</AssemblyName>
<ReleaseVersion>0.1.0</ReleaseVersion>
<Description>A portable class library to interact with ownCloud servers through WebDAV and the ownCloud OCS API.</Description>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<DefaultLanguage>en</DefaultLanguage>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;;NETFX_CORE;WINDOWS_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<DocumentationFile>bin\Debug\NextcloudClient.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<DefineConstants>NETFX_CORE;WINDOWS_APP</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Exceptions\ResponseError.cs" />
<Compile Include="Exceptions\OCSResponseError.cs" />
<Compile Include="Types\PublicShare.cs" />
<Compile Include="Types\Share.cs" />
<Compile Include="Types\Status.cs" />
<Compile Include="Types\UserShare.cs" />
<Compile Include="Types\GroupShare.cs" />
<Compile Include="NextcloudClient.cs" />
<Compile Include="Types\OCS.cs" />
<Compile Include="Types\ResourceInfo.cs" />
<Compile Include="Constants.cs" />
<Compile Include="Types\Config.cs" />
<Compile Include="Types\AppAttribute.cs" />
<Compile Include="Types\User.cs" />
<Compile Include="Types\AppInfo.cs" />
<Compile Include="UrlBuilder.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WebDavClient\WebDavClient\WebDavClient.csproj">
<Project>{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}</Project>
<Name>WebDavClient</Name>
</ProjectReference>
</ItemGroup>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{E2015378-CEFF-4913-A4A6-48706F2625D4}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>NextcloudClient</RootNamespace>
<AssemblyName>NextcloudClient</AssemblyName>
<ReleaseVersion>0.1.0</ReleaseVersion>
<Description>A portable class library to interact with ownCloud servers through WebDAV and the ownCloud OCS API.</Description>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<DefaultLanguage>en</DefaultLanguage>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;;NETFX_CORE;WINDOWS_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<DocumentationFile>bin\Debug\NextcloudClient.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<DefineConstants>NETFX_CORE;WINDOWS_APP</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Exceptions\ResponseError.cs" />
<Compile Include="Exceptions\OCSResponseError.cs" />
<Compile Include="Types\PublicShare.cs" />
<Compile Include="Types\Share.cs" />
<Compile Include="Types\Status.cs" />
<Compile Include="Types\UserShare.cs" />
<Compile Include="Types\GroupShare.cs" />
<Compile Include="NextcloudClient.cs" />
<Compile Include="Types\OCS.cs" />
<Compile Include="Types\ResourceInfo.cs" />
<Compile Include="Constants.cs" />
<Compile Include="Types\Config.cs" />
<Compile Include="Types\AppAttribute.cs" />
<Compile Include="Types\User.cs" />
<Compile Include="Types\AppInfo.cs" />
<Compile Include="UrlBuilder.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
</Project>

Просмотреть файл

@ -91,6 +91,23 @@ namespace NextcloudClient.Types
{
return ContentType.Equals("dav/directory");
}
/// <summary>
/// Is this resource synced with a folder on the device
/// </summary>
public bool IsSynced
{
get
{
if(Path==null)
{
return false;
} else
{
return SyncDbUtils.GetFolderSyncInfoByPath(Path) != null;
}
}
}
}
}

Просмотреть файл

@ -1,9 +1,10 @@
{
"supports": {},
"dependencies": {
"Newtonsoft.Json": "9.0.1"
},
"frameworks": {
".NETCore,Version=v4.5.1": {}
}
{
"supports": {},
"dependencies": {
"Newtonsoft.Json": "9.0.1",
"PortableWebDavLibrary": "0.5.1"
},
"frameworks": {
".NETCore,Version=v4.5.1": {}
}
}

Просмотреть файл

@ -1,48 +1,72 @@
{
"locked": false,
"version": 1,
"targets": {
".NETCore,Version=v4.5.1": {
"Newtonsoft.Json/9.0.1": {
"compile": {
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll": {}
}
}
}
},
"libraries": {
"Newtonsoft.Json/9.0.1": {
"sha512": "U82mHQSKaIk+lpSVCbWYKNavmNH1i5xrExDEquU1i6I5pV6UMOqRnJRSlKO3cMPfcpp0RgDY+8jUXHdQ4IfXvw==",
"type": "package",
"path": "Newtonsoft.Json/9.0.1",
"files": [
"Newtonsoft.Json.9.0.1.nupkg.sha512",
"Newtonsoft.Json.nuspec",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml",
"tools/install.ps1"
]
}
},
"projectFileDependencyGroups": {
"": [
"Newtonsoft.Json >= 9.0.1"
],
".NETCore,Version=v4.5.1": []
}
{
"locked": false,
"version": 2,
"targets": {
".NETCore,Version=v4.5.1": {
"Newtonsoft.Json/9.0.1": {
"type": "package",
"compile": {
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll": {}
}
},
"PortableWebDavLibrary/0.5.1": {
"type": "package",
"compile": {
"lib/portable-Profile32/DecaTec.WebDav.Uwp.dll": {}
},
"runtime": {
"lib/portable-Profile32/DecaTec.WebDav.Uwp.dll": {}
}
}
}
},
"libraries": {
"Newtonsoft.Json/9.0.1": {
"sha512": "U82mHQSKaIk+lpSVCbWYKNavmNH1i5xrExDEquU1i6I5pV6UMOqRnJRSlKO3cMPfcpp0RgDY+8jUXHdQ4IfXvw==",
"type": "package",
"path": "Newtonsoft.Json/9.0.1",
"files": [
"Newtonsoft.Json.9.0.1.nupkg.sha512",
"Newtonsoft.Json.nuspec",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml",
"tools/install.ps1"
]
},
"PortableWebDavLibrary/0.5.1": {
"sha512": "WzEFvwrtqTMB0GFacjjbhwnPgyTzrsOLNTb7G9ms/Q+Ih6HpiUIL1d+BxqAaQN1pxfMegFoGXKRlILee7v1BMg==",
"type": "package",
"path": "PortableWebDavLibrary/0.5.1",
"files": [
"PortableWebDavLibrary.0.5.1.nupkg.sha512",
"PortableWebDavLibrary.nuspec",
"lib/DecaTec.WebDav.NetFx.dll",
"lib/portable-Profile32/DecaTec.WebDav.Uwp.dll"
]
}
},
"projectFileDependencyGroups": {
"": [
"Newtonsoft.Json >= 9.0.1",
"PortableWebDavLibrary >= 0.5.1"
],
".NETCore,Version=v4.5.1": []
},
"tools": {},
"projectFileToolGroups": {}
}

198
WebDavClient/.gitignore поставляемый
Просмотреть файл

@ -1,198 +0,0 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
# Visual Studo 2015 cache/options directory
.vs/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
packages

3
WebDavClient/.gitmodules поставляемый
Просмотреть файл

@ -1,3 +0,0 @@
[submodule "WebClient"]
path = WebClient
url = https://github.com/bnoffer/webclient.git

Просмотреть файл

@ -1,90 +0,0 @@

#GNU General Public License version 2 (GPLv2)
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
##Preamble
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification follow.
##TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
##NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Просмотреть файл

@ -1,22 +0,0 @@
#WebDAVNet is a client library for interacting with WebDAV written in C#.
Projects target is a fully RFC2518 compliant client to access and interact with WebDAV resources.
##Fork
This is a fork of the original project lokated here:
http://webdavnet.codeplex.com/
This fork was created as part of developing ownCloud# ( https://github.com/bnoffer/owncloud-sharp ) .
##Autors
Fork by:
Bastian Noffer ( [@bnoffer](https://github.com/bnoffer)
Original project authors:
[tloehlein](http://www.codeplex.com/site/users/view/tloehlein) - Project coordinator
[ChristianSchaefer](http://www.codeplex.com/site/users/view/ChristianSchaefer) - developers

Просмотреть файл

@ -1,35 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebDavClient", "WebDavClient\WebDavClient.csproj", "{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8542EC68-AD9A-49A0-857B-7D892649F419}"
ProjectSection(SolutionItems) = preProject
LICENSE.md = LICENSE.md
README.md = README.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebClient", "WebClient\WebClient.csproj", "{47C1D318-90F3-44DC-8307-9A4ADC556E2E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{47C1D318-90F3-44DC-8307-9A4ADC556E2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{47C1D318-90F3-44DC-8307-9A4ADC556E2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{47C1D318-90F3-44DC-8307-9A4ADC556E2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{47C1D318-90F3-44DC-8307-9A4ADC556E2E}.Release|Any CPU.Build.0 = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
description = "WebDavClient is a client library for interacting with WebDAV written in C#."
version = 0.3
EndGlobalSection
EndGlobal

Просмотреть файл

@ -1,29 +0,0 @@
namespace WebDavClient
{
/// <summary>
/// All supported web authentication types.
/// </summary>
public enum AuthType
{
/// <summary>
/// Basic authentication
/// </summary>
Basic,
/// <summary>
/// NTLM authentication.
/// </summary>
Ntlm,
/// <summary>
/// Digest authentication.
/// </summary>
Digest,
/// <summary>
/// Kerberos authentication.
/// </summary>
Kerberos,
/// <summary>
/// Negotiate the authentication between Client and Server.
/// </summary>
Negotiate
}
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,29 +0,0 @@
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("WebDavClient")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("")]
[assembly: AssemblyProduct ("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en")]
// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]

Просмотреть файл

@ -1,488 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Windows.Storage.Streams;
using Windows.Web.Http;
using Windows.Web.Http.Filters;
namespace WebDavClient
{
/// <summary>
/// Base manager class for handling all WebDav purpose.
/// </summary>
public class WebDavClient
{
#region PRIVATE PROPERTIES
private readonly HttpClient _client;
#endregion
#region CONSTRUCTORS
/// <summary>
/// Initializes a new instance of the <see cref="WebDavClient" /> class.
/// </summary>
public WebDavClient() : this(null)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="WebDavClient" /> class.
/// </summary>
/// <param name="credential">The credential.</param>
public WebDavClient(WebDavCredential credential)
{
var httpFilter = new HttpBaseProtocolFilter();
// Disable the write cache, so we can track the real upload progress
httpFilter.CacheControl.WriteBehavior = HttpCacheWriteBehavior.NoCache;
// Disable the UI mode, we will handle password entry in the app
httpFilter.AllowUI = false;
_client = new HttpClient(httpFilter);
_client.DefaultRequestHeaders["Pragma"] = "no-cache";
Credential = credential;
if (Credential == null)
{
return;
}
var encoded =
Convert.ToBase64String(
Encoding.GetEncoding("ISO-8859-1").GetBytes(Credential.UserName + ":" + Credential.Password));
_client.DefaultRequestHeaders["Authorization"] = "Basic " + encoded;
}
#endregion
#region PUBLIC PROPERTIES
/// <summary>
/// Gets or sets the credential.
/// </summary>
/// <value>The credential.</value>
public WebDavCredential Credential { get; }
/// <summary>
/// Gets or sets the timeout.
/// </summary>
/// <value>The timeout.</value>
public int Timeout { get; set; }
#endregion
#region PUBLIC METHODS
/// <summary>
/// Deletes the resource behind the specified Url.
/// </summary>
/// <param name="url">The Url.</param>
/// <returns>></returns>
public Task<bool> Delete(string url)
{
return Delete(new Uri(url));
}
/// <summary>
/// Deletes the resource behind the specified Uri.
/// </summary>
/// <param name="uri">The Uri.</param>
/// <returns>></returns>
public async Task<bool> Delete(Uri uri)
{
var response = await _client.DeleteAsync(uri);
if (response != null)
{
return response.StatusCode == HttpStatusCode.NoContent;
}
// TODO: Errorhandling
Debug.WriteLine("Empty WebResponse @'Delete'" + Environment.NewLine + uri);
return false;
}
/// <summary>
/// Creates a directory on the given Url address.
/// </summary>
/// <param name="url">The Url.</param>
/// <returns></returns>
public Task<bool> CreateDirectory(string url)
{
return CreateDirectory(new Uri(url));
}
/// <summary>
/// Creates a directory on the given Uri.
/// </summary>
/// <param name="uri">The Uri.</param>
/// <returns></returns>
public async Task<bool> CreateDirectory(Uri uri)
{
var request = new HttpRequestMessage(new HttpMethod("MKCOL"), uri);
var response = await _client.SendRequestAsync(request);
if (response != null)
{
return response.StatusCode == HttpStatusCode.Created;
}
// TODO: Errorhandling
Debug.WriteLine("Empty WebResponse @'CreateDirectory'" + Environment.NewLine + uri);
return false;
}
/// <summary>
/// Copies the resource of the specified source Url to the target Url.
/// </summary>
/// <param name="sourceUrl">The source Url.</param>
/// <param name="targetUrl">The target Url.</param>
/// <returns></returns>
public Task<bool> Copy(string sourceUrl, string targetUrl)
{
return Copy(new Uri(sourceUrl), new Uri(targetUrl));
}
/// <summary>
/// Copies the resource of the specified source Uri to the target Uri.
/// </summary>
/// <param name="sourceUri">The source Uri.</param>
/// <param name="targetUri">The target Uri.</param>
/// <returns></returns>
public async Task<bool> Copy(Uri sourceUri, Uri targetUri)
{
var request = new HttpRequestMessage(new HttpMethod("COPY"), sourceUri);
request.Headers["Destination"] = targetUri.ToString();
// TODO: Handle overwrite
//request.Headers["Overwrite"] = "F"; // No Overwrite
var response = await _client.SendRequestAsync(request);
if (response != null)
{
return
response.StatusCode == HttpStatusCode.Created ||
response.StatusCode == HttpStatusCode.NoContent;
}
// TODO: Errorhandling
Debug.WriteLine("Empty WebResponse @'Copy'" + Environment.NewLine + sourceUri);
return false;
}
/// <summary>
/// Moves the resource of the specified source Url to the target Url.
/// </summary>
/// <param name="sourceUrl">The source Url.</param>
/// <param name="targetUrl">The target Url.</param>
/// <returns></returns>
public Task<bool> Move(string sourceUrl, string targetUrl)
{
return Move(new Uri(sourceUrl), new Uri(targetUrl));
}
/// <summary>
/// Moves the resource of the specified source Uri to the target Uri.
/// </summary>
/// <param name="sourceUri">The source Uri.</param>
/// <param name="targetUri">The target Uri.</param>
/// <returns></returns>
public async Task<bool> Move(Uri sourceUri, Uri targetUri)
{
var request = new HttpRequestMessage(new HttpMethod("MOVE"), sourceUri);
request.Headers["Destination"] = targetUri.ToString();
// TODO: Handle overwrite take a look at http://www.ietf.org/rfc/rfc2518.txt first
//request.Headers["Overwrite"] = "F"; // No Overwrite
//request.Headers["Overwrite"] = "T"; // ???
var response = await _client.SendRequestAsync(request);
if (response != null)
{
return
response.StatusCode == HttpStatusCode.Created ||
response.StatusCode == HttpStatusCode.NoContent;
}
// TODO: Errorhandling
Debug.WriteLine("Empty WebResponse @'Move'" + Environment.NewLine + sourceUri);
return false;
}
/// <summary>
/// Checks if a resource exists on the specified Url.
/// </summary>
/// <param name="url">The Url.</param>
/// <returns></returns>
public Task<bool> Exists(string url)
{
return Exists(new Uri(url));
}
/// <summary>
/// Checks if a resource exists on the specified Uri.
/// </summary>
/// <param name="uri">The Uri.</param>
/// <returns></returns>
public async Task<bool> Exists(Uri uri)
{
var request = new HttpRequestMessage(new HttpMethod("HEAD"), uri);
var response = await _client.SendRequestAsync(request);
if (response != null)
{
return response.StatusCode == HttpStatusCode.Ok;
}
// TODO: Errorhandling
Debug.WriteLine("Empty WebResponse @'Exists'" + Environment.NewLine + uri);
return false;
}
/// <summary>
/// Lists all resources on the specified Url.
/// </summary>
/// <param name="url">The Url.</param>
/// <returns></returns>
public Task<List<WebDavResource>> List(string url)
{
return List(new Uri(url));
}
/// <summary>
/// Lists all resources on the specified Uri.
/// </summary>
/// <param name="uri">The Uri.</param>
/// <returns></returns>
public async Task<List<WebDavResource>> List(Uri uri)
{
var request = new HttpRequestMessage(new HttpMethod("PROPFIND"), uri);
// Retrieve only the requested folder
request.Headers["Depth"] = "1";
var response = await _client.SendRequestAsync(request);
if (response != null)
{
return ExtractResources(await response.Content.ReadAsInputStreamAsync(), uri.AbsolutePath,
$"{uri.Scheme}://{uri.Host}");
}
// TODO: Errorhandling
Debug.WriteLine("Empty WebResponse @'List'" + Environment.NewLine + uri);
return new List<WebDavResource>();
}
/// <summary>
/// Uploads the file.
/// </summary>
/// <param name="url">The Url.</param>
/// <param name="stream"></param>
/// <param name="contentType">The files content type.</param>
/// <param name="cts"></param>
/// <param name="progress"></param>
/// <returns>true on success, false on error</returns>
public Task<HttpResponseMessage> UploadFile(string url, IRandomAccessStream stream, string contentType,
CancellationTokenSource cts, IProgress<HttpProgress> progress)
{
return UploadFile(new Uri(url), stream, contentType, cts, progress);
}
/// <summary>
/// Uploads the file.
/// </summary>
/// <param name="uri">The Uri.</param>
/// <param name="stream"></param>
/// <param name="contentType">The files content type.</param>
/// <param name="cts"></param>
/// <param name="progress"></param>
/// <returns>true on success, false on error</returns>
public async Task<HttpResponseMessage> UploadFile(Uri uri, IRandomAccessStream stream, string contentType,
CancellationTokenSource cts, IProgress<HttpProgress> progress)
{
var inputStream = stream.GetInputStreamAt(0);
var streamContent = new HttpStreamContent(inputStream);
streamContent.Headers["Content-Type"] = contentType;
streamContent.Headers["Content-Length"] = stream.Size.ToString();
return await _client.PutAsync(uri, streamContent).AsTask(cts.Token, progress);
}
/// <summary>
/// Downloads the file.
/// </summary>
/// <param name="url">The Url.</param>
/// <param name="cts">The CTS.</param>
/// <param name="progress">The progress.</param>
/// <returns>
/// File contents.
/// </returns>
public async Task<IBuffer> DownloadFile(string url, CancellationTokenSource cts, IProgress<HttpProgress> progress)
{
return await DownloadFile(new Uri(url), cts, progress);
}
/// <summary>
/// Downloads the file.
/// </summary>
/// <param name="uri">The URI.</param>
/// <param name="cts">The CTS.</param>
/// <param name="progress">The progress.</param>
/// <returns></returns>
public async Task<IBuffer> DownloadFile(Uri uri, CancellationTokenSource cts, IProgress<HttpProgress> progress)
{
return await _client.GetBufferAsync(uri).AsTask(cts.Token, progress);
}
#endregion
#region PRIVATE METHODS
/// <summary>
/// Extracts the resources.
/// </summary>
/// <param name="stream">The stream.</param>
/// <param name="rootpath">The rootpath.</param>
/// <param name="fullpath">The fullpath.</param>
/// <returns></returns>
private static List<WebDavResource> ExtractResources(IInputStream stream, string rootpath, string fullpath)
{
var webDavResources = new List<WebDavResource>();
try
{
TextReader treader = new StreamReader(stream.AsStreamForRead());
var xml = treader.ReadToEnd();
treader.Dispose();
//Debug.WriteLine(xml);
var xdoc = XDocument.Parse(xml);
foreach (var element in xdoc.Descendants(XName.Get("response", "DAV:")))
{
var resource = new WebDavResource();
// Do not add hidden files
// Hidden files cannot be downloaded from the IIs
// For further information see http://support.microsoft.com/kb/216803/
var prop = element.Descendants(XName.Get("prop", "DAV:")).FirstOrDefault();
var node = prop.Element(XName.Get("ishidden", "DAV:"));
if ((node != null) && (node.Value == "1"))
{
continue;
}
node = prop.Element(XName.Get("displayname", "DAV:"));
if (node != null)
{
resource.Name = node.Value;
}
node = element.Element(XName.Get("href", "DAV:"));
if (node != null)
{
Uri href;
if (Uri.TryCreate(node.Value, UriKind.Absolute, out href))
{
resource.Uri = href;
}
else if (Uri.TryCreate($"{fullpath}{node.Value}", UriKind.Absolute, out href))
{
resource.Uri = href;
}
}
node = prop.Element(XName.Get("getcontentlength", "DAV:"));
if (node != null)
{
resource.Size = int.Parse(node.Value, CultureInfo.CurrentCulture);
}
node = prop.Element(XName.Get("creationdate", "DAV:"));
if (node != null)
{
resource.Created = DateTime.Parse(node.Value, CultureInfo.CurrentCulture);
}
node = prop.Element(XName.Get("getlastmodified", "DAV:"));
if (node != null)
{
resource.Modified = DateTime.Parse(node.Value, CultureInfo.CurrentCulture);
}
// Check if the resource is a collection
var xElement = prop.Element(XName.Get("resourcetype", "DAV:"));
if (xElement != null)
{
node = xElement.Element(XName.Get("collection", "DAV:"));
}
resource.IsDirectory = node != null;
node = prop.Element(XName.Get("getcontenttype", "DAV:"));
if (node != null)
{
resource.ContentType = node.Value;
}
node = prop.Element(XName.Get("getetag", "DAV:"));
if (node != null)
{
resource.Etag = node.Value;
}
node = prop.Element(XName.Get("quota-used-bytes", "DAV:"));
if (node != null)
{
resource.QuotaUsed = long.Parse(node.Value);
}
node = prop.Element(XName.Get("quota-available-bytes", "DAV:"));
if (node != null)
{
resource.QutoaAvailable = long.Parse(node.Value);
}
if (resource.Name == null && resource.Uri != null)
{
resource.Name = resource.IsDirectory
? resource.Uri.Segments.Last().TrimEnd('/')
: resource.Uri.Segments.Last();
if (resource.Uri.AbsolutePath.Equals(rootpath))
{
resource.Name = "/";
}
}
webDavResources.Add(resource);
}
}
catch (Exception e)
{
// TODO: Implement better error handling
Debug.WriteLine(e.Message);
webDavResources = new List<WebDavResource>();
}
return webDavResources;
}
#endregion
}
}

Просмотреть файл

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{4AD0BDDE-D9AF-49F8-912C-4B6970CBE1BA}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>WebDavClient</RootNamespace>
<AssemblyName>WebDavClient</AssemblyName>
<Description> WebDAVNet is a client library for interacting with WebDAV written in C#.</Description>
<ReleaseVersion>0.1.0</ReleaseVersion>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<DefaultLanguage>en</DefaultLanguage>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;;NETFX_CORE;WINDOWS_APP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<DefineConstants>NETFX_CORE;WINDOWS_APP</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="AuthType.cs" />
<Compile Include="WebDavCredential.cs" />
<Compile Include="WebDavClient.cs" />
<Compile Include="WebDavProperty.cs" />
<Compile Include="WebDavResource.cs" />
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<Import Project="$(SolutionDir)\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
</Project>

Просмотреть файл

@ -1,69 +0,0 @@
using System.Net;
namespace WebDavClient
{
/// <summary>
/// WebDavCredential class is an extension of the NetworkCredential class to support Web authentication.
/// </summary>
public class WebDavCredential : NetworkCredential
{
#region PUBLIC PROPERTIES
/// <summary>
/// Gets or sets the type of the authentication.
/// </summary>
/// <value>The type of the authentication.</value>
public AuthType AuthenticationType { get; set; }
#endregion
#region CONSTRUCTORS
/// <summary>
/// Initializes a new instance of the <see cref="WebDavCredential" /> class.
/// </summary>
/// <param name="user">The user.</param>
/// <param name="password">The password.</param>
public WebDavCredential(string user, string password)
: this(user, password, string.Empty)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="WebDavCredential" /> class.
/// </summary>
/// <param name="user">The user.</param>
/// <param name="password">The password.</param>
/// <param name="authType">Type of the authentication.</param>
public WebDavCredential(string user, string password, AuthType authType)
: this(user, password, string.Empty, authType)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="WebDavCredential" /> class.
/// </summary>
/// <param name="user">The user.</param>
/// <param name="password">The password.</param>
/// <param name="domain">The domain.</param>
public WebDavCredential(string user, string password, string domain)
: this(user, password, domain, AuthType.Basic)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="WebDavCredential" /> class.
/// </summary>
/// <param name="user">The user.</param>
/// <param name="password">The password.</param>
/// <param name="domain">The domain.</param>
/// <param name="authType">Type of the authentication.</param>
public WebDavCredential(string user, string password, string domain, AuthType authType)
: base(user, password, domain)
{
AuthenticationType = authType;
}
#endregion
}
}

Просмотреть файл

@ -1,63 +0,0 @@
namespace WebDavClient
{
/// <summary>
/// All supported DAV Properties according to RFC 2518 - http://www.ietf.org/rfc/rfc2518.txt
/// </summary>
public enum WebDavProperty
{
/// <summary>
/// Creation date.
/// </summary>
CreationDate,
/// <summary>
/// Display name.
/// </summary>
DisplayName,
/// <summary>
/// Content language.
/// </summary>
GetContentLanguage,
/// <summary>
/// Content length.
/// </summary>
GetContentLength,
/// <summary>
/// Content type.
/// </summary>
GetContentType,
/// <summary>
/// ETag.
/// </summary>
GetEtag,
/// <summary>
/// Last modification.
/// </summary>
GetLastModified,
/// <summary>
/// Lock discovery.
/// </summary>
LockDiscovery,
/// <summary>
/// Resource type.
/// </summary>
ResourceType,
/// <summary>
/// Source.
/// </summary>
Source,
/// <summary>
/// Supported lock.
/// </summary>
Supportedlock
}
}

Просмотреть файл

@ -1,72 +0,0 @@
using System;
namespace WebDavClient
{
/// <summary>
/// Description of WebDavResource.
/// </summary>
public class WebDavResource
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the size.
/// </summary>
/// <value>The size.</value>
public long Size { get; set; }
/// <summary>
/// Gets or sets the Uri.
/// </summary>
/// <value>The Uri.</value>
public Uri Uri { get; set; }
/// <summary>
/// Gets or sets the creation date.
/// </summary>
/// <value>The created.</value>
public DateTime Created { get; set; }
/// <summary>
/// Gets or sets the modification date.
/// </summary>
/// <value>The modified.</value>
public DateTime Modified { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this resource is a directory.
/// </summary>
/// <value>
/// <c>true</c> if this resource is a directory; otherwise, <c>false</c>.
/// </value>
public bool IsDirectory { get; set; }
/// <summary>
/// Gets or sets a value indicating the contenttype of a file.
/// </summary>
/// <value>The file content type.</value>
public string ContentType { get; set; }
/// <summary>
/// Gets or sets the etag.
/// </summary>
/// <value>The etag.</value>
public string Etag { get; set; }
/// <summary>
/// Gets or sets the quota used in bytes.
/// </summary>
/// <value>The quota used.</value>
public long QuotaUsed { get; set; }
/// <summary>
/// Gets or sets the qutoa available in bytes.
/// </summary>
/// <value>The qutoa available.</value>
public long QutoaAvailable { get; set; }
}
}

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="portable-monoandroid10+monotouch10+net45+win+wp8+xamarinios10+xamarinmac20" requireReinstallation="true" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10" />
</packages>

Просмотреть файл

@ -1,7 +0,0 @@
{
"supports": {},
"dependencies": {},
"frameworks": {
".NETCore,Version=v4.5.1": {}
}
}

Просмотреть файл

@ -1,12 +0,0 @@
{
"locked": false,
"version": 2,
"targets": {
".NETCore,Version=v4.5.1": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"": [],
".NETCore,Version=v4.5.1": []
}
}