Problems with Serialization and AppDomain.CurrentDomain.GetAssemblies()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel Ferrarini

    Problems with Serialization and AppDomain.CurrentDomain.GetAssemblies()

    The following code show me all assemblies attached to the project.

    =============== =============== ===

    For Each asm In AppDomain.Curre ntDomain.GetAss emblies()

    MessageBox.Show (asm.Location)

    Next

    =============== =============== ===

    If I create one class like

    =============== =============== ==

    Public Class Teste

    End Class

    =============== =============== ==

    and execute the code

    Dim Serializer As New Serialization.X mlSerializer(Ge tType(Teste))

    For Each asm In AppDomain.Curre ntDomain.GetAss emblies()

    MessageBox.Show (asm.Location)

    Next

    =============== =============== =============

    one of the assemblies attached will be a blank reference.

    For each "Dim Serializer As New Serialization.X mlSerializer(Ge tType(Teste))"
    a blank reference is attached.

    Can someone help me?


Working...