diff options
author | Andi McClure <andi.mcclure@xamarin.com> | 2017-05-01 23:11:43 +0300 |
---|---|---|
committer | Andi McClure <andi.mcclure@xamarin.com> | 2017-05-03 17:48:48 +0300 |
commit | ca6365b31664632788756053279590dee2daf183 (patch) | |
tree | 8a7f24b1e61d494533aa5040f4fed0bc46941fc7 /man | |
parent | 137e1e75d1f2d529c641aecebc36ec315a9a14d9 (diff) |
Document --assembly-loader, change default to 'legacy' and fix comment
Also set testing_gac tests to use --assembly-loader=strict, since it is no longer the default
Diffstat (limited to 'man')
-rw-r--r-- | man/mono.1 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/man/mono.1 b/man/mono.1 index dcde246d472..b23581535c5 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -311,6 +311,9 @@ Instructs the AOT compiler to emit (or not emit) debug symbol information. For more information about AOT, see: http://www.mono-project.com/docs/advanced/aot/ .RE .TP +\fB--aot-path=PATH\fR +List of additional directories to search for AOT images. +.TP \fB--apply-bindings=FILE\fR Apply the assembly bindings from the specified configuration file when running the AOT compiler. This is useful when compiling an auxiliary assembly that is @@ -321,6 +324,13 @@ app.exe.config available when compiling lib.dll ahead of time, use: mono --apply-bindings=app.exe.config --aot lib.dll .fi .TP +\fB--assembly-loader=MODE\fR +If mode is \fBstrict\fR, Mono will check that the public key token, culture and version +of a candidate assembly matches the requested strong name. If mode is \fBlegacy\fR, as +long as the name matches, the candidate will be allowed. \fBstrict\fR is the behavior +consistent with .NET Framework but may break some existing mono-based applications. +The default is \fBlegacy\fR. +.TP \fB--attach=[options]\fR Currently the only option supported by this command line argument is \fBdisable\fR which disables the attach functionality. @@ -331,9 +341,6 @@ The default files are /etc/mono/config and ~/.mono/config or the file specified in the MONO_CONFIG environment variable, if set. See the mono-config(5) man page for details on the format of this file. .TP -\fB--aot-path=PATH\fR -List of additional directories to search for AOT images. -.TP \fB--debugger-agent=[options]\fR This instructs the Mono runtime to start a debugging agent inside the Mono runtime and connect it to a |