Skip to content

Commit

Permalink
[Microsoft.Plugin.WindowWalker] Enable analyzer and fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCodeDeveloper committed Feb 24, 2022
1 parent ddc075d commit eea2ed3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal class OpenWindows
/// <summary>
/// PowerLauncher main executable
/// </summary>
private static readonly string _powerLauncherExe = Path.GetFileName(Process.GetCurrentProcess().MainModule.FileName);
private static readonly string _powerLauncherExe = Path.GetFileName(Environment.ProcessPath);

/// <summary>
/// List of all the open windows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<Platforms>x64</Platforms>
<NeutralLanguage>en-US</NeutralLanguage>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>Recommended</AnalysisMode>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand Down

0 comments on commit eea2ed3

Please sign in to comment.