Unable to find JIT compilation Property in Run time option in project.json File

I am Geeting JIT compilation error for non legacy project. while searching for resoulation over the web we got the following resolution as stated below but i am unable to see JIT compilation property with run time option in project.json file. Kindly the help to resolve the issue.

UiPath Studio version is latest version 2024.4.0 and packages are updated.

IT compilation** (Just-In-Time compilation) is a process where code is compiled at runtime, just before it is executed. In the context of UiPath, JIT compilation is relevant when dealing with custom activities or scripts.

Here’s the information you’re looking for:

  • Legacy Projects:
    • In legacy projects, JIT compilation is enabled by default. This means that custom activities (such as those created using C# or VB.NET) are compiled just before execution.
    • Legacy projects use the .xaml format and are typically created in older versions of UiPath Studio.
  • Non-Legacy Projects:
    • In non-legacy projects, JIT compilation is disabled by default.
    • Non-legacy projects use the .xaml.json format and are created in newer versions of UiPath Studio.
    • If you want to enable JIT compilation for non-legacy projects, you can do so by modifying the project.json file.

Here’s how you can enable JIT compilation for a non-legacy project:

  1. Open your UiPath project in UiPath Studio.
  2. Locate the project.json file in your project directory.
  3. Inside the project.json file, find the "jitCompilation" property.
  4. Set its value to true (if it’s not already set).
  5. Save the changes to the project.json file.

Remember that enabling JIT compilation for non-legacy projects may impact performance, especially during project startup. It’s essential to weigh the benefits against any potential drawbacks.

Hello @Rohan_Ashok_Gonabal
you’re absolutely right. In UiPath Studio versions after 20.10.x (including your version 2024.4.0), the project.json file no longer contains a jitCompilation property for enabling JIT compilation in non-legacy projects. This functionality has been removed.

you can check below useful post for more details hop this will help you

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.