Skip to content

Commit 4190ef4

Browse files
committed
REFACTOR: Treat warnings as errors in core and code-gen projects
1 parent 02ca6a5 commit 4190ef4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

XrmPluginCore.SourceGenerator/XrmPluginCore.SourceGenerator.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<IsRoslynComponent>true</IsRoslynComponent>
66
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
77
<IsPackable>false</IsPackable>
8+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
89
</PropertyGroup>
910

1011
<ItemGroup>

XrmPluginCore/XrmPluginCore.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<PackageTags>xrm,crm,dataverse,daxif,delegate,context&amp;,contextand,xrmmockup,xrmsync</PackageTags>
1111
<IncludeSymbols>True</IncludeSymbols>
1212
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
13+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1314
</PropertyGroup>
1415
<ItemGroup>
1516
<None Include="..\LICENSE">

0 commit comments

Comments
 (0)