IL2039: Invalid action value on resource element in a substitution file
Cause
The value passed to the action argument of a resource element in a substitution file is not valid.
Rule description
Substitution files are used to instruct the trimmer to replace specific method bodies with either a throw or return constant statements.
The value passed to the action argument of a resource element was invalid. The only
supported value for this argument is remove.
Example
<!-- IL2039: Invalid value 'NonExistentAction' for attribute 'action' for resource 'MyResource'. -->
<linker>
<assembly fullname="MyAssembly">
<resource name="MyResource" action="NonExistentAction"/>
</assembly>
</linker>
Povratne informacije
Pošalјite i prikažite povratne informacije za