473,378 Members | 1,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

NGen During Install

http://msdn2.microsoft.com/en-us/library/3hwzzhyd.aspx
This artilce shows how to execute NGen during installation. Can this be done
in C# or please can someone provide the C# translation of the code in the
article.

Thanks for any time spent on this

Sharat
May 11 '06 #1
2 1590
Sharat,

Which part of the code are you having problems with? It's pretty simple
VB code.

You could also place this in a VB project, compile it, and then have
Reflector give you the C# code.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sharat Koya" <Sh********@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com...
http://msdn2.microsoft.com/en-us/library/3hwzzhyd.aspx
This artilce shows how to execute NGen during installation. Can this be
done
in C# or please can someone provide the C# translation of the code in the
article.

Thanks for any time spent on this

Sharat

May 11 '06 #2
There's an article on this subject in Windows Forms Tips and Tricks

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Sharat Koya" <Sh********@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com...
http://msdn2.microsoft.com/en-us/library/3hwzzhyd.aspx
This artilce shows how to execute NGen during installation. Can this be
done
in C# or please can someone provide the C# translation of the code in the
article.

Thanks for any time spent on this

Sharat

May 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Doug Holland | last post by:
Hi There If you have a .NET based application installed and you'd like to increase the start-up performance of that application; can you NGen assemblies once the application is installed? The...
3
by: William Reyes | last post by:
I have a question regarding the use of ngen.exe and dedployment. I want to make sure I understand this correctly. If I create an app that has an .exe as well as a couple of .dll's. I can create...
1
by: fleimeris | last post by:
hello, i am preparing for 70-316 exam and i'm not quite sure about the answer to the following question. i want to use ngen.exe to boost the performance of my application. however, when should i...
0
by: John J. Hughes II | last post by:
Ok I have added the below code to my install. First based on "ngen show myapp.exe" my appliation is not being installed. I am unable to determine if the code is even run. I added the following...
1
by: Sameeksha | last post by:
Hi everyone, I have observed that the ngen process appears in the list of processes in taskmgr while .net framework 1.1 gets installed. This process consumes 0-50% of cpu and 0-20K of RAM. I...
0
by: Sharat Koya | last post by:
http://msdn2.microsoft.com/en-us/library/3hwzzhyd.aspx This artilce shows how to execute NGen during installation. Can this be done in C# or please can someone provide the C# translation of the...
0
by: lissbpp | last post by:
Hello, Working in .Net 2.0 using NGen to speed up both my warm and cold startup load times. NGen works beautifully for my application; however, it seams that the native image cache is not...
0
by: lissbpp | last post by:
Hello, Working in .Net 2.0 using NGen to speed up both my warm and cold startup load times. NGen works beautifully for my application; however, it seams that the native image cache is not...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.