AdmxCodeGen
A conversion tool that converts ADMX and ADML files to C# code
Install / Use
/learn @rkttu/AdmxCodeGenREADME
AdmxCodeGen
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 AdmxCodeGencommand. (Internet connection required.) - Run
admxcodegen --helpcommand 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.
Related Skills
node-connect
354.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
