SmartAssembly 6

Adding other optimizations

Sealing classes which are not inherited

SmartAssembly can seal classes that are not inherited.

To seal classes that are not inherited, in the Project Settings window, go to Other Optimizations or click the icon in the toolbar.

Select I want to automatically seal classes whenever possible.

To exclude a particular class from automatic sealing, use the [DoNotSealType] attribute. For more information, see Using custom attributes.

When either of the 'Other Optimizations' options are enabled, the colored bars under the toolbar icon and to the left of the feature options are green. If both of them are disabled, the bars are orange.

Reducing memory usage

SmartAssembly can reduce the memory allocated to your software which is not used. 

To reduce allocated unused memory, in the Project Settings window, go to Other Optimizations or click the icon in the toolbar. 

Select I want to reduce unused allocated memory.

You can't reduce unused allocated memory with assemblies using Silverlight, Windows Phone 7.x, or Xbox XNA.


"I want to reduce unused allocated memory" option was removed in SmartAssembly 6.12.4.


Didn't find what you were looking for?