Jaa


Porting Issues: ObjectBuilder Unit Tests

  • Deprecated unit tests related to circular references. This
    feature is not supported in the CF version of CAB.
  • Compact Framework seems to through exceptions differently than
    the full .Net framework. On the full framework, MethodInfo.Invoke may throw an
    "Exception" exception wrapping the real exception which can be found in
    InnerExeption property. On the CF, the real exception is not
    wrapped.
    (resolution: look for inner exception, if found, use it, otherwise
    use outer exception)
    Oops, can't do that... System.ArgumentException has
    InnerException. Just will have to delete the VSTS unit test in CF Test
    Runner.
  • NullReferencePointer in ObjectBuilderXmlConfig.cs
    ParseXmlConfiguration method when trying to read from resource
    stream.
    (resolution: set Build Action property to Embedded Resource for
    ObjectBuilderXmlConfig.xsd)