Skip to content

Commit

Permalink
【新增】忽略MSbuild构建时一些警告信息
Browse files Browse the repository at this point in the history
  • Loading branch information
hueifeng committed Oct 13, 2021
1 parent dc33a1d commit ca5112d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Version>2.5.6.2</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<NoWarn>1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<Authors>雪雁</Authors>
Expand Down
4 changes: 0 additions & 4 deletions src/EPPlus/EPPlus/ExcelCellBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ private static string Translate(string value, dlgTransl addressTranslator, int r
/// <param name="part">the value to be translated</param>
/// <param name="row"></param>
/// <param name="col"></param>
/// <param name="rowIncr"></param>
/// <param name="colIncr"></param>
/// <returns></returns>
private static string ToR1C1(string part, int row, int col)
{
Expand Down Expand Up @@ -188,8 +186,6 @@ private static string ToR1C1_1(string part, int row, int col)
/// <param name="part"></param>
/// <param name="row"></param>
/// <param name="col"></param>
/// <param name="rowIncr"></param>
/// <param name="colIncr"></param>
/// <returns></returns>
private static string ToAbs(string part, int row, int col)
{
Expand Down
2 changes: 1 addition & 1 deletion src/EPPlus/EPPlus/Packaging/DotNetZip/CRC32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ public Int32 Crc
/// </summary>
/// <remarks>
/// <para>
/// Set this at any point before calling <see cref="Close()"/>.
/// Set this at any point before calling.
/// </para>
/// </remarks>
public bool LeaveOpen
Expand Down
5 changes: 1 addition & 4 deletions src/MagicodesWebSite/Controllers/XlsxFileResultTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Magicodes.ExporterAndImporter.Excel;
using Magicodes.ExporterAndImporter.Excel.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace MagicodesWebSite.Controllers
Expand Down Expand Up @@ -49,7 +46,7 @@ public async Task<ActionResult> ByStream()
/// </summary>
/// <returns></returns>
[HttpGet("ByList")]
public async Task<ActionResult> ByList()
public ActionResult ByList()
{
var list = GenFu.GenFu.ListOf<ExportTestDataWithAttrs>(100);
return new XlsxFileResult<ExportTestDataWithAttrs>(data: list);
Expand Down

0 comments on commit ca5112d

Please # to comment.