The source code schema for the WiX Toolset .NET Framework Extension. Improves the performance of managed applications by creating native images. Requires the .NET Framework 2.0 or newer to be installed on the target machine since it runs [NGen](https://learn.microsoft.com/en-us/dotnet/framework/tools/ngen-exe-native-image-generator). Native images are files containing compiled processor-specific machine code, which are installed into the native image cache on the local computer. The runtime can use native images from the cache instead using the just-in-time (JIT) compiler to compile the original assembly. The native image custom actions are configured to ignore failures so that failing to generate or remove a native image will not cause setup to fail and roll back. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Identifier for the native image in the output database. If the Id is not specified, one will be generated. The directory to use for locating dependent assemblies. For DLL assemblies and assemblies installed to the Global Assembly Cache (GAC), this attribute should be set to the directory of the application which loads this assembly. For EXE assemblies, this attribute does not need to be set because NGen will use the directory of the assembly file by default. The value can be in the form of a directory identifier, or a formatted string that resolves to either a directory identifier or a full path to a directory. The application which will load this assembly. For DLL assemblies which are loaded via reflection, this attribute should be set to indicate the application which will load this assembly. The configuration of the application (usually specified via an exe.config file) will be used to determine how to resolve dependencies for this assembly. The value can be in the form of a file identifier, or a formatted string that resolves to either a file identifier or a full path to a file. When a shared component is loaded at run time, using the Load method, the application's configuration file determines the dependencies that are loaded for the shared component — for example, the version of a dependency that is loaded. This attribute gives guidance on which dependencies would be loaded at run time in order to figure out which dependency assemblies will also need to have native images generated (assuming the Dependency attribute is not set to "no"). This attribute cannot be set if the AssemblyApplication attribute is set on the parent File element (please note that these attributes both refer to the same application assembly but do very different things: specifiying File/@AssemblyApplication will force an assembly to install to a private location next to the indicated application, whereas this AssemblyApplication attribute will be used to help resolve dependent assemblies while generating native images for this assembly). Set to "yes" to generate native images that can be used under a debugger. The default value is "no". Set to "no" to generate the minimum number of native images. The default value is "yes". Sets the platform(s) for which native images will be generated. Sets the priority of generating the native images for this assembly. This is the highest priority, it means that image generation occurs and completes during setup. This option ensures images are generated by the time setup is complete. This will queue image generation to the NGen service to occur immediately. This option will slow down setup performance. This will queue image generation to the NGen service to occur after all priority 1 assemblies have completed. This option will slow down setup performance. This is the lowest priority, it will queue image generation to occur when the machine is idle. This option should not slow down setup performance. This is the default value. Set to "yes" to generate native images that can be used under a profiler. The default value is "no". Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. Searches for an installation of .NET Core. The variable gets set to the latest version of the given Runtime, Platform, and Major Version. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Identifier for the search. If the Id is not specified, one will be generated. Name of the variable in which to place the result of the search. Condition for evaluating the search. If this evaluates to false, the search is not executed at all. Id of the search that this one should come after. The type of .NET Core runtime to search for. Attempt to check for an ASP.NET Core type runtime. The ASP.NET Core Runtime enables you to run web/server applications. Attempt to check for a .NET type runtime. The .NET Core Runtime contains just the components needed to run a console app. Attempt to check for a .NET Desktop type runtime. The .NET Desktop Runtime enables you to run Windows desktop applications. The platform to search for. Major version of .NET. For example, "6". Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. References a DotNetCoreSearch. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. Searches for an installation of .NET Core SDK. The variable gets set to the latest version of the given Platform and Major Version. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Identifier for the search. If the Id is not specified, one will be generated. Name of the variable in which to place the result of the search. Condition for evaluating the search. If this evaluates to false, the search is not executed at all. Id of the search that this one should come after. The platform to search for. Major version of .NET SDK. For example, "6". Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. References a DotNetCoreSdkSearch. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. Searches for an installation of .NET Core SDK of the given platform. The variable gets set to the latest version of the SDK that is in the feature band specified by Version. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Identifier for the search. If the Id is not specified, one will be generated. Name of the variable in which to place the result of the search. Condition for evaluating the search. If this evaluates to false, the search is not executed at all. Id of the search that this one should come after. The platform to search for. A specific .NET Core SDK feature band. For example, "6.0.400". For more information about feature bands, see https://learn.microsoft.com/en-us/dotnet/core/releases-and-support#feature-bands-sdk-only. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. References a DotNetCoreSdkFeatureBandSearch. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. Validates whether the specified .NET is installed on the computer. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Identifier for the compatibility check. If the Id is not specified, one will be generated. Name of the property in which to place the result of the compatibility check. The possible values are: - 0 - Successful compatibility check. - 13 - Requested platform is not compatible with OS. _Introduced in WiX v5.0._ - 12289 - No runtime is installed. - 12290 - Required runtime is not installed. - 12291 - Failed to get hostfxr exports. - 12292 - Invalid arguments. - 12293 - Failed to construct temp json file path. - 12294 - Failed to create temp json file. The .NET runtime to check against. The platform to use to validate. Version of .NET to check against. The roll forward policy to use while validating. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. References a DotNetCompatibilityCheck. Extensibility point in the WiX XML Schema. Schema extensions can register additional elements at this point in the schema. Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema. Attempt to generate native images only for the 32-bit version of the .NET Framework on the target machine. If the 32-bit version of the .NET Framework 2.0 or newer is not present on the target machine, native image custom actions will not be scheduled. This is the default value. Attempt to generate native images only for the 64-bit version of the .NET Framework on the target machine. If a 64-bit version of the .NET Framework 2.0 or newer is not present on the target machine, native image custom actions will not be scheduled. Attempt to generate native images for the 32-bit and 64-bit versions of the .NET Framework on the target machine. If a version of the .NET Framework 2.0 or newer is not present on the target machine for a processor architecture, native image custom actions will not be scheduled for that processor architecture. Platform referencing the machine architecture. Platform referencing the machine architecture. Platform referencing the machine architecture.