Not sure if anyone can help if they don't have this software, but am going to try. Maybe someone knows.
I use logic NP obfuscator and am trying to compile a dll plugin I am wanting to send on the app portathon, so I need an answer as soon as possible if anyone can share some insight.
Obviously there is some obfuscating in the acad support files, that I guess mine is bucking with. This is the error message I am getting. I tried to ignore the acad stuff.
Crypto Obfuscator For .Net v2013 R2 Standard (Licensed To: James Boone,Powersoft Engineering), Build:130904
----------------------------------------------------------------------------------------------
Running from UI - C:\Program Files (x86)\LogicNP Software\Crypto Obfuscator For .Net 2013 R2\CryptoObfuscator.exe
Obfuscator Project File= A:\_EPS folder\PanSchPro acad\bin\EPSElec.obproj
Output Path= A:\_EPS folder\PanSchPro acad\bin\Obfuscator
Loading assembly 'A:\_EPS folder\PanSchPro acad\bin\EPSElec.dll'
Preparing assembly 'EPSElec'
Error occurred while obfuscation: System.IO.FileNotFoundException - System.IO.FileNotFoundException: Could not resolve: Acdbmgd, Version=19.1.0.0, Culture=neutral, PublicKeyToken=null. Specify the path where this assembly resides using 'Search Directories' in the Crypto Obfuscator's Project Properties Dialog (Ctrl+P).
at A.cb24b5c995a4b3c86147a8d69d9719630.c321f3c9128e424f37bb880e068efff85(c321a25747e1f498390774b65fb9f89af ) in File203:line 108
at A.c2224c862d1a97307eaa6744d9fd44052.c321f3c9128e424f37bb880e068efff85(c321a25747e1f498390774b65fb9f89af ) in File215:line 71
at A.c535ae534c1db2c6fa21d03d4b8fe97f6.c321f3c9128e424f37bb880e068efff85(c20ba0ba68fd6b425e71a765705a50574 ) in File182:line 79
at A.c20ba0ba68fd6b425e71a765705a50574.c321f3c9128e424f37bb880e068efff85() in File2:line 201
at A.c1a5e0c07abbeebee260c9294e9ffb443.cb3258476904695ff17ea41cfa007be2a(c20ba0ba68fd6b425e71a765705a50574 ) in File270:line 1143
at A.c7ef3407ce7699a98d477921a4f307e97.c0216acd28360b854616e69342e43c906(c1a5e0c07abbeebee260c9294e9ffb443 , List`1 , Hashtable , c345a8b484323503b63d6257e9c79f632 ) in File270:line 1009
at A.c7ef3407ce7699a98d477921a4f307e97.c7c3e4ecccb6e8d96390def8e3e3f5e5a() in File270:line 866
at A.cfa31229d37496446ccf88f83596adf9d.c06aad533d46c5d74d67d9ee472ea5b01() in File314:line 1258
at A.cfa31229d37496446ccf88f83596adf9d.ca4838fb9343869ab96585d35476ae1ae(c4c650b0a5c7749985595b3e1ea6e3255 ) in File314:line 2548
You have to own a Obfuscator, but most arn't cheap, in the $2500 range, but I was able to find one, LogicNP, out of India for less than $300. Tell them James Boone sent you.
The product is relativly easy to work, once you learn all the neances of obfuscation and the terminology.
Consider two dependent Projects in your solution .A and B , if A.DLL alone is builded and updated in crypto obfuscator then the the references to B.DLL are not got from the metadata from the obfuscator
..... so consider the whole solution always before obfuscating the solution .
The obfuscator I have compiles both at the same time. Actually I have to take special efforts to remove any I don't want compiled.
Hi folks
I'm sure someone will be going through the same problems in the futre. So perhaps I will write a blog post about it once I have the solution.
Context
I have written a dll. I do not want staff/colleagues running off with it. If they do I don't want to make it easy. I am using CryptoObfuscator to obfuscate the dll.
and it throws up the following screen - which looks exactly like the error James Boone had above.
Jame's solution:
Here are my crypto settings:
I"m using Autocad 2016. And I have made a .net DLL that degubs perfectly. It just can't seem to obfuscate it. any help would be much appreciated.
kind regards
BK
Here is the error log that Cypto Obfuscator spits out:
Crypto Obfuscator For .Net v2015 Enterprise - EVALUATION VERSION, Build:160118
----------------------------------------------------------------------------------------------
Running from UI - C:\Program Files (x86)\LogicNP Software\Crypto Obfuscator For .Net 2015\CryptoObfuscator.exe
Obfuscator Project File= C:\Users\Koshy\Documents\CryptoObfuscator_projects\test_BubbleDeckObfuscation.obproj
Output Path= C:\Users\Koshy\Documents\CryptoObfuscator_projects\CryptoObfuscator_Output
Loading assembly 'C:\Users\Koshy\Documents\Visual Studio 2013\Projects\Bubble Deck\Bubble Deck\bin\Release\Bubble Deck.dll'
Detected Assembly Target Framework: Normal
Loaded symbols for 'C:\Users\Koshy\Documents\Visual Studio 2013\Projects\Bubble Deck\Bubble Deck\bin\Release\Bubble Deck.dll'
Merging CryptoLicensing assembly in assembly 'Bubble Deck'
Detected Assembly Target Framework: Normal
Preparing assembly 'Bubble Deck'
Error occurred while obfuscation: System.IO.FileNotFoundException - System.IO.FileNotFoundException: Could not resolve: Acdbmgd, Version=20.0.0.0, Culture=neutral, PublicKeyToken=null. Specify the path where this assembly resides using 'Search Directories' in the Crypto Obfuscator's Project Properties Dialog (Ctrl+P).
at A.cb24b5c995a4b3c86147a8d69d9719630.c321f3c9128e424f37bb880e068efff85(c321a25747e1f498390774b65fb9f89af ) in File203:line 108
at A.c2224c862d1a97307eaa6744d9fd44052.c321f3c9128e424f37bb880e068efff85(c321a25747e1f498390774b65fb9f89af ) in File215:line 71
at A.c535ae534c1db2c6fa21d03d4b8fe97f6.c321f3c9128e424f37bb880e068efff85(c20ba0ba68fd6b425e71a765705a50574 ) in File182:line 79
at A.c20ba0ba68fd6b425e71a765705a50574.c321f3c9128e424f37bb880e068efff85() in File2:line 225
at A.c1a5e0c07abbeebee260c9294e9ffb443.cb3258476904695ff17ea41cfa007be2a(c20ba0ba68fd6b425e71a765705a50574 ) in File271:line 1171
at A.c7ef3407ce7699a98d477921a4f307e97.c0216acd28360b854616e69342e43c906(c1a5e0c07abbeebee260c9294e9ffb443 , List`1 , Hashtable , c345a8b484323503b63d6257e9c79f632 ) in File271:line 1037
at A.c7ef3407ce7699a98d477921a4f307e97.c7c3e4ecccb6e8d96390def8e3e3f5e5a() in File271:line 894
at A.cfa31229d37496446ccf88f83596adf9d.c06aad533d46c5d74d67d9ee472ea5b01() in File315:line 1397
at A.cfa31229d37496446ccf88f83596adf9d.ca4838fb9343869ab96585d35476ae1ae(c4c650b0a5c7749985595b3e1ea6e3255 ) in File315:line 2713
Can't find what you're looking for? Ask the community or share your knowledge.