This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.SmartAssembly.
Summary
Settings for SmartAssembly.
- Assembly
- Cake
.SmartAssembly .dll - Namespace
- Cake
.SmartAssembly - Base Types
-
- ToolSettings
- AutoToolSettings
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 |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
Smart |
Properties
Name | Value | Summary |
---|---|---|
Error |
Nullable |
Enabling error reporting
|
FeatureUsageTemplate | string |
Enabling feature usage reporting
|
FieldObfuscation | Nullable |
Setting the fields name mangling level
|
KeyFilename | string |
Signing your assembly with a strong name key
|
MakePdb | Nullable |
Creating a PDB file
|
Method |
Nullable |
Adding method parent obfuscation to the assembly
|
ObfuscatePdbUrls | Nullable |
Obfuscating URLs in the PDB file
|
PreventILDasm | Nullable |
Preventing Microsoft IL Disassembler from opening your assembly
|
ReduceMem | Nullable |
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 |
Sealing classes that are not inherited
|
StringsEncoding | Nullable |
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 |
Adding tamper protection to the assembly
|
Type |
Nullable |
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 |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|