Hi all,
I have a problem using the command line, and it seems to be a bug (or a misunderstood !!), let me explain with a simple example ...
I have an assembly called My.Assembly.To.Protect
The several assemblies are :
My.OpenAssembly
OpenAssembly
I run the following command line :
SmartAssembly.com /create "My.Assembly.To.Protect.saproj" /input="D:\Release\My.Assembly.To.Protect.dll" /output="D:\NewRelease\My.Assembly.To.Protect.dll /assembly="My.Assembly.To.Protect ";prune:true,merge:true,embed:true,nameobfuscate:true,controlflowobfuscate:4,dynamicproxy:false,compressencryptresources:false
The result of the command is :
SmartAssembly v6.8.0.121
Copyright © Red Gate Software 2005-2013
Loading project D:\My.Assembly.To.Protect.saproj
Input=D:\Release\My.Assembly.To.Protect.dll
Output=D:\NewRelease\My.Assembly.To.Protect.dll
Loading main assembly...
Assembly "My.Assembly.To.Protect": Pruning on
Assembly "My.Assembly.To.Protect": Name Mangling on
Assembly "My.Assembly.To.Protect": Control Obfuscation set to level 4
Assembly "My.Assembly.To.Protect": Dynamic References Proxy off
Assembly "My.Assembly.To.Protect": Resource Compression off
The assembly name 'My.Assembly.To.Protect' is not valid for embedding.
The following assemblies are valid with the '/assembly' switch:
My.Assembly.To.Protect
My.OpenAssembly
OpenAssembly
ERROR: At least one of the specified assembly names is not valid.
If I chose another dependency for the option /assembly (My.OpenAssembly or OpenAssembly), it works correctly. I have no trouble like that using the SmartAssembly GUI.
I use
https://www.red-gate.com/supportcenter/ ... ommandLine documentation to create the comman line.
Hope you can help me !
Regards,
Mike
I have a problem using the command line, and it seems to be a bug (or a misunderstood !!), let me explain with a simple example ...
I have an assembly called My.Assembly.To.Protect
The several assemblies are :
My.OpenAssembly
OpenAssembly
I run the following command line :
The result of the command is :
If I chose another dependency for the option /assembly (My.OpenAssembly or OpenAssembly), it works correctly. I have no trouble like that using the SmartAssembly GUI.
I use https://www.red-gate.com/supportcenter/ ... ommandLine documentation to create the comman line.
Hope you can help me !
Regards,
Mike