[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to use NGEN to compile DLL into native code?

Posted on 2004-08-27
3
Medium Priority
?
314 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 1000 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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

831 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