Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

compiler question.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CSharper - 31 Mar 2008 17:25 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
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.