ClickOnceApplicationDeploymentWrapper 1.0.4

Additional Details

This package requires an additional reference to SyRoot.KnownFolders NuGet Package v.1.2.3.

This nuget package v1.0.5 provides that required dll into its package.
V1.0.6 extracts the relevant code and compiles all three dlls into a single dll to avoid potential conflicts / missing requirements. As such, 1.0.6 is recommended.

There is a newer version of this package available.
See the version list below for details.
dotnet add package ClickOnceApplicationDeploymentWrapper --version 1.0.4                
NuGet\Install-Package ClickOnceApplicationDeploymentWrapper -Version 1.0.4                
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.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClickOnceApplicationDeploymentWrapper --version 1.0.4                
#r "nuget: ClickOnceApplicationDeploymentWrapper, 1.0.4"                
#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.4

// Install ClickOnceApplicationDeploymentWrapper as a Cake Tool
#tool nuget:?package=ClickOnceApplicationDeploymentWrapper&version=1.0.4                

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

.Net compatibility provided by: https://github.com/derskythe/WpfSettings
.NetFramework utilizes system.deployment.dll

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.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net5.0-windows7.0

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

Version Downloads Last updated
1.0.6 3,907 6/9/2022
1.0.5 420 6/9/2022
1.0.4 1,231 3/31/2022 1.0.4 is deprecated.