Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

silenced warnings on mono build

  • Loading branch information...
commit fb44621c71b1e159050ab95dcb365778745fc3be 1 parent 8765066
@jkowalski authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  src/Mono.targets
  2. +1 −0  src/NLog/NLog.mono2.csproj
View
1  src/Mono.targets
@@ -46,6 +46,7 @@
<MonoCommandLine Condition="'$(WarningLevel)' != ''">$(MonoCommandLine) /warn:$(WarningLevel)</MonoCommandLine>
<MonoCommandLine Condition="'$(OutputType)' == 'Exe'">$(MonoCommandLine) /target:exe</MonoCommandLine>
<MonoCommandLine Condition="'$(OutputType)' == 'Library'">$(MonoCommandLine) /target:library</MonoCommandLine>
+ <MonoCommandLine Condition="'$(NoWarn)' != ''">$(MonoCommandLine) /nowarn:$(NoWarn)</MonoCommandLine>
<MonoCommandLine>$(MonoCommandLine) /out:"$(OutputAssemblyPath)"</MonoCommandLine>
<MonoCommandLine>$(MonoCommandLine)@(Reference ->' /reference:"%(Identity)"', '')</MonoCommandLine>
<MonoCommandLine>$(MonoCommandLine)@(FileReference ->' /reference:"%(Identity)"', '')</MonoCommandLine>
View
1  src/NLog/NLog.mono2.csproj
@@ -14,6 +14,7 @@
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NLog.snk</AssemblyOriginatorKeyFile>
+ <NoWarn>0419</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Please sign in to comment.
Something went wrong with that request. Please try again.