Browse Source

Fix warning

master
yashen 8 years ago
parent
commit
e855710cfa
4 changed files with 3 additions and 2 deletions
  1. +1
    -0
      B3WeChat.Web/B3WeChat.Web.csproj
  2. +1
    -0
      B3WeChat/B3WeChat.csproj
  3. +0
    -1
      B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs
  4. +1
    -1
      B3WeChat/Utils/XmlUtil.cs

+ 1
- 0
B3WeChat.Web/B3WeChat.Web.csproj View File

@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>


+ 1
- 0
B3WeChat/B3WeChat.csproj View File

@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>


+ 0
- 1
B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs View File

@ -6,7 +6,6 @@ using System.Linq;
using System.Text;
using TSingSoft.WebPluginFramework;
using TSingSoft.WebPluginFramework.TimerTasks;
using TSingSoft.WebPluginFramework;
namespace BWP.B3WeChat.Tasks
{
public class ClearExpiredApproveMessagesTask


+ 1
- 1
B3WeChat/Utils/XmlUtil.cs View File

@ -29,7 +29,7 @@ namespace BWP.B3WeChat.Utils
return xmldes.Deserialize(sr);
}
}
catch (Exception e)
catch (Exception)
{
return null;


Loading…
Cancel
Save