Here are the additional parameters supported by this task that are not mentioned in the documentation above:
AllowPartiallyTrustedCallers
Optional Boolean parameter
If this parameter is true, specifies that the AllowPartiallyTrustedCallersAttribute, which allows partially trusted callers access to an assembly, should be applied to the strongly named assembly that Aspnet_compiler.exe generates.
DelaySign
Optional Boolean parameter
Specifies that the AssemblyDelaySignAttribute, which indicates that an assembly should be signed only with the public key token rather than with the public/private key pair, should be applied to the generated assembly.
This option must be combined with the KeyFile or KeyContainer parameter. If the attribute is already applied to the assembly in code files, Aspnet_compiler.exe throws an exception.
When you use the DelaySign parameter, the code produced by Aspnet_compilier.exe can run before the code is signed. You must ensure that the code is not vulnerable to malicious users before signing is completed.
FixedNames
Optional Boolean parameter
Specifies that one assembly should be generated for each page in the application. Each assembly is named with the virtual path of the original page unless the name would exceed the operating system limit for file names, in which case a hash is generated and used for the assembly name.
You cannot use the FixedNames parameter for in-place compilation; in-place compilation honors configuration settings for compilation batch mode.
KeyContainer
Optional String parameter
Specifies that the AssemblyKeyNameAttribute, which indicates the name of the container for the public/private key pair that is used to generate a strong name, should be applied to the compiled assembly.
This option must be combined with the AllowPartiallyTrustedCallers option. If the attribute is already applied to the assembly in code files, Aspnet_compiler.exe throws an exception.
KeyFile
Optional String parameter
Specifies that the AssemblyKeyFileAttribute, which indicates the name of the file containing the public/private key pair that is used to generate a strong name, should be applied to the compiled assembly.