Update issue #940 Status: Fixed I took another approach and now manually parse and encode these strings. This is done to avoid using System.Uri.EscapeUriString because it has some subtle issues: http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
178 lines
7.4 KiB
XML
178 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.30729</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{DE3E5D4C-51AB-4E5E-BEE8-E636CEBFBA65}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Duplicati.Library.Utility</RootNamespace>
|
|
<AssemblyName>Duplicati.Library.Utility</AssemblyName>
|
|
<SignAssembly>True</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>Duplicati.snk</AssemblyOriginatorKeyFile>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<UpgradeBackupLocation>
|
|
</UpgradeBackupLocation>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>True</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>True</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="AsyncHttpRequest.cs" />
|
|
<Compile Include="KeyGenerator.cs" />
|
|
<Compile Include="OverrideableStream.cs" />
|
|
<Compile Include="ProgressReportingStream.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Sizeparser.cs" />
|
|
<Compile Include="SslCertificateValidator.cs" />
|
|
<Compile Include="Strings\FilenameFilter.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>FilenameFilter.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Strings\Sizeparser.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Sizeparser.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Strings\SslCertificateValidator.Designer.cs">
|
|
<DependentUpon>SslCertificateValidator.resx</DependentUpon>
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
</Compile>
|
|
<Compile Include="Strings\TempFolder.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>TempFolder.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Strings\Timeparser.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Timeparser.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Strings\Utility.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Utility.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="TempFile.cs" />
|
|
<Compile Include="TempFileStream.cs" />
|
|
<Compile Include="TempFolder.cs" />
|
|
<Compile Include="ThrottledStream.cs" />
|
|
<Compile Include="Timeparser.cs" />
|
|
<Compile Include="UrlUtillity.cs" />
|
|
<Compile Include="Utility.cs" />
|
|
<Compile Include="Win32.cs" />
|
|
<Compile Include="WorkerThread.cs" />
|
|
<Compile Include="CommandLineParser.cs" />
|
|
<Compile Include="BlockingQueue.cs" />
|
|
<Compile Include="DatabaseUpgrader.cs" />
|
|
<Compile Include="SQLiteLoader.cs" />
|
|
<Compile Include="Strings\DatabaseUpgrader.Designer.cs">
|
|
<DependentUpon>DatabaseUpgrader.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Uri.cs" />
|
|
<Compile Include="Strings\Uri.Designer.cs">
|
|
<DependentUpon>Uri.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="IFilter.cs" />
|
|
<Compile Include="FilterExpression.cs" />
|
|
<Compile Include="FileBackedList.cs" />
|
|
<Compile Include="JoinedFilterExpression.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="app.config" />
|
|
<None Include="Duplicati.snk" />
|
|
<None Include="Strings\DatabaseUpgrader.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>DatabaseUpgrader.Designer.cs</LastGenOutput>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Strings\FilenameFilter.resx">
|
|
<SubType>Designer</SubType>
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>FilenameFilter.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Strings\Sizeparser.resx">
|
|
<SubType>Designer</SubType>
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Sizeparser.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Strings\SslCertificateValidator.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>SslCertificateValidator.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Strings\TempFolder.resx">
|
|
<SubType>Designer</SubType>
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>TempFolder.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Strings\Timeparser.resx">
|
|
<SubType>Designer</SubType>
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Timeparser.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Strings\Utility.resx">
|
|
<SubType>Designer</SubType>
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Utility.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Strings\Uri.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Uri.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.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>
|
|
-->
|
|
<ItemGroup>
|
|
<Folder Include="SQLite\" />
|
|
<Folder Include="SQLite\pinvoke\" />
|
|
<Folder Include="SQLite\win32\" />
|
|
<Folder Include="SQLite\win64\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="..\..\..\thirdparty\SQLite\win64\System.Data.SQLite.dll">
|
|
<Link>SQLite\win64\System.Data.SQLite.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\..\thirdparty\SQLite\win32\System.Data.SQLite.dll">
|
|
<Link>SQLite\win32\System.Data.SQLite.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\..\thirdparty\SQLite\pinvoke\System.Data.SQLite.dll">
|
|
<Link>SQLite\pinvoke\System.Data.SQLite.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project> |