Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-175

Trunk fails to build for compact-framework, due to [Serializable] attributes on exception classes.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None
    • None
    • Building trunk using nant on Windows XP

    • Patch Available

    Description

      The trunk fails to build due to the [Serializable] attributes that are on many of the exception classes. Removing the attributes, which I have done in the attached patch, resolves the issue and compilation then succeeds.

      I am not sure about the consequences of removing the serializable attributes, but did look through the revision history and cannot see any consistency of when certain exceptions have this attribute.

      Another option would be to wrap compile time directives around the attributes so they are not included in the compact framework build.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            danellisuk Daniel Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: