SmartAssemblySettings Class

Summary

Settings for SmartAssembly.
Assembly
Cake.SmartAssembly.dll
Namespace
Cake.SmartAssembly
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.SmartAssembly/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["SmartAssemblySettings"] class Type type-node

Syntax

public class SmartAssemblySettings : AutoToolSettings

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
ErrorReportingTemplate Nullable<bool>
Enabling error reporting
FeatureUsageTemplate string
Enabling feature usage reporting
FieldObfuscation Nullable<int>
Setting the fields name mangling level
KeyFilename string
Signing your assembly with a strong name key
MakePdb Nullable<bool>
Creating a PDB file
MethodParentObfuscation Nullable<bool>
Adding method parent obfuscation to the assembly
ObfuscatePdbUrls Nullable<bool>
Obfuscating URLs in the PDB file
PreventILDasm Nullable<bool>
Preventing Microsoft IL Disassembler from opening your assembly
ReduceMem Nullable<bool>
Reducing the assembly's unused, allocated memory
ReportAppName string
Setting the application name for use in error and feature usage reports
ReportCompanyName string
Setting the company name for use in error and feature usage reports
ReportProjectName string
Setting the project name for use in error and feature usage reports
SealClasses Nullable<bool>
Sealing classes that are not inherited
StringsEncoding Nullable<bool>
Setting strings encoding To disable strings encoding: /stringsencoding=false To enable strings encoding, set /stringsencoding=true. You may specify settings for the three sub-options: Use improved protection? Compress and encrypt resources? Cache the strings for improved performance? /stringsencoding=true; improved:[true | false], compressencrypt:[true | false] cache:[true | false]
TamperProtection Nullable<bool>
Adding tamper protection to the assembly
TypeMethodObfuscation Nullable<int>
Setting the types / methods name mangling level Apply types / methods name mangling at the specified level to assemblies with nameobfuscate:true: 1 = ASCII renaming 2 = Unicode unprintable characters 3 = Unicode unprintable characters and advanced renaming Note that this switch does not apply name mangling itself.It sets the level that will be used for assemblies with nameobfuscate:true set.

Extension Methods

Name Value Summary
Dump<SmartAssemblySettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SmartAssemblySettings>(SmartAssemblySettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SmartAssemblySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SmartAssemblySettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<SmartAssemblySettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<SmartAssemblySettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin