Skip to content

hlaueriksson/Community.PowerToys.Run.Plugin.Dependencies

Repository files navigation

Community.PowerToys.Run.Plugin.Dependencies

package Community.PowerToys.Run.Plugin.Dependencies Mentioned in Awesome PowerToys Run Plugins

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.87.0" />

Example

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>
<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.

About

This NuGet package simplifies referencing all PowerToys Run Plugin dependencies.

Topics

Resources

License

Stars

Watchers

Forks