From 7f0a077f588b42761c42eb268faeced61bba6538 Mon Sep 17 00:00:00 2001 From: Ronald Barendse Date: Tue, 29 Oct 2019 19:37:15 +0100 Subject: [PATCH] Add SecurityCodeScan static code analyzer (#6636) * Added SecurityCodeScan to all projects * Enable analysing of content items --- src/Umbraco.Core/Umbraco.Core.csproj | 8 +++++++- src/Umbraco.Examine/Umbraco.Examine.csproj | 8 +++++++- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 6 ++++++ src/Umbraco.Web/Umbraco.Web.csproj | 8 +++++++- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/Umbraco.Core.csproj b/src/Umbraco.Core/Umbraco.Core.csproj index 309dc97b81..ffe20afdb3 100755 --- a/src/Umbraco.Core/Umbraco.Core.csproj +++ b/src/Umbraco.Core/Umbraco.Core.csproj @@ -10,6 +10,7 @@ Umbraco.Core ..\ + $(AdditionalFileItemNames);Content true @@ -60,6 +61,11 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all + + 3.3.0 + runtime; build; native; contentfiles; analyzers + all + 1.3.0 @@ -1565,4 +1571,4 @@ - \ No newline at end of file + diff --git a/src/Umbraco.Examine/Umbraco.Examine.csproj b/src/Umbraco.Examine/Umbraco.Examine.csproj index e30d355dfe..24408cd7d4 100644 --- a/src/Umbraco.Examine/Umbraco.Examine.csproj +++ b/src/Umbraco.Examine/Umbraco.Examine.csproj @@ -10,6 +10,7 @@ Umbraco.Examine ..\ + $(AdditionalFileItemNames);Content true @@ -56,6 +57,11 @@ + + 3.3.0 + runtime; build; native; contentfiles; analyzers + all + @@ -104,4 +110,4 @@ - \ No newline at end of file + diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index f1ae2010db..ca4c8e106d 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -31,6 +31,7 @@ (see FindAppConfigFile target in detailed build output) --> Web.config + $(AdditionalFileItemNames);Content true @@ -104,6 +105,11 @@ + + 3.3.0 + runtime; build; native; contentfiles; analyzers + all + 8.1.0 diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index e04adc9e84..41c2d93489 100755 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -13,6 +13,7 @@ true Off + $(AdditionalFileItemNames);Content true @@ -88,6 +89,11 @@ + + 3.3.0 + runtime; build; native; contentfiles; analyzers + all + @@ -1272,4 +1278,4 @@ - \ No newline at end of file +