[meta]common csproj/vcxproj settings to Directory.Build.props (#17067)

* Add common csproj/vcxproj settings to Directory.Build.props

* Set TreatWarningsAsErrors to true for all c# projects

* Minor fixes in unit test projects where Analyzers where not enabled before

* Clean up Directory.Build.props

* Remove properties from ImageResizer csprojs files
This commit is contained in:
CleanCodeDeveloper
2022-03-18 17:47:18 +01:00
committed by GitHub
parent f4f8a1bd69
commit 2e3a2b3f96
8 changed files with 24 additions and 34 deletions

View File

@@ -17,6 +17,7 @@ using PreviewHandlerCommon;
namespace SvgPreviewHandlerUnitTests
{
[STATestClass]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "new Exception() is fine in test projects.")]
public class SvgPreviewControlTests
{
[TestMethod]