This NuGet package simplifies referencing all PowerToys Run Plugin dependencies.
It contains the ARM64 and x64 versions of:
PowerToys.Common.UI.dllPowerToys.ManagedCommon.dllPowerToys.Settings.UI.Lib.dllWox.Infrastructure.dllWox.Plugin.dll
.NET CLI:
dotnet add package Community.PowerToys.Run.Plugin.DependenciesPackage Manager:
PM> NuGet\Install-Package Community.PowerToys.Run.Plugin.DependenciesPackageReference:
<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
UseWPFto include necessary WPF libraries
<Platforms>x64;ARM64</Platforms>
<PlatformTarget>$(Platform)</PlatformTarget>
- The official plugins target both the
x64andARM64platforms 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.