AdmxCodeGen 0.5.2

dotnet tool install --global AdmxCodeGen --version 0.5.2                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local AdmxCodeGen --version 0.5.2                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AdmxCodeGen&version=0.5.2                
nuke :add-package AdmxCodeGen --version 0.5.2                

AdmxCodeGen

NuGet Version Build Status GitHub Sponsors

A conversion tool that converts ADMX and ADML files to C# code

Minimum Requirements

  • Minimum required .NET runtime version: .NET 6.0 (LTS)
    • If you run this tool on a runtime later than this version, dependencies will be automatically aligned by the roll forward feature.
    • This library does not support ADM files.
  • The generated assemlby and C# code requires at least .NET 6 and can only run on Windows platforms.

How to install

  1. Install the latest .NET runtime from https://dot.net/ first.
  2. Run dotnet tool install --global AdmxCodeGen command. (Internet connection required.)
  3. Run admxcodegen --help command to validate installation.

How to use

Command Line Synopsis

Description:
  ADMX to C# code generator

Usage:
  admxcodegen <assemblyName> <inputPath> <outputPath> [options]

Arguments:
  <assemblyName>  Output assembly name
  <inputPath>     Input directory path or ADMX file path
  <outputPath>    Output file path

Options:
  --generate-csproj <generate-csproj>    Generate SDK style .csproj file
  --generate-buildlog                    Generate build log file [default: True]
  --generate-linqpad <generate-linqpad>  Generate LinqPad script file
  --version                              Show version information
  -?, -h, --help                         Show help and usage information

Convert ADMX directories into .NET assembly

admxcodegen TestProject "./PolicyDefinitions" "./TestProject" --generate-csproj "MyProject" --generate-linqpad "MyProjectLinq" --generate-buildlog

Convert ADMX file into .NET assembly

admxcodegen InternetExplorer "./PolicyDefinitions/inetres.admx" "./InternetExplorer" --generate-csproj "MyProject" --generate-linqpad "MyProjectLinq" --generate-buildlog

License

This library follows Apache-2.0 license. See LICENSE file for more information.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.5.2 145 7/8/2024
0.5.1 135 7/8/2024
0.5.0 181 7/8/2024