Project.nuspec
This file contains metadata for creating a NuGet package. Note the following important entries:
id
: Denotes the full name of the package. The name must be unique in the respective repository (on the computer or at nuget.org, if required). Namespace-like names can be separated with a dot. To avoid conflicts, the company name can be used as the first part, for example. See exampleBeckhoff.TwinCAT.HMI.PDFViewer
version
: NuGet supports version numbers with three components (e.g. 1.2.1). Furthermore, a name suffix is common for pre-release versions (1.2.1-beta). If an HMI project is opened and a higher version number is found, you will be notified of the update option.dependencies
: This is where package dependencies are defined. At least Beckhoff.TwinCAT.HMI.Framework should have an entry here. See also References.files
: This entry determines which files should be included in the package. Here you can specify single files or multiple files.
See also the official documentation: