Usage with .NET Framework Client Profile

Oct 1, 2010 at 9:47 AM

Is it possible to use your framework with the client profile of .NET in the future? Currently there's a reference to System.Web that prevents the usage in such a scenerio.

Oct 1, 2010 at 12:53 PM

Because of simplicity reasons, I decided to put the web specific loggers in the same assembly. For this reason the library contains a reference to System.Web. However, I made sure that System.Web is only loaded when you explicitly configure these web dependant loggers.

In other words, while Visual Studio might warn you about the dependency on System.Web, you can simply deploy the CuttingEdge.Logging.dll with an client profile application (just as you can ignore the warning about the reference to System.Core in a .NET 2.0 application). Just don't configure anything that is located in the CuttingEdge.Logging.Web namespace.

I hope this helps.