Zero Install .NET API  2.18.0
Namespaces | Classes | Enumerations
ZeroInstall.Publish Namespace Reference

Utilities for creating and modifying feed files. NuGet: ZeroInstall.Publish More...

Namespaces

namespace  Capture
 Builds feeds by creating and comparing snapshots of the system before and after an application was installed.
 
namespace  EntryPoints
 Automatic detection of application entry points.
 

Classes

class  ExternalFetch
 Uses the "0install fetch" command of the launching 0install instance to download an implementation. More...
 
class  FeedBuilder
 Builds simple Feeds containing a single Implementation. More...
 
class  FeedEditing
 Represents a Feed being edited using IUndoCommands. More...
 
class  FeedUtils
 Helper methods for manipulating Feeds. More...
 
class  ImplementationUtils
 Helper methods for manipulating Implementations. More...
 
class  ManifestUtils
 Helper methods for working with Manifests and ManifestDigests. More...
 
class  RetrievalMethodUtils
 Helper methods for manipulating RetrievalMethods. More...
 
class  SignedCatalog
 A wrapper around a Catalog adding and XSL stylesheet and a digital signature. More...
 
class  SignedFeed
 A wrapper around a Feed adding and XSL stylesheet and a digital signature. More...
 

Enumerations

enum  ExitCode {
  ExitCode.OK = 0, ExitCode.NoChanges = 1, ExitCode.WebError = 10, ExitCode.AccessDenied = 11,
  ExitCode.IOError = 12, ExitCode.InvalidData = 25, ExitCode.DigestMismatch = 26, ExitCode.NotSupported = 50,
  ExitCode.InvalidArguments = 99, ExitCode.UserCanceled = 100
}
 An exit code is returned to the original caller after the application terminates, to indicate success or the reason for failure. More...
 

Detailed Description

Utilities for creating and modifying feed files. NuGet: ZeroInstall.Publish

Enumeration Type Documentation

◆ ExitCode

An exit code is returned to the original caller after the application terminates, to indicate success or the reason for failure.

Enumerator
OK 

The operation completed without any problems.

NoChanges 

The operation resulted in no changes. This may be due to a problem with the input or simply indicate that the system is already in the desired state.

WebError 

There was a network problem. This may be intermittent and resolve itself e.g. when a Wi-Fi connection is restored.

See also
WebException
AccessDenied 

You have insufficient access rights. This can potentially be fixed by running the command as an Administrator/root. It may also indicate misconfigured file permissions.

See also
UnauthorizedAccessException
IOError 

There was an IO problem. This encompasses issues such as missing files or insufficient disk space.

See also
IOException
InvalidData 

A data file could not be parsed. This encompasses issues such as damaged configuration files or malformed XML documents (e.g. feeds).

See also
InvalidDataException
DigestMismatch 

The ManifestDigest of an implementation does not match the expected value. This could be caused by a damaged download or an incorrect feed.

See also
DigestMismatchException
NotSupported 

The operation could not be completed because a feature that is not (yet) supported was requested. Upgrading to a newer version may resolve this issue.

See also
NotSupportedException
InvalidArguments 

The command-line arguments passed to the application were invalid.

See also
FormatException
UserCanceled 

The user canceled the task.

See also
OperationCanceledException