I used ildasm on both dlls and I found that :

1. There is no .mresources in both dlls (I guess that means I have no
embedded resources in both dlls)
2. In the Manifest, the values for .MVID, .imagebase, and .file
alignment is different between the dll compiled from NAnt and VS 2003
3. In the results for the dll compiled using NAnt (vbc task), there is
an extra item : 
    .custom instance
void[Microsoft.VisualBasic]Microsoft.VisualBasic.CompileServices.OptionTextAttribute:ctor()
= (01 00 00 00) ...
4. In the item "class public auto ansi" for the dll compiled using
NAnt, double-clicking on this item yields the details. The details  show
:

.class public auto ansi MyClass
       extends [mscorlib]System.Object
{
  .custom instance void
[Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.OptionTextAttribute::.ctor()
= ( 01 00 00 00 ) 
} // end of class MyClass

whereas for the dll compiled using VS2003, the details show :

.class public auto ansi MyClass
       extends [mscorlib]System.Object
{
} // end of class MyClass

Any help is appreciated. Thanks.

  -Andrew


>Andrew,
>
>Should your assembly contained embedded resources ?
>
>You might want to use ILDASM to compare both assemblies.
>
>Gert



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to