ClickOnceApplicationDeploymentWrapper 1.0.6
dotnet add package ClickOnceApplicationDeploymentWrapper --version 1.0.6
NuGet\Install-Package ClickOnceApplicationDeploymentWrapper -Version 1.0.6
<PackageReference Include="ClickOnceApplicationDeploymentWrapper" Version="1.0.6" />
paket add ClickOnceApplicationDeploymentWrapper --version 1.0.6
#r "nuget: ClickOnceApplicationDeploymentWrapper, 1.0.6"
// Install ClickOnceApplicationDeploymentWrapper as a Cake Addin #addin nuget:?package=ClickOnceApplicationDeploymentWrapper&version=1.0.6 // Install ClickOnceApplicationDeploymentWrapper as a Cake Tool #tool nuget:?package=ClickOnceApplicationDeploymentWrapper&version=1.0.6
ClickOnceApplicationDeployment
DLL designed to ease transition of ClickOnce applications from .NetFramwork to .Net by providing a unified library to both .NetFramework and .Net5 projects that utilize ClickOnce. Provider has been designed to mimick System.Deployment.ApplicationDeployment class. Depending on the target framework, different methods will be used by the dll to provide the core ClickOnce functionality. Targets: Net472, Net48, .NetCoreApp3.1, and .Net5-windows
.NetFramework utilizes system.deployment.dll
.Net compatibility provided by:
- https://github.com/derskythe/WpfSettings
- https://gitlab.com/Syroot/KnownFolders/
- Both of the above assemblies had their relevant code extracted and compiled into this dll in order to avoid versioning conflicts.
Available as a NuGet package here: https://www.nuget.org/packages/ClickOnceApplicationDeploymentWrapper/
Usage
NameSpace: RFBApplicationDeployment
RFBApplicationDeployment.ClickOnceApplicationDeployment.EntryApplication
- This static object will act as your main interaction point.
- If needed, other objects can be constructed that have different publish paths.
- To set the publish path (where the app will get its updates from) in .Net applications, use then SetupEntryApplication(string) method.
- This will Recreate the static object using the new string as the update path.
The underlying providers are still accessible if needed, but the ClickOnceApplicationDeployment object wraps their methods and properties in a way to make the code-base simpler, eliminating #if {TARGET}
statements from the caller's code.
This also adds in the ability to use cancellation tokens with the System.Deployment.Dll methods.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows7.0 is compatible. 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. 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 is compatible. net481 was computed. |
-
.NETCoreApp 3.1
- System.Security.Principal.Windows (>= 4.0.0)
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
net5.0-windows7.0
- System.Security.Principal.Windows (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.