You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The Native Image Generator (NGen 2.0) Install Action enables the creation and installation of a native image for an assembly and its dependencies. Assemblies with native images run faster on the current machine because they can bypass the .NET Just-In-Time compiler.

Requirements

  • This action requires the Microsoft .NET Framework version selected in the action.
  • Administrator privileges are required.

User Interface

Specify assembly by file

Enter the explicit path of an assembly to precompile.

Specify an assembly in the global assembly cache

Specify the full display name of an assembly in the global assembly cache. Separate extra properties with commas.

e.g. "bobsAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1138abc1dabcdfle2".

Framework version

Specify the version of the .NET framework to use for NGen. The minimum is .NET v2.0.

Use 64-bit tools

This options specifies as whether to force the usage of 64-bit tools on a 64-bit system or not.  As FinalBuilder is currently a 32-bit application it will default to running the 32-bit version on a 64-bit system.  Check this option if you require the 64-bit version to be run.

Scenarios

Native images can be compiled for various scenarios. Debugging and/or profiling information can be included. Alternatively, the native image can be generated with a minimum of dependencies (not recommended because non-native dependencies will cause the Just In Time compiler to be invoked, negating the benefits of Native Images.)

Configuration

The assembly configuration can be optionally taken from an executable configuration or an application base path (note that these two options are mutually exclusive.)

Queue for execution...

Rather than installing directly, the generation Andamp; installation can be queued for execution by the Native Image Service.

 

  • No labels