As already mentioned, a few days ago @gsuttie offered his help in building Nuget packages for ElmahR. We discussed and agreed that the most meaningful place to start was a package to easily configure a source, and he did a good job coming out with a first version. But then I soon realized that it would have been much easier to have the process more integrated with ElmahR project itself, taking advantage of all the Nuget packaging features. So I took over the task and finalized it, and now an 'official' Nuget package is available!
A few considerations:
- The package is called ElmahR.Elmah, and it helps you configuring a source, adding the necessary pieces to your web.config
- ElmahR is still under development, and the same stands for the Nuget package, which has the same version number of the currently available binaries (0.7.2). The package might not be perfect, if you discover anything weird in it please let me know
- The package manages the dependency on ELMAH through Nuget itself
- This package does NOT help you to configure a dashboad instance, for that you'll have to check the repository and start from there
In order to implement things easily and consistently, I went through an overall reorganization of the project:
- The ElmahR.Elmah assembly, which was already there but mainly for technical reasons, now is a first citizen in the project because it absorbed the ErrorPostModule, which before was gently hosted by the Elmah Sandbox project. This change simplified the overall project maintenance and made easier to build a consistent Nuget package
- I changed the .NET framework version of this assembly from 2.0 to 3.5, this way it will still work fine with ASP.NET 2.0 web site, but at the same time I've been able to take advantage of Linq while moving ErrorPostModule.
I'll write more about it in the next few days, probably in the project wiki.