🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

AdmxCodeGen

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

AdmxCodeGen

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

0.5.2
Source
NuGet
Version published
Maintainers
1
Created
Source

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

  • Install the latest .NET runtime from https://dot.net/ first.
  • Run dotnet tool install --global AdmxCodeGen command. (Internet connection required.)
  • 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.

Keywords

admx

FAQs

Package last updated on 08 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts