OPC Studio User's Guide and Reference
Referencing the NuGet Packages (.NET)
Fundamentals > Development Fundamentals > Referencing the NuGet Packages (.NET)
In This Topic

General

In .NET, in order to take advantage of the functionality provided by QuickOPC, you need to reference its NuGet packages or assemblies in your own project.

The OPC Studio NuGet packages depend on other NuGet packages, and they may have further dependencies too, recursively. Each package is licensed to you by its owner. OPC Labs is not responsible for, nor does it grant any licenses to, third-party packages.

The following chapters describe how this is done.

You may also want to review:

Earlier versions of OPC Studio allowed you to reference the product assemblies directly. With some exceptions (such as for PowerShell or C++/CLI development), this model is no longer supported. If you are upgrading from such earlier OPC Studio version, remove all individual assembly references to OPC Studio assemblies, and then reference the NuGet packages instead, as described here and in the related documentation chapters.

Package Sources

The OPC Studio NuGet packages are located on nuget.org, together with their dependencies. Under normal circumstances, "nuget.org" must therefore be among your configured package sources for NuGet package Manager, and you need an Internet connection in order to be able to install OPC Studio NuGet packages (unless they are already cached).

Even if you install a copy of OPC Studio NuGet packages locally on your network and configure a package source pointing to them, the dependencies will still be needed from nuget.org. In order to be able to install NuGet OPC Studio packages without an Internet connection, you would have to have a copy of all dependent packages in your package source as well.

Package Source Mapping

If you have Package Source Mapping enabled, it must be configured in such a way that OPC Studio NuGet packages (OpcLabs.*), but also all their dependent packages, are resolvable to their proper packages sources.

See Also

Introduction