I am new to visual studio and not very familiar with it. I want to have a executable program so I don't need visual studio on every computer. I am having issues when I publish my HMI program that I created, it publishes it and gives me the setup file and exe file. The program functions perfectly when I run it in visual studio. My problem is when I run the program everything opens and looks normal but it doesn't see the PLC and the buttons say "WRITE FAILED!The given key was not present in the dictionary"
Am I doing something wrong and not bringing the advancedHMI library and drivers with me when I publish the program?
Any information or advice is appreciated!