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 / .NET Framework / .NET SDK / April 2004

Tip: Looking for answers? Try searching our database.

ngen.exe question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TT (Tom Tempelaere) - 31 Mar 2004 09:11 GMT
Hi people

I tried to use ngen.exe on an executable generated by C#, but I don't see where the generated executable is placed. I use it as follows (from the tools menu)

 ngen.exe "$(ProjectDir)bin\release\myprogram.exe

The output goes to the output window, and it doesn't say it failed. But the original file doesn't appear to have changed, and I don't see a new executable appear

Another question. How can I make the tools window take the program executable as an argument, without specifying it like I did above? I don't see a tag for the executable

Thank you
Tom
Klaus H. Probst - 01 Apr 2004 09:20 GMT
The processed EXE is placed in the native image cache, which is part of the
GAC.

The CLR knows that it needs to load it from there whenever its run.

I don't believe VS.NET has a substitution variable for the target output
(the EXE).

Signature

____________________
Klaus H. Probst, MVP
  http://www.vbbox.com/

> Hi people,
>
> I tried to use ngen.exe on an executable generated by C#, but I don't see where the generated executable is placed. I use it as follows (from the
tools menu):

>   ngen.exe "$(ProjectDir)bin\release\myprogram.exe"
>
> The output goes to the output window, and it doesn't say it failed. But the original file doesn't appear to have changed, and I don't see a new
executable appear.

> Another question. How can I make the tools window take the program executable as an argument, without specifying it like I did above? I don't
see a tag for the executable.

> Thank you,
> Tom.

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.