ClickOnceApplicationDeploymentWrapper 1.0.6

dotnet add package ClickOnceApplicationDeploymentWrapper --version 1.0.6
NuGet\Install-Package ClickOnceApplicationDeploymentWrapper -Version 1.0.6
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="ClickOnceApplicationDeploymentWrapper" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClickOnceApplicationDeploymentWrapper --version 1.0.6
#r "nuget: ClickOnceApplicationDeploymentWrapper, 1.0.6"
#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 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 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. 
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
1.0.6 3,004 6/9/2022
1.0.5 384 6/9/2022
1.0.4 1,062 3/31/2022