09-23-2022 10:46 AM
I have some project where all the code has separate compiled code. When I open this project manually and then close it, LV starts compiling LV compiled object cache for this project.
I tried to do the same programmatically. So, I prepared a simple VI (see attachment) and I was expecting that the Project.Close() method will trigger compilation as when closing manually. However, the cache is not compiling.
So, why the Project.Close() method does not start compilation like when manually closing the project? Why there is no consistency? How to automate LV compiled object cache creation?
09-23-2022 10:54 AM - edited 09-23-2022 11:00 AM
Just curious, why not regular mass-compile?
09-23-2022 11:51 AM
@santo_13 wrote:
Just curious, why not regular mass-compile?
Can I mass-compile a project or it has to be a whole directory?
09-23-2022 12:31 PM
I couldn't find a property node/invoke node to mass-compile the project but there is right-click option in the project explorer
09-23-2022 06:32 PM
Could you use code like this to iterate through your entire project hierarchy to compile it all?
You'd probably want to add some restrictions so you don't compile things you don't want to, i.e. things in vi.lib
09-25-2022 09:25 AM
I tried this code but the strange thing is that LV compiled code cache is not changing.