mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 04:12:32 +08:00
[ci]Fix build error introduced by C# tools update (#22779)
* Fix build error introduced by C# tools update * Remove duplicate project properties - included in Directory.Build.props
This commit is contained in:
parent
9cf404250b
commit
a2c0febccc
@ -17,8 +17,6 @@
|
||||
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
|
||||
<PackageProjectUrl>https://awake.den.dev</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/microsoft/powertoys</RepositoryUrl>
|
||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||
<AnalysisMode>Recommended</AnalysisMode>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info -->
|
||||
|
@ -132,7 +132,7 @@ namespace Awake.Core
|
||||
TrayIcon.Text = text;
|
||||
}
|
||||
|
||||
private class CheckButtonToolStripMenuItemAccessibleObject : ToolStripItem.ToolStripItemAccessibleObject
|
||||
private sealed class CheckButtonToolStripMenuItemAccessibleObject : ToolStripItem.ToolStripItemAccessibleObject
|
||||
{
|
||||
private CheckButtonToolStripMenuItem _menuItem;
|
||||
|
||||
@ -153,7 +153,7 @@ namespace Awake.Core
|
||||
public override string Name => _menuItem.Text + ", " + Role + ", " + (_menuItem.Checked ? "Checked" : "Unchecked");
|
||||
}
|
||||
|
||||
private class CheckButtonToolStripMenuItem : ToolStripMenuItem
|
||||
private sealed class CheckButtonToolStripMenuItem : ToolStripMenuItem
|
||||
{
|
||||
public CheckButtonToolStripMenuItem()
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ using Windows.Win32.System.Power;
|
||||
|
||||
namespace Awake
|
||||
{
|
||||
internal class Program
|
||||
internal sealed class Program
|
||||
{
|
||||
// PowerToys Awake build code name. Used for exact logging
|
||||
// that does not map to PowerToys broad version schema to pinpoint
|
||||
|
Loading…
Reference in New Issue
Block a user