WinUICommunity.ContextMenuExtensions 5.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package WinUICommunity.ContextMenuExtensions --version 5.0.0                
NuGet\Install-Package WinUICommunity.ContextMenuExtensions -Version 5.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WinUICommunity.ContextMenuExtensions" Version="5.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinUICommunity.ContextMenuExtensions --version 5.0.0                
#r "nuget: WinUICommunity.ContextMenuExtensions, 5.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WinUICommunity.ContextMenuExtensions as a Cake Addin
#addin nuget:?package=WinUICommunity.ContextMenuExtensions&version=5.0.0

// Install WinUICommunity.ContextMenuExtensions as a Cake Tool
#tool nuget:?package=WinUICommunity.ContextMenuExtensions&version=5.0.0                

<p align="center"> <a href="https://github.com/WinUICommunity"> <img alt="projects" src="https://img.shields.io/badge/WinUICommunity-Projects-green"></img> </a> <a href="https://www.nuget.org/profiles/WinUICommunity"> <img alt="WinuiCommunity Nugets" src="https://img.shields.io/badge/WinUICommunity-Nugets-green"></img> </a> <a href="https://www.nuget.org/packages/WinUICommunity.ContextMenuExtensions"> <img alt="nuget-version" src="https://img.shields.io/nuget/v/WinUICommunity.ContextMenuExtensions.svg"></img> </a> <a href="https://www.nuget.org/packages/WinUICommunity.ContextMenuExtensions"> <img alt="Installed" src="https://img.shields.io/nuget/dt/WinUICommunity.ContextMenuExtensions?color=brightgreen&label=Installs"></img> </a> <a href="https://ghost1372.github.io/winUICommunity/"> <img alt="Docs" src="https://img.shields.io/badge/Document-Here-critical"></img> </a> </p>

<br> <p align="center"> <b>🙌 Donate Bitcoin with <a href="https://link.trustwallet.com/send?coin=0&address=bc1qzs4kt4aeqym6gsde669g5rksv4swjhzjqqp23a">Trust</a>🙌</b><br> <b>🙌 Donate ETH with <a href="https://link.trustwallet.com/send?coin=60&address=0x40Db4476c1D498b167f76A2c7ED9D45b65eb5d0C">Trust</a>🙌</b><br><br> <b>🙌 Bitcoin: bc1qzs4kt4aeqym6gsde669g5rksv4swjhzjqqp23a<br></b> <b>🙌 ETH: 0x40Db4476c1D498b167f76A2c7ED9D45b65eb5d0C</b> </p> <br>

ContextMenuExtensions

add a new ContextMenu for Windows 11/10.

Install-Package WinUICommunity.ContextMenuExtensions

After installing, add the following codes to Package.appxmanifest

<Extensions>
    <desktop4:Extension Category="windows.fileExplorerContextMenus">
        <desktop4:FileExplorerContextMenus>
            <desktop5:ItemType Type="Directory"  >
                <desktop5:Verb Id="CustomMenu" Clsid="46F650E5-9959-48D6-AC13-A9637C5B3787" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="*"  >
                <desktop5:Verb Id="CustomMenu" Clsid="46F650E5-9959-48D6-AC13-A9637C5B3787" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="Directory\Background">
                <desktop5:Verb Id="CustomMenu" Clsid="46F650E5-9959-48D6-AC13-A9637C5B3787" />
            </desktop5:ItemType>
        </desktop4:FileExplorerContextMenus>
    </desktop4:Extension>
    <com:Extension Category="windows.comServer">
        <com:ComServer>
            <com:SurrogateServer  DisplayName="Custome Context Menu">
                <com:Class Id="46F650E5-9959-48D6-AC13-A9637C5B3787" Path="ContextMenuCustomHost.dll" ThreadingModel="STA"/>
            </com:SurrogateServer>
        </com:ComServer>
    </com:Extension>
    <uap3:Extension Category="windows.appExecutionAlias">
        <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="App5.exe"/>
        </uap3:AppExecutionAlias>
    </uap3:Extension>
</Extensions>

change App5.exe to your project name.

read the docs to see how to use it

Namespace

We moved all namespaces into a single namespace. No matter which (WinUICommunity) library you use, the namespace is always as follows For use in the Xaml:

xmlns:wuc="using:WinUICommunity"

For use in the Csharp:

using WinUICommunity;

Documentation

See Here for Online Documentation

Product Compatible and additional computed target framework versions.
.NET net6.0-windows10.0.17763 is compatible.  net6.0-windows10.0.19041 is compatible.  net7.0-windows was computed.  net7.0-windows10.0.17763 is compatible.  net7.0-windows10.0.19041 is compatible.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.1.0 69 11/19/2024
7.0.0 108 11/13/2024
7.0.0-Preview4 93 10/19/2024
7.0.0-Preview2 72 10/5/2024
7.0.0-Preview1 76 9/25/2024
6.9.0 440 6/12/2024
6.8.0 215 5/5/2024
6.7.0 185 4/13/2024
6.6.0 195 3/15/2024
6.5.0 233 3/1/2024
6.4.0 291 2/15/2024
6.3.0 347 1/25/2024
6.2.0 294 1/23/2024
6.1.0 379 1/20/2024
6.0.0 491 12/29/2023
5.5.0 588 11/20/2023
5.4.0 464 11/19/2023
5.3.0 503 10/12/2023
5.2.0 615 9/22/2023
5.1.1 573 9/18/2023
5.1.0 580 9/4/2023
5.0.2 611 7/30/2023
5.0.1 613 7/30/2023
5.0.0 610 7/30/2023