good morning, I have a big problem with one of my projects. I can’t do the “Build”, the loading starts and, at the last class, the loading bar stops (element 462/462). Other projects are compiled. I tried to remove the class that is compiled last, nothing changes. Neither “Build” nor “Run” works.
What can I do?
For me, sometimes, the last element takes a while. Just be patient.
The next time it’ll compile a bit faster then.
I have never faced this problem, maybe nothing will change but I would go to Build Settings and change the Optimization Level.
No other guess at this time.
If all fails create a private issue with your project, give information about Xojo version, OS used, etc. and see if the Staff can reproduce the problem.
The only other time, than what @AlbertoD mentioned, that I’ve seen this was when someone was building either in a network share or cloud synced folder. Both of which are strongly discouraged.
Hi all.
I use Xojo 2019 r3.1 on Windows 10.
The project is 3 years old.
my pc was recently put under domain.
the change in Optimization Level not work.
If I move the project on a different PC, I can do the Build, so I think the problem is in the PC, not in the project.
… So i have to change my pc…?
In a windows domain, your network admin may have set folders like Desktop and Documents to appear on your computer, but actually be stored on a network server. It may work better if you can copy the project to a folder like C:\MyProject\
.
no, it’s already in a folder on a second local hard drive.
Regardless of being discouraged, using a network share provides the ability to run projects from several computer. It’d be better encouraged than just “left behind”.
Then you copy it to your local machine and run it there.
Check your event viewer in Windows to see if any entries relate to it…
Check if Applocker is in place. That will quietly kill the compiler.
Check if Defender is stopping it.
Without deliberately trying to stir the pot here, I’d like to add that discouraging the use of shared folders (whether cloud or local network) is not a reality limited to Xojo. The same kinds of issues (or worse) can arise in other development environments too, like MS Visual Studio.
That’s why if you need access to your code from more than one computer, a source-control system like GitHub is preferred. Even if you’re a lone developer.
I don’t use xojo cloud, I didn’t even know it existed, nor GitHub, which confuses my ideas. I have a local project and that’s it. The problem is in the PC unfortunately, in the changes it underwent. The solution will be to restore the PC to its previous state or replace it.
unfortunately I have never been able to read much in the windows registry. I tried, but I can’t find anything that makes me understand. it’s the first time I hear about AppLocker, I checked, it doesn’t seem to be blocked. I look at defender…
He wasn’t suggesting the registry. event viewer is a system log.
Yes, I know. The translator didn’t work well
the system log. same about it
My apologies for not being more specific. When I said “Cloud”, I was generally referring to file sharing services like Apple iCloud, MS OneDrive or DropBox. Xojo Cloud is something different (it hosts web apps built using Xojo Web).
If you save your Xojo projects in the Text or XML formats, GitHub is an invaluable capability for developers like us, it allows you to:
- Backup (push) your Xojo projects to an offsite location known as a repository.
- Track very specific changes you make to your code (as well as rollback those changes).
- Your offsite repositories can be public or private (even with a free account)
- Download (clone) your project code to multiple PC’s and keep all those working locations in sync.
- Supports collaboration with other developers, while also tracking who made what changes.
Of course, take the time to sort out your PC issues first before worrying about learning GitHub (or a similar service like GitLab).
For when you have time, here’s some handy video tutorials YouTube - GitHub
Good luck
I tried to study github several times. I never succeeded. I risked destroying a project of years, obviously I had a backup copy.
in the meantime yes, the most important thing for me is to solve with the compilation. I will proceed, together with the system administrator, with the recovery of the PC
I agree with you. GitHub and such aren’t suited for everyone.
If network shares were better supported, there would be nice alternatives.