Ignore CS1699 w/WarningsAsErrors

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent 0ba3d35537
commit d36a61a0de
  1. 5
      DotNetBuilder/Compiler.cs

@ -44,6 +44,11 @@ namespace MicroBuildServer.DotNetBuilder
private void OnError(object sender, BuildErrorEventArgs e)
{
if (e.Code == "CS1699")
{
//Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFileAttribute' (#CS1699)
return;
}
Messages.Add(Response.Message.CreateError(GetLine("{0} (#{1}, {2}:{3},{4})", e.Message, e.Code, e.File, e.LineNumber, e.ColumnNumber)));
}

Loading…
Cancel
Save