Activity overview
Latest activity by nyxling
It appears that the link that Jessica provided is indeed what I needed to make things work properly, so I would consider this issue closed. / comments
It appears that the link that Jessica provided is indeed what I needed to make things work properly, so I would consider this issue closed.
Hey there, I just logged in to check/post my solution, and it turns out that I had found the same thing as DanielRose.
For a while there I was originally thinking that the "Process exited with code 0" actually referred to the commandline process, which would always simply returns 0 when it finished, but testing with a failed copy as the last line proved that suspicion wrong, as it would then return code 1. / comments
Hey there, I just logged in to check/post my solution, and it turns out that I had found the same thing as DanielRose.
For a while there I was originally thinking that the "Process exited with code...
Hi Jessica,
This is the contents of the .cmd file (it's just a .bat file)
IF NOT EXIST "0001_Obfuscate" ( mkdir "0001_Obfuscate" )
IF EXIST "0001_Obfuscate\Assembly-CSharp.dll" ( del "0001_Obfuscate\Assembly-CSharp.dll" )
"C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com" /build "%system.teamcity.build.checkoutDir%/../0001.saproj"
IF EXIST "0001_Obfuscate\Assembly-CSharp.dll" ( copy "0001_Obfuscate\Assembly-CSharp.dll" "0001_Build\0001_Data\Managed\Assembly-CSharp.dll" )
As you can see, there are a few directory/file management lines, but basically it's just calling SmartAssembly, and to answer your questions:
1) Yes, it's calling SmartAssembly.com
2) I'm not 100% sure. I no longer have the failed build on my machine, so I can't check it's log directly, and as such, I don't know definitively whether the "Process exited with code 0" line was collapsed with the rest of the "Step5/5" stuff or not. (it auto-collapses each step's logs to make them separately viewable) HOWEVER, the overall build process was considered a success by TeamCity, and it's designed to detect errors so it can report them as a failed build. That said, if SmartAssembly had returned non-zero, it -should- have caused the entire build to fail.
I suppose there's a chance that there's a bug in TeamCity, but the fact that during configuration, I've gotten tons of errors leading to failed builds has lead me to believe that it's SmartAssembly and not TeamCity. But I'm not discounting the possibility^^
I'll have to take a look at that blog post and see if it applies to my situation, when I have time. I'll be sure to get back to you about that. / comments
Hi Jessica,
This is the contents of the .cmd file (it's just a .bat file)
IF NOT EXIST "0001_Obfuscate" ( mkdir "0001_Obfuscate" )
IF EXIST "0001_Obfuscate\Assembly-CSharp.dll" ( del "0...
Sometimes SA doesn't give error return codes
I'm using SA v6.8.0.121 and have set it up to run in my TeamCity-based build server-- I've got it all working as desired, except that in some (all?) cases, when SA fails to obfuscate, it doesn't ac...
Hey there,
I sat thru the first 15 minutes of obfuscation, looking at the task in Process Monitor, and it appears that CPU and RAM usage is not an issue:
* CPU was pretty consistently at 12.5% (and the System Idle Process had about 85%)
* RAM was mostly at about 220MB
It will take me some time to run thru another build again, to get a full log file for you, since it takes 2.5hr or so to do. I'll try to remember to set it to run tonight, on my way out of the office.
Unsure about whether I'll be able to share the assembly with you or not, but I strongly suspect there will be non-trivial resistance from management on the subject, so it's probably best if we left exploring that option as a last resort. / comments
Hey there,
I sat thru the first 15 minutes of obfuscation, looking at the task in Process Monitor, and it appears that CPU and RAM usage is not an issue:
* CPU was pretty consistently at 12.5% (and...
Hi Jessica,
Thanks for the reply!
I went thru your steps and opened up the log file after a few minutes-- when looking at the Resolved Assembly lines, the only instances of Version=1. I found were for some of our third party assemblies. All of the lines for mscorlib were Version=2.0.0.0.
Added information: During a build, the progress bar goes up to about 33% pretty quickly (a minute or two), but at that point, the text changes to Obfuscating..., and then 99% of the time building is spent getting from that point to about 49% (the text doesn't change during that whole time). After that, the progress bar moves pretty quick again, to finish it off within a few minutes.
Currently using SA Version 6.8.0.121 / comments
Hi Jessica,
Thanks for the reply!
I went thru your steps and opened up the log file after a few minutes-- when looking at the Resolved Assembly lines, the only instances of Version=1. I found were ...
Time taken to obfuscate
Our team has been using SA for about a year now, and we've noticed that the amount of time it has taken to obfuscate has been increasing fairly dramatically during this time. We're looking for a wa...