Marking assembly as released
Ed
Posts: 7
I build both debug and release versions on our build server via continuous integration. When we want to release, we take the last good build, test it and then release it.
How do I after the fact MarkAsReleased the build?
OR
Do I MarkAsReleased every build but then how do I delete the the builds that are not required?
How do I after the fact MarkAsReleased the build?
OR
Do I MarkAsReleased every build but then how do I delete the the builds that are not required?
_Ed_
Comments
I need to understand how this decryption is managed and be able to see that the decryption information is available. I will hate to be in a position where I am trying to solve a customer problem and cannot decode a stack trace.
Otherwise, you can mark as released afterwards manually, as slaphead99 says, from the command line.
Things which are not marked as released are only deleted if they receive no new reports for 2 weeks, so if you have a relatively high volume of exception reports, and check often enough (I use a scheduled task every day) they usually get kept when they're needed anyway.
Developer,
Red Gate .NET Tools
e.g.
SmartAssembly.com /markasrelease MyExeFile.exe
There is more information about the command line version in our support pages.
Note 1:
Information not marked "as release" is deleted if it is not accessed (i.e. exceptions reported) for 15 days. This is configurable, so if you know that it will take longer than 15 days between building your application and marking it for release then you should extend the time. In the SmartAssembly.settings file (which will either be where you have installed SmartAssembly on XP or in "C:\ProgramData\Red Gate\SmartAssembly 5\" on Vista / Win 7) in the "Options" section change or add a "Maps" node with the attribute ObsoleteAfterNDays="x" where x is the number of days.
e.g.
Note 2:
This is only relevant if you are using the Error Reporting feature of SmartAssembly, if you are using the ASCII encoding to use the more traditional Stack Trace Decode feature you don't need to worry about this.