We never create transaction so that user does not rollback logging code
Always run logging code outside of transaction.
Added reference for netfx40 project.
Added reference for netfx35 project.