Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8117591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:13:25+00:00 2026-06-06T04:13:25+00:00

I didn’t use NGen before but now I need to improve startup performance of

  • 0

I didn’t use NGen before but now I need to improve startup performance of my WPF application. As I understand the common case is to run ngen during application installation. But my application is used for internal company needs and doesn’t have installer (it would just complicate things).

Are there any other ways to run ngen? What if I do it when application is started for the first time? Will I need administrator rights for that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:13:27+00:00Added an answer on June 6, 2026 at 4:13 am

    According to MSDN (first line under Remarks), you’ll need administrative privileges to run ngen. It would probably be easier to package your application in a simple MSI, because I don’t think you can elevate your privileges from inside the application to run ngen. You would have to alter the manifest file which would cause your app to require administrative privileges every time it is started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I didn't find information about performance issues with auto_ptr and shared_ptr (I use tr1
I didn't use subviews but painted my things with -drawRect: inside an UIView subclass.
I didn't use Prototype.js before, when I use jquery, I can get an element
I didn't understand well the idea behind of proxies in ExtJS. Can I use
It didn't have a project and I removed myself as the assignee, now I
I didn't use C for long time and I don't remember if it is
I didn't face this error before. I have a database db , that contains
I didn't design this table, and I would redesign it if I could, but
I didn't fully understand the concept of threads I have some questions. Assume we
I didn't change any setting of my Vim, but today the Backspace gets some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.