To install your application build with the OPC UA .NET SDK on the target machine your setup should consider the following:
Check requirements:
- have admin rights for installation
- need Microsoft .NET Framework 3.5 SP1, 4.0 SP1 or 4.5 on the target.
- Note
- If your application is built against .NET Framework 3.5 SP1 or 4.5, the same version has to be installed on the target machine. Applications that are built against .NET framework 4.0 SP1 will run on machines with .NET Framework 4.5 as well.
Install your application to the target directory:
- MyApplication.exe
- MyApplication.exe.config
Alternative when using embedded ressource:
- MyUaApplication.exe (includes config as embedded ressource)
Install UA SDK Assemblies next to your executable:
- UnifiedAutomation.UaBase.dll
- UnifiedAutomation.UaClient.dll (if client functionality is used)
- UnifiedAutomation.UaServer.dll (if server functionality is used)
- Opc.Ua.CertificateGenerator.exe (used by the UaBase.dll to generate certificates)
- Note
- Keep in mind to install the Assemblies for the correct version of .NET Framework.