I am using al.exe to build a exe from a .netmodule and adding a
resource. I was able to do it and al.exe ran fine. I was expecting
that the exe that get generated will have both my .netmodule and the
resource and it seems not. When I copy just the exe to another
directory and run it, I get filenotfound error on the .netmodule. Am I
missing something? here is the command line question
al /out:u1.exe /t:winexe /embed:b.resources u.netmodule /
main:NameSpace.Program.Main
When I run u1.exe with u.netmodule, it works fine, but if I delete
u.netmodule from the current directory, u.exe fails with .netmodule
not found. Can someone help me?
CSharper - 31 Mar 2008 20:51 GMT
> I am using al.exe to build a exe from a .netmodule and adding a
> resource. I was able to do it and al.exe ran fine. I was expecting
[quoted text clipped - 9 lines]
> u.netmodule from the current directory, u.exe fails with .netmodule
> not found. Can someone help me?
Ok, after some research I found out that, if you have al.exe to
combaine the resource and .netmodule, you still need to redistribute
the .netmodule and ILMerge noway will include the .netmodule in
the .exe
Thanks.