Re: Not Protect API
Posted: Wed Dec 05, 2012 11:32 am
Hi again,
I solved this issue at the end.
As you mentioned previous post, calling to csc.exe is broking my codes and serialization. So then, I follow the other approach:
If I compile the project without generating XMLSerialization dlls and then merge BugTest.exe and MyLibrary.dll as a new BugTest.exe and then generate BugTest.XmlSerialization.dll from this new BugTest.exe (using sgen) and protect only new BugTest.exe with enigma then my application works perfectly. Also this means, I don't need to change my software architecture.
You can see why csc.exe running when merging and protecting the exe from this link: http://blog.bits-in-motion.com/2009/11/ ... 0solution.
I solved this issue at the end.
As you mentioned previous post, calling to csc.exe is broking my codes and serialization. So then, I follow the other approach:
If I compile the project without generating XMLSerialization dlls and then merge BugTest.exe and MyLibrary.dll as a new BugTest.exe and then generate BugTest.XmlSerialization.dll from this new BugTest.exe (using sgen) and protect only new BugTest.exe with enigma then my application works perfectly. Also this means, I don't need to change my software architecture.
You can see why csc.exe running when merging and protecting the exe from this link: http://blog.bits-in-motion.com/2009/11/ ... 0solution.