解决慢冷加载启动时间这种方式好主意..? [英] Solve slow cold add-in startup time this way a good idea..?

查看:106
本文介绍了解决慢冷加载启动时间这种方式好主意..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个托管加载项,在最糟糕的情况下由于.NET冷启动时间需要一秒钟。


如何写入HKCU \Software \\ \\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList和  HKCU\Software\Microsoft\Office\15.0\Outlook\Resiliency\DoNotDisableAddinList在安装程序,使得该外接不会被禁用?


这岂不工作?

解决方案
我想,如果安装程序会工作为每个启动Outlook的用户编写了该注册表值,而不仅仅是安装加载项时登录的用户。


I have a managed add-in that in worst cases takes a second to start due to .NET cold startup time.

What about writing to HKCU\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList and HKCU\Software\Microsoft\Office\15.0\Outlook\Resiliency\DoNotDisableAddinList in the installer so that the add-in will not be disabled?

Would that not work?

解决方案

I suppose it would work if the installer wrote that registry value for every user who fired up Outlook, not just the one who was logged on at the time your add-in was installed.


这篇关于解决慢冷加载启动时间这种方式好主意..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆