AdvancedHMI Software
General Category => Support Questions => Topic started by: DavidSr on April 02, 2025, 10:41:26 PM
-
When attempting to build a modified solution I started getting this error:
Error BC2001 file '\\Snas1\SCADA\SOFTWARE\ADVANCED_HMI1\PurchasedControls\ChartWithLogging_Update\ChartWithLogging.vb' could not be found
It should not be looking for it that location.
What file can I edit to fix this and where is it?
Thank you!
-
In Solution Explorer, do you have any files with an exclamation mark next to its name?
-
I do not see any. The highlighted file in the image has property values pointing to the incorrect path. If I put the file in the path it is looking for it brings back more errors. The file location it is looking for is on a Synology NAS where I had previously stored the ADVHMI files, I had since created another share and moved all the files to the share but this instance I am dealing with is on the local PC "C" drive I had copied the built instance to a local drive so perhaps this caused this. It is strange because I have been copying instances of the built solution to other PCs with no issues.
-
It looks like that file was added to the project as a linked file instead of being embedded as part of the project. You will need to find that file, then add it as a file to the project to replace the linked file
-
I know where the file is. It is used in the project but in a different location then where that instance was looking for it. I decided to see if I could make it work by deleting that instance of it from the project, after removing it, I rebuilt the project and that took care of the issue. All is well now. Thanks for responding.