SmartAssembly
Latest version: 6.7
Learning SmartAssembly - 5.0
Upgrading SmartAssembly version 4.x to version 5
Date: 7/26/2010
Product: SmartAssembly
SmartAssembly, formerly known as {SmartAssembly}, was acquired by Red Gate Software Ltd. in the summer of 2009. The last release of {SmartAssembly} by its previous owner was version 4.2. Red Gate released SmartAssembly version 5.0 in June 2010.
In most cases, {SmartAssembly} version 4 project files will work fine with SmartAssembly version 5. This Knowledge Base article describes a small number of issues which upgrading users might want to be aware of.
{SmartAssembly} 4 serial key does not work with SmartAssembly 5
Problem: Customers who purchased {SmartAssembly} 4 are entitled to a free upgrade to SmartAssembly 5 but if you try to upgrade to SmartAssembly 5, your existing {SmartAssembly} 4 serial key will not work.
Cause: SmartAssembly's serial keys were integrated with the Red Gate licensing system from version 5.0. Old version 4 serial keys are not recognised by the Red gate licensing server.
Solution: Customers who are eligible for the free upgrade were sent an email in July 2010 with a new SmartAssembly 5 serial key. Please contact Red Gate support if you did not receive the email.
Error reports are sent to a different server
Problem: You cannot find error reports submitted by users. You do not use a custom web server.
Cause: From version 5, error reports are sent by default to a server operated by Red Gate. The old reports server will remain operational for a limited time so that you can still receive errors reported by versions of your application built with {SmartAssembly} version 4.3 and earlier. You cannot use that server to receive reports for applications built with SmartAssembly 5.0 and later.
Solution: To download error reports from versions of your application which were built against {SmartAssembly} version 4 you must use {SmartAssembly} version 4. SmartAssembly version 5.0 can only download reports from the Red Gate server (or a custom server).
Build fails using a strong name key
Problem: Your {SmartAssembly} version 4 project is signed with a strong name key. In SmartAssembly version 5, the project does not build.
Cause: SmartAssembly stores the strong name key internally in an encrypted form, encrypted against the SmartAssembly publisher's public key. Because the publisher's public key changed when Red Gate released SmartAssembly, strong name keys which were encrypted against the previous publisher's strong name key cannot be decrypted.
Solution: On the project settings page, under Strong Name, click Browse for a Key and choose the .pfx file again. This will reload the strong name key and encrypt it against Red Gate's public key.
Was this article helpful?
SmartAssembly
- Using Smartassembly to obfuscate a windows service
- Obfuscation not renaming identically-named methods in different classes
- Serialization exceptions occurring in obfuscated assemblies
- SmartAssembly skipping obfuscation of some classes in your assembly
- SmartAssembly is not merging or embedding all assembly dependencies
- Can I customize the path to the MDB database?
- System.InvalidOperationException when attempting to connect to local SmartAssembly database
- Protecting website code using SmartAssembly
- Visual Studio Deployment Projects including unprotected builds
- SmartAssembly MSBUILD tasks failing because of difference in log4net assembly
- SmartAssembly Error Reporting: This application has submitted too many reports
- The assembly is being merged, but the dependent assembly isn't
- ERR 2002: Server did not recognize the value of HTTP Header SOAPAction
- The error report is not associated with a valid project ID - SmartAssembly
- Application built with an evaluation edition of SmartAssembly
- How end users can change their participation in Feature Usage Reporting
- Log file for SmartAssembly
- Moving SmartAssembly to another computer
- 'Using JET databases is not possible in 64-bit applications' error when using MSBuild or TFS
- SmartAssembly stack trace is invalid when Method Parent Obfuscation is enabled
- Upgrading SmartAssembly version 4.x to version 5
- Upgrading SmartAssembly Standard to Professional
- Problems building WPF applications with SmartAssembly 6.7
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SmartAssembly
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using SmartAssembly for obfuscation