mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
New: Treat compile warnings as errors
This commit is contained in:
parent
28d24d4278
commit
10b53ccf20
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
<Project>
|
||||
<!-- Common to all Lidarr Projects -->
|
||||
<PropertyGroup>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
|
||||
<LidarrRootDir>$(MSBuildThisFileDirectory)..\</LidarrRootDir>
|
||||
|
||||
<!-- Specifies the type of output -->
|
||||
|
@ -63,6 +65,7 @@
|
|||
|
||||
<Deterministic Condition="$(AssemblyVersion.EndsWith('*'))">False</Deterministic>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Set the AssemblyConfiguration attribute for projects -->
|
||||
<ItemGroup Condition="'$(LidarrProject)'=='true'">
|
||||
<AssemblyAttribute Include="System.Reflection.AssemblyConfigurationAttribute">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue