Comments
13 comments
-
Yes it is. Exception details and a build log would be good.
-
I have the exception details saved to disk, but I see I can't attach files in the forums. How should I send you the files? Also, how do I generate a build log?
Regards,
Martin. -
You can generate a build log by following https://documentation.red-gate.com/sa7/troubleshooting/unexpected-behavior-and-technical-questions/log-file-for-smartassembly and emailing Support@red-gate.com.
-
I have the same problem.
My application targets .Net Framework 4.
When it's obsfucated with SmartAssembly 6.13.3.1314 and runs on Windows 7 with only .Net Framework 4 installed, it runs without problems.
When it's obfucated with SmartAssembly 7.0.5.2336 and runs on on Windows 7 with only .Net Framework 4 installed, I have this error : System.TypeLoadException : Unable to load type 'System.Runtime.CompilerServices.ExtensionAttribute' from the assembly 'mscorlib, Version=4.0.0.0'.
If I install .Net Framework 4.5, I don't have this error anymore.
-
We identified what the cause of it is and are working on it. SA-2157 for reference.
-
We also have this problem.It's very serious for us because we still have some customers with WinXP.
How long do you think the fix will take?Please consider this a high priority bug for us.Thanks
-
This bug has been fixed, please download the latest version of SmartAssembly here:
https://download.red-gate.com/checkforupdates/SmartAssembly/SmartAssembly_7.0.6.2383.exe
-
I confirm that the bug is NOT fixed. I have the same problem with the version 7.0.6.2383.
-
same here
-
Hi All,
After speaking to the team, there is a PR for the fix but it has not yet been merged. The bug report was marked as fixed in 7.0.4 which is why Victoria sent the link, but that's not the case (as you've seen). I'll update here when the fix has been merged.
Apologies for the confusion!
Kind regards,
Alex -
Hi All,
The team have let me know the PR has been merged and this should now be fixed in version 7.0.7 which you can download here:
https://download.red-gate.com/checkforupdates/SmartAssembly/SmartAssembly_7.0.7.2439.exe
Kind regards,
Alex
-
I can confirm that the problem is resolved.
-
Great, thanks.
Add comment
Please sign in to leave a comment.
Protecting the same exe with version 6.10.0.220 works fine.
The errors I'm experiencing happen on Windows XP (hence the .NET 4.0 requirement) and seem very basic - nothing to do with my code. For instance, updating the Configuration file to import the UserSettings values.
The exceptions are TypeLoadException and TypeInitializationException (I have the exception details if required).
Thanks,
Martin.