Upgrading Obfuscation Project Settings to Take the Benefits of XAML Renaming for Silverlight, Windows Phone and WinRT

Article ID: KB100023

Synopsis

Silverlight, Windows Phone and WinRT XAML renaming feature was introduced in Eazfuscator.NET 3.6. Projects obfuscated by the earlier versions of Eazfuscator.NET should be upgraded to take a better renaming coverage of XAML symbols.

Possible Side Effects

Please note that allowing Eazfuscator.NET to rename XAML symbols may be a breaking change for your project. If latter is the case then an additional project tuning may be required by employing declarative obfuscation attributes.


A. Instructions for WinRT / Windows 8 Store projects

Please follow the instructions below to upgrade your WinRT / Windows 8 Store project:

  1. Locate the project of interest in Solution Explorer window of Visual Studio. Ensure the project is selected.
  2. Invoke the context menu of a project by clicking Right mouse button.
  3. Find Properties menu item and click on it.
  4. Project properties window will appear.
  5. Find Build Events tab in a window and select it.
  6. Locate the compatibility version number in a post-build event command line as shown at the picture below:
    Post-build event command line
  7. Change the compatibility version number to 3.6 or higher.

B. Instructions for Silverlight and Windows Phone projects

Please follow the instructions below to upgrade your Silverlight or Windows Phone project:

  1. Launch Eazfuscator.NET Assistant from Visual Studio by clicking on Tools → Eazfuscator.NET Assistant menu item. Alternatively it can be launched from Windows Start menu:

    Eazfuscator.NET Assistant
  2. Locate the project of interest in Solution Explorer window of Visual Studio.
  3. Drag and drop it onto the red zone of Eazfuscator.NET Assistant.
  4. Return to Visual Studio. The following window will appear:

    File Modification Detected
  5. Click Reload All button.
  6. Locate the project of interest in Solution Explorer window of Visual Studio once again.
  7. Drag and drop it onto the green zone of Eazfuscator.NET Assistant.
  8. Return to Visual Studio. The following window will appear:

    File Modification Detected
  9. Click Reload All button.

Related Articles