title: PreEmptive Dotfuscator not working on Xamarin
body: <p>I'm using PreEmptive Obfuscator (Dotfuscator) to obfuscate a Xamarin app. 
  My  problem is that the Obfuscator doesn't obfuscate my project dlls. When i open the dll after obfuscation i still see readable information. The obfuscation tool automatically opens when i click build/rebuild button - this proves that i linked/configured it properly.</p>
  
  <p>What could be the problem ? Please see the screenshot below :</p>
  
  <p><a href="https://i.stack.imgur.com/ZeM1J.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZeM1J.jpg" alt="enter image description here"></a></p>
  
  <p>My project file code :</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;PropertyGroup&gt;
     &lt;DotfuscatorXamarinCliPath&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\PreEmptiveSolutions\DotfuscatorCE\dotfuscatorCLI.exe&lt;/DotfuscatorXamarinCliPath&gt;
      &lt;DotfuscatorXamarinConfigFileName&gt;DotfuscatorConfig.xml&lt;/DotfuscatorXamarinConfigFileName&gt;
      &lt;DotfuscatorXamarinGenerateNewConfigFile&gt;true&lt;/DotfuscatorXamarinGenerateNewConfigFile&gt; 
  
      &lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Debug&lt;/Configuration&gt;
      &lt;Platform Condition=" '$(Platform)' == '' "&gt;AnyCPU&lt;/Platform&gt;
      &lt;ProductVersion&gt;8.0.30703&lt;/ProductVersion&gt;
      &lt;SchemaVersion&gt;2.0&lt;/SchemaVersion&gt;
      &lt;ProjectGuid&gt;{88F1AA1B-4608-40F7-B14D-C7E28099A26E}&lt;/ProjectGuid&gt;
      &lt;ProjectTypeGuids&gt;{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}&lt;/ProjectTypeGuids&gt;
      &lt;OutputType&gt;Library&lt;/OutputType&gt;
      &lt;AppDesignerFolder&gt;Properties&lt;/AppDesignerFolder&gt;
      &lt;RootNamespace&gt;TestDotObfuscator&lt;/RootNamespace&gt;
      &lt;AssemblyName&gt;TestDotObfuscator&lt;/AssemblyName&gt;
      &lt;FileAlignment&gt;512&lt;/FileAlignment&gt;
      &lt;AndroidApplication&gt;True&lt;/AndroidApplication&gt;
      &lt;AndroidResgenFile&gt;Resources\Resource.Designer.cs&lt;/AndroidResgenFile&gt;
      &lt;AndroidResgenClass&gt;Resource&lt;/AndroidResgenClass&gt;
      &lt;GenerateSerializationAssemblies&gt;Off&lt;/GenerateSerializationAssemblies&gt;
      &lt;AndroidUseLatestPlatformSdk&gt;True&lt;/AndroidUseLatestPlatformSdk&gt;
      &lt;TargetFrameworkVersion&gt;v6.0&lt;/TargetFrameworkVersion&gt;
      &lt;AndroidManifest&gt;Properties\AndroidManifest.xml&lt;/AndroidManifest&gt;
      &lt;MonoAndroidResourcePrefix&gt;Resources&lt;/MonoAndroidResourcePrefix&gt;
      &lt;MonoAndroidAssetsPrefix&gt;Assets&lt;/MonoAndroidAssetsPrefix&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "&gt;
      &lt;DebugSymbols&gt;True&lt;/DebugSymbols&gt;
      &lt;DebugType&gt;Full&lt;/DebugType&gt;
      &lt;Optimize&gt;False&lt;/Optimize&gt;
      &lt;OutputPath&gt;bin\Debug\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE&lt;/DefineConstants&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;WarningLevel&gt;4&lt;/WarningLevel&gt;
      &lt;AndroidUseSharedRuntime&gt;True&lt;/AndroidUseSharedRuntime&gt;
      &lt;AndroidLinkMode&gt;None&lt;/AndroidLinkMode&gt;
      &lt;EmbedAssembliesIntoApk&gt;False&lt;/EmbedAssembliesIntoApk&gt;
      &lt;AotAssemblies&gt;false&lt;/AotAssemblies&gt;
      &lt;EnableLLVM&gt;false&lt;/EnableLLVM&gt;
      &lt;BundleAssemblies&gt;false&lt;/BundleAssemblies&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "&gt;
      &lt;DotfuscatorXamarinEnabled&gt;true&lt;/DotfuscatorXamarinEnabled&gt; 
      &lt;DebugSymbols&gt;True&lt;/DebugSymbols&gt;
      &lt;DebugType&gt;PdbOnly&lt;/DebugType&gt;
      &lt;Optimize&gt;True&lt;/Optimize&gt;
      &lt;OutputPath&gt;bin\Release\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;TRACE&lt;/DefineConstants&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;WarningLevel&gt;4&lt;/WarningLevel&gt;
      &lt;AndroidManagedSymbols&gt;true&lt;/AndroidManagedSymbols&gt;
      &lt;AndroidUseSharedRuntime&gt;False&lt;/AndroidUseSharedRuntime&gt;
      &lt;AndroidLinkMode&gt;SdkOnly&lt;/AndroidLinkMode&gt;
      &lt;EmbedAssembliesIntoApk&gt;True&lt;/EmbedAssembliesIntoApk&gt;
      &lt;AotAssemblies&gt;false&lt;/AotAssemblies&gt;
      &lt;EnableLLVM&gt;false&lt;/EnableLLVM&gt;
      &lt;BundleAssemblies&gt;false&lt;/BundleAssemblies&gt;
      &lt;AndroidCreatePackagePerAbi&gt;true&lt;/AndroidCreatePackagePerAbi&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Reference Include="System" /&gt;
      &lt;Reference Include="System.Xml" /&gt;
      &lt;Reference Include="System.Core" /&gt;
      &lt;Reference Include="Mono.Android" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Compile Include="DB.cs" /&gt;
      &lt;Compile Include="MainActivity.cs" /&gt;
      &lt;Compile Include="Resources\Resource.Designer.cs" /&gt;
      &lt;Compile Include="Properties\AssemblyInfo.cs" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;None Include="GettingStarted.Xamarin" /&gt;
      &lt;None Include="Resources\AboutResources.txt" /&gt;
      &lt;None Include="Properties\AndroidManifest.xml" /&gt;
      &lt;None Include="Assets\AboutAssets.txt" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;AndroidResource Include="Resources\layout\Main.axml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/AndroidResource&gt;
      &lt;AndroidResource Include="Resources\values\Strings.xml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Folder Include="Resources\drawable\" /&gt;
      &lt;Folder Include="Resources\mipmap-hdpi\" /&gt;
      &lt;Folder Include="Resources\mipmap-mdpi\" /&gt;
      &lt;Folder Include="Resources\mipmap-xhdpi\" /&gt;
      &lt;Folder Include="Resources\mipmap-xxhdpi\" /&gt;
      &lt;Folder Include="Resources\mipmap-xxxhdpi\" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;None Include="DotfuscatorConfig.xml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /&gt;
    &lt;!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
          Other similar extension points exist, see Microsoft.Common.targets.
          &lt;Target Name="BeforeBuild"&gt;
          &lt;/Target&gt;
          &lt;Target Name="AfterBuild"&gt;
          &lt;/Target&gt;
      --&gt;
    &lt;Import Project="..\..\PreEmptive.Dotfuscator.Xamarin.targets" /&gt;
  &lt;/Project&gt;
  </code></pre>