Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 1d8b014

Browse files
committed
Supress C# compile warnings
Supress CS0414: The private field 'field' is assigned but its value is never used. Supress CS1701: Assuming assembly reference "Assembly Name #1" matches "Assembly Name #2", you may need to supply runtime policy.
1 parent c626d34 commit 1d8b014

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/GitTools.Core.Tests/GitTools.Core.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<ErrorReport>prompt</ErrorReport>
2626
<WarningLevel>4</WarningLevel>
2727
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
28-
<NoWarn>1591</NoWarn>
28+
<NoWarn>1591,1701</NoWarn>
2929
</PropertyGroup>
3030
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3131
<DebugType>pdbonly</DebugType>

src/GitTools.Core/GitTools.Core.NET40/GitTools.Core.NET40.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<WarningLevel>4</WarningLevel>
2828
<DocumentationFile>..\..\..\output\Debug\GitTools.Core\net4\GitTools.Core.xml</DocumentationFile>
2929
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
30-
<NoWarn>1591</NoWarn>
30+
<NoWarn>1591,414</NoWarn>
3131
</PropertyGroup>
3232
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3333
<DebugType>pdbonly</DebugType>

src/GitTools.Core/GitTools.Core.NET45/GitTools.Core.NET45.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<WarningLevel>4</WarningLevel>
2727
<DocumentationFile>..\..\..\output\Debug\GitTools.Core\net45\GitTools.Core.xml</DocumentationFile>
2828
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
29-
<NoWarn>1591</NoWarn>
29+
<NoWarn>1591,414</NoWarn>
3030
</PropertyGroup>
3131
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3232
<DebugType>pdbonly</DebugType>

0 commit comments

Comments
 (0)