From e3b22b773c67e8505cdeb0a827ac86cecf7e2f9f Mon Sep 17 00:00:00 2001 From: sibille Date: Fri, 28 May 2021 11:16:52 +0200 Subject: [PATCH] Exclude CA1416 warnings from project --- .../Default.Blank/wts.ProjectName/wts.ProjectName.csproj | 5 +++++ .../Projects/Default/wts.ProjectName/wts.ProjectName.csproj | 5 +++++ .../Param_ProjectName/Param_ProjectName_postaction.csproj | 3 +-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/WinUI/Projects/Default.Blank/wts.ProjectName/wts.ProjectName.csproj b/templates/WinUI/Projects/Default.Blank/wts.ProjectName/wts.ProjectName.csproj index c4bd9afe5b..5e933d8d90 100644 --- a/templates/WinUI/Projects/Default.Blank/wts.ProjectName/wts.ProjectName.csproj +++ b/templates/WinUI/Projects/Default.Blank/wts.ProjectName/wts.ProjectName.csproj @@ -9,6 +9,11 @@ win10-x86;win10-x64;win10-arm64 + + + CA1416, $(NoWarn) + + diff --git a/templates/WinUI/Projects/Default/wts.ProjectName/wts.ProjectName.csproj b/templates/WinUI/Projects/Default/wts.ProjectName/wts.ProjectName.csproj index 2fdb1b54b8..f576f024e2 100644 --- a/templates/WinUI/Projects/Default/wts.ProjectName/wts.ProjectName.csproj +++ b/templates/WinUI/Projects/Default/wts.ProjectName/wts.ProjectName.csproj @@ -9,6 +9,11 @@ win10-x86;win10-x64;win10-arm64 + + + CA1416, $(NoWarn) + + diff --git a/templates/WinUI/SC/StyleCop/Param_ProjectName/Param_ProjectName_postaction.csproj b/templates/WinUI/SC/StyleCop/Param_ProjectName/Param_ProjectName_postaction.csproj index 3b5f850fa2..ac5ca2eda9 100644 --- a/templates/WinUI/SC/StyleCop/Param_ProjectName/Param_ProjectName_postaction.csproj +++ b/templates/WinUI/SC/StyleCop/Param_ProjectName/Param_ProjectName_postaction.csproj @@ -3,9 +3,8 @@ net5.0-windows10.0.19041.0 - + true - 1701;1702;CA1416 \ No newline at end of file