mono - 嵌入单声道时如何设置运行时选项?

标签 mono

喜欢这些选项:

Usage is: mono [options] program [program-options]

Development:
    --aot                  Compiles the assembly to native code
    --debug[=]    Enable debugging support, use --help-debug for details
    --profile[=profiler]   Runs in profiling mode with the specified profiler module
    --trace[=EXPR]         Enable tracing, use --help-trace for details
    --help-devel           Shows more options available to developers

Runtime:
    --config FILE          Loads FILE as the Mono config
    --verbose, -v          Increases the verbosity level
    --help, -h             Show usage information
    --version, -V          Show version information
    --runtime=VERSION      Use the VERSION runtime, instead of autodetecting
    --optimize=OPT         Turns on or off a specific optimization
                           Use --list-opt to get a list of optimizations
    --security[=mode]      Turns on the unsupported security manager (off by default)
                           mode is one of cas, core-clr, verifiable or validil

最佳答案

--config -> mono_config_parse()

--trace -> mono_jit_set_trace_options()

--运行时-> mono_jit_init_version()

--verbose 和--optimize -> mono_set_defaults () 和 mono_parse_default_optimizations ()

--profiler -> mono_profiler_load ()

关于mono - 嵌入单声道时如何设置运行时选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/580011/

相关文章:

.net - Mono WCF InstanceContextMode 不工作

c# - Mysql .NET 3.5 上的 TypeLoad 异常

.net - Mono 在 Linux 中哪里安装 X509 证书?

asp.net - Mono 和 IHttpHandler

.net - 如何在单声道下定位 .NET 4.0

c# - Xamarin.Droid 应用程序在检查 "Shared runtime option"时崩溃

mysql - 流畅的 NHibernate 与 MySQL、Mono 和 ASP MVC 3

C# 联合结构编码

git - .gitignore 用于 Mono/MonoDevelop 项目

c# - 如何使 "mkbundle --deps"选项与单声道 3.2.3 一起使用