mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[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:
committed by
GitHub
parent
f4f8a1bd69
commit
2e3a2b3f96
@@ -16,6 +16,7 @@ using Moq;
|
||||
namespace GcodePreviewHandlerUnitTests
|
||||
{
|
||||
[STATestClass]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "new Exception() is fine in test projects.")]
|
||||
public class GcodePreviewHandlerTest
|
||||
{
|
||||
[TestMethod]
|
||||
|
||||
@@ -16,6 +16,7 @@ using Moq;
|
||||
namespace PdfPreviewHandlerUnitTests
|
||||
{
|
||||
[STATestClass]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "new Exception() is fine in test projects.")]
|
||||
public class PdfPreviewHandlerTest
|
||||
{
|
||||
[TestMethod]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user