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
.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.87.0" />
Example of a .csproj
file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.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.87.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>net9.0-windows10.0.22621.0</TargetFramework>
- The target framework for the official plugins is defined in Common.Dotnet.CsWinRT.props
<UseWPF>true</UseWPF>
- Enable
UseWPF
to include necessary WPF libraries
<Platforms>x64;ARM64</Platforms>
<PlatformTarget>$(Platform)</PlatformTarget>
- The official plugins target both the
x64
andARM64
platforms in Directory.Build.props
This is not an official Microsoft PowerToys package.
The DLLs are built from source and pushed to NuGet with a GitHub Actions workflow.