Mono(mconfig)
π Mono(mconfig) β the mconfig manual, but make it cute π
okay bestie, so this page is Mono(mconfig), which is a fancy way of saying it's the mconfig manual from the Mono fam. Buckle up, it's giving config-file-glow-up energy β¨
πΈ NAME πΈ
mconfig β a utility for modifying .NET configuration files. That's it. That's the whole vibe. π
β¨ SYNOPSIS β¨
mconfig [options] command [command_parameters]
likeβ¦ options, then a command, then that command's lil parameters. slay. π
π¦ DESCRIPTION π¦
so mconfig can be used to edit .NET configuration files, by adding "features" (which is just a fancy way of saying sets of xml statements) that are defined in one of the config files read by mconfig. no cap.
the config file can also define layouts of default configuration files, which may be useful for bootstrapping your .NET projects. bootstrapping? we love a low-effort glow-up. π
to see the list of recognized commands, default configuration files and features, run mconfig without passing any parameters. literally just run it. naked. no args. it'll spill the tea. π
π OPTIONS π
-c <config_file>,--config=<config_file>β read the specified config file after reading the other, preconfigured, config files for the utility. settings in the specified file override those found in the other configuration locations. last one in wins, periodt. π-t {any | web | application},--target={any | web | application}β features and default configuration files defined in themconfigconfig file(s) can be assigned to one of the three targets βweb(for ASP.NET features/config files),applicationβ for .NET applications, andanyβ applicable in both of the previous targets. defaults toany. π-?,-h,--helpβ show a summary usage screen. your lil cheat sheet. π«Ά-v,--versionβ show themconfigversion. identity check! β
π₯ COMMANDS π₯
{addfeature, af} <feature_name> [config_file_path]β adds the feature named<feature_name>to the specified config file. if[config_file_path]is omitted, the name of the output configuration file will be chosen based on the selected target (see the-toption). thewebtarget outputs configuration to a file namedWeb.config, and theapplicationtarget outputs to a file namedapplication.exe.config. theanytarget does not have a default output file. π
if the specified config file exists, the feature will be injected into it at the locations specified by mconfig configuration. if the target config file does not exist, it will be created and will contain only the specified feature and all its dependencies. fresh file, fresh me. β¨
{defaultconfig, dc} [config_name [target_directory]]β generates a default config file using the configuration entry named[config_name]and outputs the resulting configuration file to the directory given by the[target_directory]option. if[config_name]is omitted, it defaults toWeb.configfor thewebtarget and theapplicationtarget. theanytarget does not specify any default output configuration name. if the[target_directory]parameter is omitted, it defaults to the current directory. π
the name of the output config file created in [target_directory] is given in the config file layout definition. iykyk. π
π§ FILES π§
config files are read in the order given below. each subsequent file may override settings found in the files read before it. it's a whole stack, and the later ones are the main characters. π
$prefix/etc/mono/mconfig/config.xmlβ the default configuration file, distributed withmconfig.$prefixis themconfiginstallation prefix specified on the compilation time. the OG. π$config_dir/mconfig/config.xmlβ$config_diris the directory specified in theXDG_CONFIG_HOMEenvironment variable or, if it is empty, in the.configdirectory located in the user's home directory. this file is not distributed with Mono. it's your personal lil corner of the filesystem. π./mconfig.xmlβ local configuration file which can contain per-application settings. right here, right now, in your cwd. π
π SEE ALSO π
mconfig.config (5)β go read that one next, bestie.
π AUTHOR π
written by Marek Habersack. legend behavior. π«Ά
βοΈ COPYRIGHT βοΈ
copyright (C) 2007 Novell, Inc (http://www.novell.com)
π MAILING LISTS π
visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details. come hang out, it's a whole community. π
π WEB SITE π
visit: http://www.mono-project.com for details. click it, it's iconic. β
and that's the whole page, bestie!! this was the Mono(mconfig) manual β that's the manual name and the footer both, so likeβ¦ it's bookended, it's symmetric, it's serving π
β go forth and configure your .NET files with main character energy. no cap, you got this. πβ¨ππ¦πΈπ
π«Άππ₯ππβππππ§π
π¦ where this page comes from
- alpine 3.24: mono-doc 6.14.1-r1 Β· MIT
- arch rolling: mono 6.12.0.206-1 Β· GPL AND LGPL2.1 AND MPL
- debian bookworm: mono-devel 6.8.0.105+dfsg-3.3+deb12u1 Β· MIT
- debian trixie: mono-devel 6.12.0.199+dfsg-6 Β· MIT
- epel 10: mono-web 6.14.1-1.el10_2 Β· MIT
- epel 9: mono-web 6.12.0-5.el9 Β· MIT
- fedora 43: mono-web 6.12.0-21.fc43 Β· MIT
- fedora 44: mono-web 6.14.1-3.fc44 Β· MIT
- fedora 44: mono-web 6.14.1-4.fc44 Β· MIT
- nixos 26.05: mono 6.14.1
- nixpkgs unstable: mono 6.14.1
- opensuse-leap 16.0: mono-web 6.12.0-bp160.1.1 Β· MIT AND MS-PL
- opensuse-leap 16.0: mono-web 6.12.0-bp160.1.1 Β· MIT AND MS-PL
- opensuse-leap 16.0: mono-web 6.12.0-bp160.1.1 Β· MIT AND MS-PL
- opensuse-leap 16.0: mono-web 6.12.0-bp160.1.1 Β· MIT AND MS-PL
- ubuntu jammy: mono-devel 6.8.0.105+dfsg-3.2 Β· MIT
- ubuntu noble: mono-devel 6.8.0.105+dfsg-3.6ubuntu2 Β· MIT
- ubuntu questing: mono-devel 6.12.0.199+dfsg-6
- ubuntu resolute: mono-devel 6.14.1+ds2-2 Β· MIT
- ubuntu stonking: mono-devel 6.14.1+ds2-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms