How can we help you today? How can we help you today?
Knuddlbaer

Activity overview

Latest activity by Knuddlbaer

Let's build the project step by step: First, pls create C:\t\redgate_13136 directory so we have the same structure. Next, create an empty .Net 4.0 class library project named ClassLibrary1 Add this function: public class Class1 { public void Function() { Console.WriteLine("Hello World"); } } and use C:\t\redgate_13136\test.snk to sign the dll. Build the dll and copy the result to C:\t\redgate_13136 Next, Build an ConsoleApplication Project. Add a reference to C:\t\redgate_13136\ClassLibrary1.dll Add following code for Main: class Program { static void Main(string[] args) { Class1 c1 = new Class1(); c1.Function(); Console.ReadLine(); } } Make shure, MDA is enabled: http://haispeed.de/redgate/MDA%20Message.jpg Run the sample in VS2010. There should no MDA Messages about pInvoke and stack. You find this step at http://www.haispeed.de/redgate/13136/Step1.zip Next, open smartassembly. Create new project. Browse for Assembly C:\t\redgate_13136\ClassLibrary1\ClassLibrary1\bin\Debug\ClassLibrary1.dll Set Target to C:\t\redgate_13136\ClassLibrary1.dll Change Strong Name Signing to "I want to sign my assembly with a strong name". Browse for an key and select C:\t\redgate_13136\test.snk Say: I want to add tamper protection http://haispeed.de/redgate/13136/SA_Setting.jpg All other otpions leave as is. Build the SA project and rebuild (full rebuild) the ConsoleApplication1. Start the app. There should now an MDA Message: http://haispeed.de/redgate/13136/MDA-Message.jpg Ein Aufruf an die PInvoke-Funktion "ClassLibrary1!ClassLibrary1.Class1::StrongNameSignatureVerificationEx" hat das Gleichgewicht des Stapels gestört. Wahrscheinlich stimmt die verwaltete PInvoke-Signatur nicht mit der nicht verwalteten Zielsignatur überein. Überprüfen Sie, ob die Aufrufkonvention und die Parameter der PInvoke-Signatur mit der nicht verwalteten Zielsignatur übereinstimmen. You find the Step on You find this step at http://www.haispeed.de/redgate/13136/Step2.zip Version of SmartAssembly is 6.0 buiild 513 / comments
Let's build the project step by step: First, pls create C:\t\redgate_13136 directory so we have the same structure. Next, create an empty .Net 4.0 class library project named ClassLibrary1 Add this...
0 votes
Is it possible to make an feature request for future versions? Best regards Michael / comments
Is it possible to make an feature request for future versions? Best regards Michael
0 votes
I was not able to reproduce this problem in an small project. I'll write here if i found my error or build an small example. Best regards Michael / comments
I was not able to reproduce this problem in an small project. I'll write here if i found my error or build an small example. Best regards Michael
0 votes
Since i need to obfuscate more than one part at one time, i wrote some batch files and added the sign process on this files. best regards Michael / comments
Since i need to obfuscate more than one part at one time, i wrote some batch files and added the sign process on this files. best regards Michael
0 votes
PInvokeStackImbalance on using tamper protection
Hi! If i use "I want to add tamper protection", i got an MDA: PInvokeStackImbalance wurde erkannt. Message: Ein Aufruf an die PInvoke-Funktion "xyz::–" hat das Gleichgewicht des Stapels gestö...
2 followers 8 comments 0 votes
Keycontainer
Is it possible to use keycontainer on strong name singing? best regards Michael
2 followers 7 comments 0 votes
Execute task after build
Is it possible to add an userdefined action after building the obfuscated assembly? I want to use signtool to sign the obfuscated dlls. best regards Michael
2 followers 2 comments 0 votes