How do I run nGen at the end of the installation (MSI)?

前端 未结 6 1005
耶瑟儿~
耶瑟儿~ 2021-02-14 01:55

I would like to execute nGen at the end of my installation simply to improve the perceived performance of the first startup of my application. How could I do that? Is there are

6条回答
  •  广开言路
    2021-02-14 02:14

    As 'Micah' says, Yes, You'll find NGen installed with .Net Framework.

    Take a look at WiX 3.5 installer examples how to NGen your assemblies during installation.

    NGen: Creating Setup Projects

    I hope this will help you.

提交回复
热议问题