Comments
Sort by recent activity
And I forgot to attach the error log like I said I would. Here it is. / comments
And I forgot to attach the error log like I said I would. Here it is.
Already done, @RichardL. I'm actually waiting to hear back from support regarding the results of a test I performed at their request. Thanks! / comments
Already done, @RichardL. I'm actually waiting to hear back from support regarding the results of a test I performed at their request. Thanks!
Apologies for the late response.
We figured out that doing the obfuscation after the IncrementalClean and before the PostBuild was the best fit for us. Otherwise, the resulting project file looks quite similar to the documentation.
Thanks! / comments
Apologies for the late response.
We figured out that doing the obfuscation after the IncrementalClean and before the PostBuild was the best fit for us. Otherwise, the resulting project file looks q...
Whoops, hit enter on accident.
I am having an issue with one assembly I'm trying to obfuscate. When I build it using the GUI, I get an ArgumentOutOfRangeException (I see it as an error message while it's running the obfuscation, and I see it in the SmartAssembly log file - see attached). I'm not sure if this is my code that's creating the exception, or SmartAssembly's.
The weird part is that when I build my source code using the MSBuild integration I have set up, I get a different error:
error : SmartAssembly build failed:
error : Cannot find dependency 'BusinessObjects.Licensing.KeycodeDecoder, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304', which is required for assembly:
error : CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
This dependency is not set up to be merged or embedded for this .dll, and the project references this dependency by pointing to its installed location on the machine.
Questions:
1. Are these two errors related?
2. If I embed the dependency in the .saproj, will this get rid of the second error?
3. Will getting rid of the second error get rid of the first error? / comments
Whoops, hit enter on accident.
I am having an issue with one assembly I'm trying to obfuscate. When I build it using the GUI, I get an ArgumentOutOfRangeException (I see it as an error message whil...
After much testing, it seems that the issue is the BusinessObject.Licensing.KeycodeDecoder.dll is not a .NET managed assembly, which means that SmartAssembly has difficulty (if not outright refusal) processing it. It also seems the two issues were related, since solving the first solved the second one.
We got around the issue by making all CrystalReports dlls referenced by our code to be ignored, via the "NotAvailable" <Assembly> attribute in the .saproj file. This causes the MSBuild to pass, and performing a clean/rebuild on the dll in Visual Studio before running the build in SA GUI removes the second issue. / comments
After much testing, it seems that the issue is the BusinessObject.Licensing.KeycodeDecoder.dll is not a .NET managed assembly, which means that SmartAssembly has difficulty (if not outright refusal...
I've answered the first question on my own:
We ran a test obfuscation build. We've decided to obfuscate each .dll independently, with each project pointing to a template .saproj, and using the MSBuild obfuscation. After installing the obfuscated build, the client application that downloads the obfuscated dlls worked just fine.
Now to see if the other two questions can be answered. / comments
I've answered the first question on my own:
We ran a test obfuscation build. We've decided to obfuscate each .dll independently, with each project pointing to a template .saproj, and using the MSBu...
Because we have decided to obfuscate each assembly independent of the application that uses it, I believe we won't hit issues 2 and 3 anyway, no merging or embedding needed. Thanks for the response! / comments
Because we have decided to obfuscate each assembly independent of the application that uses it, I believe we won't hit issues 2 and 3 anyway, no merging or embedding needed. Thanks for the response!
I am also curious about this, though from an MSBuild integration stand point. Is this at all possible? / comments
I am also curious about this, though from an MSBuild integration stand point. Is this at all possible?
Hi Jessica R, that did work. Thanks! / comments
Hi Jessica R, that did work. Thanks!
Was there ever a resolution to this issue? I am experiencing a similar problem where many of the assemblies I'm obfuscating via MSBuild integration hit the "Cannot find assembly... Make sure it's in the GAC" error. I've also tried using relative and absolute paths, I'm on the latest version of SmartAssembly (6.11.1.433), and I've verified that the assembly that it's having issues finding (CrystalDecisions.CrystalReports.Engine) is in the GAC. / comments
Was there ever a resolution to this issue? I am experiencing a similar problem where many of the assemblies I'm obfuscating via MSBuild integration hit the "Cannot find assembly... Make sure it's i...