Licensing of PostSharp Diagnostics
The way PostSharp Diagnostics is licensed differs from the other components of PostSharp. Depending on the license available during the build of your project, either PostSharp Diagnostics Developer Edition or PostSharp Diagnostics Standard Edition is selected.
This topic contains the following sections:
During a software development process, you often need to trace the project behavior in run-time. This is where you choose the PostSharp Diagnostics Developer Edition. It allows you to use the logging pattern anywhere in your project. PostSharp Diagnostics Developer Edition is free of charge and included in all PostSharp products, even the free PostSharp Essentials.
The limitation of this edition is that the logging messages will be emitted up to 24 hours after the build of your assembly. After this period of time, your application will keep working, but the logging messages will no longer be emitted.
PostSharp Diagnostics will switch itself to Developer Edition in the following situations:
When using PostSharp Essentials or another PostSharp product that does not include PostSharp Diagnostics.
When building your code on a build server, unless the license key has been added to postsharp.config.
When building unmodified code on the machine of an unlicensed developer, using the feature described in Sharing Source Code With Unlicensed Teams.
PostSharp Diagnostics Standard Edition does not have the limitations of the Developer Edition.
PostSharp Diagnostics Standard Edition is a commercial product. It can be purchased separately or as a part of PostSharp Ultimate or PostSharp Enterprise. See our web site for details regarding the PostSharp commercial offering.
If you are using PostSharp Diagnostics Standard Edition, we recommend you add your license key to postsharp.config as described in Deploying License Keys. Otherwise, the DIA006 warning will be displayed during the build. If you don't plan to use a build server, you can turn off the warning as explained in Ignoring and Escalating Warnings.