• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

How to use NGEN to compile DLL into native code?

I have no idea where to even start here.  

I'm using a remote host where I only have FTP access.  My server supports ASP and ASP.NET.
0
dgelinas
Asked:
dgelinas
  • 3
1 Solution
 
AerosSagaCommented:
0
 
AerosSagaCommented:
// Run the ngen process with the
// arguments passed to the class
ProcessStartInfo si = new ProcessStartInfo(
strPath.ToString() +
“ngen.exe “, “\”” + strArgs + “\””);
si.WindowStyle = ProcessWindowStyle.Hidden;
try
{
Process p = Process.Start(si);
p.WaitForExit();
}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now