Outlook 2013的加载项显示“" Configuration system无法初始化”部署时 [英] Add-in for outlook 2013 showing ""Configuration system failed to initialize" when deployed
问题描述
我正在迁移一个工作的Outlook外接程序,以便在Outlook 2013上运行并且收到错误""配置系统无法初始化"。
I am migrating a working outlook add-in to run on outlook 2013 and getting the error ""Configuration system failed to initialize".
app.config文件很好,因为加载项加载并在我尝试从visual studio 2010运行时工作。但是,当我创建部署msi(使用WiX和ms引导程序创建)并将其安装在开发机器上时
不起作用。
The app.config file is fine as the add-in loads and works when I am trying to run it from the visual studio 2010. However, when I create the deployment msi (created using WiX and ms bootstrapper) and installed it on the development machine it did not work.
检查时我发现在c:\users \< login-name> \ AppData \中没有创建user.profile Local \ ...文件夹。所以我预感到有些东西会阻止加载项创建这个文件。但是,我也在写加载项和
的日志文件似乎正在创建。
On inspection I found that no user.profile is created in the c:\users\<login-name>\AppData\Local\... folder. So I have a hunch that something is stopping the add-in from creating this file. However, I am also writing a log file from the add-in and that seems to be creating fine.
我的dll.manifest文件有:
My dll.manifest file has:
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
无法弄清楚出了什么问题。我想某处有一些简单的设置或者我遗漏的东西。
Cannot figure out what is wrong. I am thinking that there is some simple setting somewhere or something I am missing.
任何线索?感谢您的时间。
Any clue? Thanks for your time.
推荐答案
您要迁移哪个版本的加载项?一个来自vsto 2005?
which version of add-in are you migrating? one from vsto 2005?
这篇关于Outlook 2013的加载项显示“" Configuration system无法初始化”部署时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!