Questions tagged [aot]

In Microsoft Dynamics AX, application objects are defined in the Application Object Tree (AOT) and are instantiated at runtime. The AOT also contains application resources, references, and documentation. This section describes the AOT and its contents, how to use the AOT to define application objects, and how to import and export definitions of application objects.

In Microsoft Dynamics AX, application objects are defined in the Application Object Tree (AOT) and are instantiated at runtime. The AOT also contains application resources, references, and documentation. This section describes the AOT and its contents, how to use the AOT to define application objects, and how to import and export definitions of application objects.

More information on MSDN:

http://msdn.microsoft.com/en-us/library/gg840931.aspx

349 questions
10
votes
1 answer

Function calls are not supported in decorator

I am trying to build app with -aot option (ng build -aot). I’ve got the following error: ERROR in Error during template compile of 'MyComponent' Function calls are not supported in decorators but 'classLogger' was called in 'cLog' 'cLog' calls…
zhekaus
  • 3,126
  • 6
  • 23
  • 46
10
votes
1 answer

FeatureModule fails during an AOT build when static forRoot has arguments

I am encountering an AOT build issue using Angular@5.1.0. The error is: ERROR in Error during template compile of 'AppModule' Function calls are not supported in decorators but 'FeatureModule' was called. feature.module.ts @NgModule({ …
Michael Kang
  • 52,003
  • 16
  • 103
  • 135
9
votes
1 answer

How Does Dart AOT Work?

In my search for how Dart AOT works, I have not found many resources except this video. I would like to know how it is that code can be compiled down to native machine code, such as Android or iOS, when there exists different pieces of hardware that…
Josh
  • 2,232
  • 3
  • 15
  • 33
9
votes
2 answers

angular AOT and JIT on same project

On angular5, i try to have on same project AOT compilation for most of my module/component... but i have one part who need to be JIT compiled. For this second part, HTML come from Ajax request and contain some component tag who must be compiled by…
Yanis-git
  • 7,737
  • 3
  • 24
  • 41
9
votes
3 answers

Mono AOT Segmentation Fault - Strange Problem

I wanted to test Mono AOT, so I wrote a simple console application with MonoDevelop: using System; namespace abc { public class Program { public static void Main() { Console.WriteLine("Hello World!"); } …
Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288
8
votes
2 answers

Angular 6/7 AOT: Dynamic template render - load JitCompiler for module

I have a problem with building templates "on the fly" from API response but only in AoT build. I received from backend this kind of response:

Title...

other content

And I want to parse this like…
Lyczos
  • 316
  • 3
  • 14
8
votes
3 answers

Angular 6 StaticInjectorError (Platform: core) No provider for

I have a project with a angular version of 4. *. \ *. I tried to update the project to 6 angular versions. I fixed all the errors that the compiler told me when I build a prod. There were a lot of them. Now the project compiles without errors, but…
Valentin Karpov
  • 119
  • 1
  • 1
  • 4
8
votes
1 answer

LEFT JOIN in Dynamics AX View

Does anyone know how to do a LEFT OUTER JOIN in a Dynamics AX View from the AOT (not a programmatically-created query). Can't seem to find a way to do anything other than an INNER JOIN, and the documentation seems to indicate it isn't possible. …
Brad
  • 1,357
  • 5
  • 33
  • 65
7
votes
2 answers

Using mono aot / aot-full compilation: nothing appears to happen?

I've got a C# project that I need compiled to a native binary. I've read here: http://www.mono-project.com/AOT That Mono can precompile an assembly to one of two options: --aot : A precompiled image (essentially the same as Ngen as it looks to…
applepi
  • 71
  • 1
  • 2
7
votes
0 answers

Angular Ivy Compiler, ngtsc, ngcc, ngc, aot, jit, tsc

I am learning about Angular Ivy Compiler. This is my understanding. Ivy's compiler - consists of ngtsc and ngcc ngc - AOT compiler ngtsc - is a wrapper around tsc ngcc - is compatbility compiler to compile pre-Ivy libs tsc - is a typescript…
Learner
  • 71
  • 1
  • 3
7
votes
2 answers

Xamarin Forms - iOS - error MT3001: Could not AOT the assembly

Xamarin Forms iOS project was building yesterday 10/10/19. Updated to latest components on Mac & Windows today, project no longer builds. Build: Release - iPhone - TestMobile.iOS - Device Project works on Mac simulator. Project deploys & debugs on…
MBDev
  • 101
  • 1
  • 5
7
votes
2 answers

Angular + AOT + Webpack + NgTools - Issue Generating ngFactory

I've been trying to set up AOT with ngTools working in my Angular application (using Webpack for module loading) and having an absolute nightmare of a time of it. I've gone through the various resources in the docs here and here as well as read…
NColey
  • 525
  • 1
  • 6
  • 18
7
votes
2 answers

MonoTouch AOT Compiler - large methods fail

I'm working on a game, and we have been storing our level information in JSON format. These levels are quite large, so we switched to just storing them in plain C#: A top level method has a switch statement for the name of the level/object There…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
6
votes
0 answers

How to turn on AOT in an angular hybrid application using downgradeModule and angular-cli?

I am migrating an AngularJS application to Angular 7 using the downgradeModule (described here: upgrade for performance). In the last part of that documentation it is stated that I need to import the NgModuleFactory of my AppModule when I want to…
6
votes
3 answers

Lazy Loaded Modules with AOT - TypeError: '' is not a function when served from NGINX

Here are my dist files to reproduce yourself: dist with Lazy Modules, AOT dist with Lazy Modules, no AOT dist with AOT, no Lazy Modules The breakdown: My dist build, with AOT and Lazy Loaded modules works fine when served with npm packages…
Brian Ogden
  • 18,439
  • 10
  • 97
  • 176
1
2
3
23 24