-change: remove unwhanted compiler warnings (update of code comments still needed)
This commit is contained in:
parent
53853347f3
commit
895e04b46a
|
@ -20,21 +20,21 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
||||||
/// <see cref="WebDavServer" /> and
|
/// <see cref="WebDavServer" /> and
|
||||||
/// <see cref="IWebDavStore" />.
|
/// <see cref="IWebDavStore" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="uri">The <see cref="Uri" /> to retrieve the store item for.</param>
|
|
||||||
/// <param name="server">The <see cref="WebDavServer" /> that hosts the <paramref name="store" />.</param>
|
/// <param name="server">The <see cref="WebDavServer" /> that hosts the <paramref name="store" />.</param>
|
||||||
/// <param name="store">The <see cref="IWebDavStore" /> from which to retrieve the store item.</param>
|
/// <param name="store">The <see cref="IWebDavStore" /> from which to retrieve the store item.</param>
|
||||||
|
/// <param name="fileName">The store-relative path to the store item.</param>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// The retrieved store item.
|
/// The retrieved store item.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
/// <exception cref="System.ArgumentNullException"><para>
|
/// <exception cref="System.ArgumentNullException"><para>
|
||||||
/// <paramref name="uri" /> is <c>null</c>.</para>
|
/// <paramref name="fileName" /> is <c>null</c>.</para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// <paramref name="server" /> is <c>null</c>.</para>
|
/// <paramref name="server" /> is <c>null</c>.</para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// <paramref name="store" /> is <c>null</c>.</para></exception>
|
/// <paramref name="store" /> is <c>null</c>.</para></exception>
|
||||||
/// <exception cref="WebDAVSharp.Server.Exceptions.WebDavNotFoundException">If the item was not found.</exception>
|
/// <exception cref="WebDAVSharp.Server.Exceptions.WebDavNotFoundException">If the item was not found.</exception>
|
||||||
/// <exception cref="WebDavConflictException"><paramref name="uri" /> refers to a document in a collection, where the collection does not exist.</exception>
|
/// <exception cref="WebDavConflictException"><paramref name="fileName" /> refers to a document in a collection, where the collection does not exist.</exception>
|
||||||
/// <exception cref="WebDavNotFoundException"><paramref name="uri" /> refers to a document that does not exist.</exception>
|
/// <exception cref="WebDavNotFoundException"><paramref name="fileName" /> refers to a document that does not exist.</exception>
|
||||||
public static IWebDavStoreItem GetItem(WebDavServer server, IWebDavStore store, String fileName) {
|
public static IWebDavStoreItem GetItem(WebDavServer server, IWebDavStore store, String fileName) {
|
||||||
if (server == null)
|
if (server == null)
|
||||||
throw new ArgumentNullException("server");
|
throw new ArgumentNullException("server");
|
||||||
|
@ -84,7 +84,6 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="server">The <see cref="WebDavServer" /> through which the request came in from the client.</param>
|
/// <param name="server">The <see cref="WebDavServer" /> through which the request came in from the client.</param>
|
||||||
/// <param name="store">The <see cref="IWebDavStore" /> that the <see cref="WebDavServer" /> is hosting.</param>
|
/// <param name="store">The <see cref="IWebDavStore" /> that the <see cref="WebDavServer" /> is hosting.</param>
|
||||||
/// <param name="childUri">The <see cref="Uri" /> object containing the specific location of the child</param>
|
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// The parrent collection as an <see cref="IWebDavStoreCollection" />
|
/// The parrent collection as an <see cref="IWebDavStoreCollection" />
|
||||||
/// </returns>
|
/// </returns>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="..\..\..\Common\packages\Microsoft.Net.Compilers.2.4.0\build\Microsoft.Net.Compilers.props" Condition="Exists('..\..\..\Common\packages\Microsoft.Net.Compilers.2.4.0\build\Microsoft.Net.Compilers.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
@ -16,6 +17,8 @@
|
||||||
</TargetFrameworkProfile>
|
</TargetFrameworkProfile>
|
||||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||||
<RestorePackages>true</RestorePackages>
|
<RestorePackages>true</RestorePackages>
|
||||||
|
<NuGetPackageImportStamp>
|
||||||
|
</NuGetPackageImportStamp>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
@ -29,6 +32,7 @@
|
||||||
<DocumentationFile>bin\Debug\WebDAVSharp.Server.XML</DocumentationFile>
|
<DocumentationFile>bin\Debug\WebDAVSharp.Server.XML</DocumentationFile>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
|
<NoWarn>1572,1573,1591,1734</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
|
@ -41,6 +45,7 @@
|
||||||
<DocumentationFile>bin\Release\WebDAVSharp.Server.XML</DocumentationFile>
|
<DocumentationFile>bin\Release\WebDAVSharp.Server.XML</DocumentationFile>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
|
<NoWarn>1572,1573,1591</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseBinaries|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseBinaries|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseBinaries\</OutputPath>
|
<OutputPath>bin\ReleaseBinaries\</OutputPath>
|
||||||
|
@ -141,6 +146,12 @@
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
||||||
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Error Condition="!Exists('..\..\..\Common\packages\Microsoft.Net.Compilers.2.4.0\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\Common\packages\Microsoft.Net.Compilers.2.4.0\build\Microsoft.Net.Compilers.props'))" />
|
||||||
|
</Target>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Common.Logging" version="2.2.0" targetFramework="net45" />
|
<package id="Common.Logging" version="2.2.0" targetFramework="net45" />
|
||||||
<package id="Common.Logging.Core" version="2.2.0" targetFramework="net45" />
|
<package id="Common.Logging.Core" version="2.2.0" targetFramework="net45" />
|
||||||
|
<package id="Microsoft.Net.Compilers" version="2.4.0" targetFramework="net45" developmentDependency="true" />
|
||||||
</packages>
|
</packages>
|
Loading…
Reference in New Issue