简体   繁体   中英

How to turn off AOT compile in Dynamics AX?

How can I temporary turn off AOT compile dynamics AX? In my dev environment. I can add temporary code in order to jump the compile.

I'm here to ask a trick like to jump Synch, dbSynchronize method, I want to jump the compile too.

I would like to switch off the AOT compile (F7)

在此处输入图像描述

For example, if I import an xpo, I do not want to auto start the compile or skip it in to code.

Thanks

The code is located in \Classes\SysImportElements\import . I don't think you can disable the compile because it's calling a kernel function in infolog . Put a breakpoint in there and import an XPO to see.

You can try commenting out infolog.endImport(...) , but I'd be weary of that.

If your need is to disable because you're importing multiple XPO's, you should instead use the Combine XPO tool. https://docs.microsoft.com/en-us/dynamicsax-2012/developer/combine-xpo-tool-user-guide

If you want to disable the F7 key, use a paperclip and you should be able to pop it off your keyboard.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM