Kepware Knowledge Base: Solution
Signing a ClientAce Project That Will Be Running As A Service.
Last Update: 11/7/2018
When an application is created and compiled for debugging, Visual Studio will create two *.exe files. The first is [Appname].exe; the second is [Appname].vshost.exe. The second application is used by Visual Studio for debugging. If the application is created to run as a service, the debug file will not be created. If the project is distributed, it will fail to load the license file because it is not in the debug environment. The solution and best practice is to always compile for release when distributing the application.
©
2021
PTC Inc. All Rights Reserved.