Add SecurityCodeScan static code analyzer (#6636)

* Added SecurityCodeScan to all projects

* Enable analysing of content items
This commit is contained in:
Ronald Barendse
2019-10-29 19:37:15 +01:00
committed by Sebastiaan Janssen
parent 3a111eceb3
commit 7f0a077f58
4 changed files with 27 additions and 3 deletions

View File

@@ -31,6 +31,7 @@
(see FindAppConfigFile target in detailed build output)
-->
<AppConfig>Web.config</AppConfig>
<AdditionalFileItemNames>$(AdditionalFileItemNames);Content</AdditionalFileItemNames>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -104,6 +105,11 @@
</PackageReference>
<PackageReference Include="MiniProfiler" Version="4.0.138" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="SecurityCodeScan">
<Version>3.3.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Umbraco.ModelsBuilder.Ui">
<Version>8.1.0</Version>
</PackageReference>