Skip to content

Latest commit

 

History

History
91 lines (63 loc) · 2.85 KB

File metadata and controls

91 lines (63 loc) · 2.85 KB

Community.PowerToys.Run.Plugin.Dependencies

package Community.PowerToys.Run.Plugin.Dependencies

This NuGet package simplifies referencing all PowerToys Run Plugin dependencies.

It contains the ARM64 and x64 versions of:

  • PowerToys.Common.UI.dll
  • PowerToys.ManagedCommon.dll
  • PowerToys.Settings.UI.Lib.dll
  • Wox.Infrastructure.dll
  • Wox.Plugin.dll

Installation

.NET CLI:

dotnet add package Community.PowerToys.Run.Plugin.Dependencies

Package Manager:

PM> NuGet\Install-Package Community.PowerToys.Run.Plugin.Dependencies

PackageReference:

<PackageReference Include="Community.PowerToys.Run.Plugin.Dependencies" Version="0.86.0" />

Example

Example of a .csproj file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
    <UseWPF>true</UseWPF>
    <Platforms>x64;ARM64</Platforms>
    <PlatformTarget>$(Platform)</PlatformTarget>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Community.PowerToys.Run.Plugin.Dependencies" Version="0.86.0" />
  </ItemGroup>

  <ItemGroup>
    <None Include="plugin.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="Images/*.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>

</Project>

Use these properties:

<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<UseWPF>true</UseWPF>
  • Enable UseWPF to include necessary WPF libraries
<Platforms>x64;ARM64</Platforms>
<PlatformTarget>$(Platform)</PlatformTarget>

Disclaimer

This is not an official Microsoft PowerToys package.

The DLLs are built from source and pushed to NuGet with a GitHub Actions workflow.