471,337 Members | 1,296 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

compiler question.

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?
Mar 31 '08 #1
1 1156
On Mar 31, 11:25*am, CSharper <cshar...@gmx.comwrote:
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?
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.
Mar 31 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Ardhendu Nandan | last post: by
14 posts views Thread by joshc | last post: by
41 posts views Thread by Miroslaw Makowiecki | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.