-fixed: delete directory bug
-changed: warnings are no errors any more
This commit is contained in:
parent
895efb2682
commit
387a4f8b34
|
@ -167,7 +167,7 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
||||||
|
|
||||||
public static string ExtractFileName(string fileName) {
|
public static string ExtractFileName(string fileName) {
|
||||||
//Uri.UnescapeDataString(childUri.Segments.Last().TrimEnd('/', '\\')));
|
//Uri.UnescapeDataString(childUri.Segments.Last().TrimEnd('/', '\\')));
|
||||||
return Path.GetFileName(fileName);
|
return Path.GetFileName(fileName.Trim('/', '\\'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<DocumentationFile>bin\Release\WebDAVSharp.Server.XML</DocumentationFile>
|
<DocumentationFile>bin\Release\WebDAVSharp.Server.XML</DocumentationFile>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
<DefineConstants>TRACE;USE_RELEASE_KEY</DefineConstants>
|
<DefineConstants>TRACE;USE_RELEASE_KEY</DefineConstants>
|
||||||
<DocumentationFile>bin\Release\WebDAVSharp.Server.XML</DocumentationFile>
|
<DocumentationFile>bin\Release\WebDAVSharp.Server.XML</DocumentationFile>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
@ -62,10 +62,10 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Common.Logging">
|
<Reference Include="Common.Logging">
|
||||||
<HintPath>..\..\WebDavSharp\Example-master\packages\Common.Logging.2.2.0\lib\net40\Common.Logging.dll</HintPath>
|
<HintPath>packages\Common.Logging.2.2.0\lib\net40\Common.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Common.Logging.Core">
|
<Reference Include="Common.Logging.Core">
|
||||||
<HintPath>..\..\WebDavSharp\Example-master\packages\Common.Logging.Core.2.2.0\lib\net40\Common.Logging.Core.dll</HintPath>
|
<HintPath>packages\Common.Logging.Core.2.2.0\lib\net40\Common.Logging.Core.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|
Loading…
Reference in New Issue