AppsFolderDialog 0.0.1
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AppsFolderDialog --version 0.0.1
NuGet\Install-Package AppsFolderDialog -Version 0.0.1
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="AppsFolderDialog" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AppsFolderDialog --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AppsFolderDialog, 0.0.1"
#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 AppsFolderDialog as a Cake Addin #addin nuget:?package=AppsFolderDialog&version=0.0.1 // Install AppsFolderDialog as a Cake Tool #tool nuget:?package=AppsFolderDialog&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AppsFolderDialog
Provide a dialog box to select installed app from local machine.
the selected item is Application User Model ID ,You can run it in the following way
- Run dialog
shell:appsfolder\xxx
- C#
System.Diagnostic.Process.Start("explorer.exe","shell:appsfolder\xxx");
Example
System.Diagnostic.Process.Start("explorer.exe","shell:appsfolder\Microsoft.Windows.MediaPlayer32"); //open Windows Media Player
Preview
https://github.com/TianXiaTech/AppsFolderDialog/assets/22126367/76a04910-6261-4811-9233-814f802eb7ed
Usage
PM>NuGet\Install-Package AppsFolderDialog -Version 0.0.1
AppsFolderDialog.AppsFolderDialog appsFolderDialog = new AppsFolderDialog.AppsFolderDialog();
var result = await appsFolderDialog.ShowDialog();
if(result)
{
//this.listbox.ItemsSource = appsFolderDialog.SelectedPath.ToList();
foreach (var item in appsFolderDialog.SelectedPath)
{
switch(item.PathType)
{
case AppsFolderDialog.PathType.Absolute:
//Absolute
System.Diagnostics.Process.Start(item.Path);
break;
case AppsFolderDialog.PathType.AUMID:
//AUMID
System.Diagnostics.Process.Start("explorer.exe", item.Path);
break;
case AppsFolderDialog.PathType.Folder:
//Folder
break;
default:
break;
}
}
}
LICENSE
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows10.0.17763 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
net6.0-windows10.0.17763
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Add basic app selection