06-17-2019 12:10 PM
Hello All,
When I build an executable from my LV(2015) project, all goes fine. The build preview looks like I would expect. The target file first gets the name I have chosen for it. It then immediately gets renamed with part of the path and the word "conflict"
in the new file name. The resultant executable runs fine on the original and other PCs. This is not the first build I have ever done.
OS: windows 7
Solved! Go to Solution.
06-17-2019 12:31 PM - edited 06-17-2019 12:54 PM
Is your target destination monitored by a tool such as Google drive, OneDrive, or similar?
A builder typically makes a temporary gigantic mess and these file monitoring tools can be thrown off track or even crash as a result.
The renaming is most likely done by something external to LabVIEW. Make sure you are building to a local plain folder.
06-17-2019 01:21 PM
You are correct. When I build to a folder on my hard drive it's fine. The original destination was a network folder handled by Synology. Interestingly, when I copy the local one over to the network location, no renaming occurs.
THANKS!
06-17-2019 01:46 PM
@N2STC wrote:
You are correct. When I build to a folder on my hard drive it's fine. The original destination was a network folder handled by Synology. Interestingly, when I copy the local one over to the network location, no renaming occurs.
Yes, as simple copy is a clean operation.
If you open the local folder while the build happens, you'll notice lots of "odd activity" (files/folders appearing/disappearing, etc.). In the long run LabVIEW should maybe change the way things are built. For example, all the temporary work could be done in the local TMP folder, followed by a move of the complete build to the final destination. Not sure what that change would involve.
06-17-2019 01:54 PM - edited 06-17-2019 01:55 PM
Yes I saw that. The rename probably happens during build, but the file explorer doesn't update until it is over. Thanks again. Marking "Solved"
06-17-2019 02:20 PM
I stopped building to a synced folder years ago because of exactly these issue. I am not sure if things have improved, but I doubt it. 😉
Proposing a solution, I just wrote up this idea. Please vote for it! 😄