Solved

How to use NGEN to compile DLL into native code?

Posted on 2004-08-27
3
300 Views
Last Modified: 2011-09-20
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
Comment
Question by:dgelinas
  • 3
3 Comments
 
LVL 17

Accepted Solution

by:
AerosSaga earned 250 total points
ID: 11916163
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11916176
// 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
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11916259
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now