File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Documentation/guides/building-apps Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -696,6 +696,25 @@ used in Android Application projects. The default value is
696696<AndroidLinkMode >SdkOnly</AndroidLinkMode >
697697```
698698
699+ ## AndroidLinkResources
700+
701+ When ` true ` this will make the build system link out the Nested Types
702+ of the Resource.Designer.cs ` Resource ` class in all assemblies. The
703+ IL code that uses those types will be updated to use the values
704+ directly rather than accessing fields.
705+
706+ This can have a small impact on reducing the apk size, it might also
707+ help slightly with startup performance. This will only effect "Release"
708+ based builds.
709+
710+ *** Experimental*** . Only designed to work with code such as
711+
712+ ```
713+ var view = FindViewById(Resources.Ids.foo);
714+ ```
715+
716+ Any other scenarios (such as reflection) will not be supported.
717+
699718## AndroidLinkSkip
700719
701720Specifies a semicolon-delimited (` ; ` )
You can’t perform that action at this time.
0 commit comments