ComShimWizard和ClickOnce [英] ComShimWizard and ClickOnce
问题描述
您好!
我有一个必须在Outlook 2003和2007上运行的Addin。
I have an Addin that must run on Outlook 2003 and 2007.
我用VS2010 / WPF 4.0 / VSTO 4.0编写了AddIn。
I've written the AddIn with VS2010 / WPF 4.0 / VSTO 4.0.
要在Outlook 2003中运行AddIn,我使用使用Com Shim Wizard 2010创建的Dll 。
To run the AddIn in Outlook 2003 I use the Dlls created with the Com Shim Wizard 2010.
完美无缺!谢谢你们出色的工作!!!!
Works perfectly! Thanks guys for your great work!!!!
问题在于部署!
我想使用ClickOnce来部署AddIn。
I want to use ClickOnce to deploy the AddIn.
1。)这适用于Office 2003吗?集成更新功能是否有效?
1.) Does this work for Office 2003? Does the integrated update function work?
2.如何将ComShimDll添加到我的VS OutlookAddin-Project?
2.) How can I add the ComShimDll to my VS OutlookAddin-Project?
当我添加项目时,VS2010说"无法引用项目'AddinShim'。 这不是.NET程序集。"。
When I add the project VS2010 says "The project 'AddinShim' cannot be referenced. This is not a .NET assembly.".
我想将Dll添加为依赖项,以便ClickOnce将Dll添加到设置中。是另一种向ClickOnce添加依赖的方法吗?
I want to add the Dll as a dependency so that ClickOnce adds the Dll into the setup. Is the another way to add a depndency to ClickOnce?
3。)安装/注册
在Office 2003上我需要复制ComShimDll和OutlookAddinDll并将ComShimDll注册为Com AddIn。
On Office 2003 I need to copy the ComShimDll and the OutlookAddinDll and register the ComShimDll as Com AddIn.
在Office 2007上我需要注册OutlookAddInDll。
On office 2007 I need to register the OutlookAddInDll.
如何告诉ClickOnce检查已安装的Office版本并复制/注册正确的Dll集?
How can I tell ClickOnce to check the installed Office-Version and copy / register the correct set of Dlls?
推荐答案
您好,
您无法使用ClickOnce部署Office2003加载项。您必须使用设置和放大器来完成此操作。部署包。 ClickOnce仅适用于Office 2007和Office 2010。
You cannot use ClickOnce to deploy your Office2003 add-in. You'll have to do that with a setup & deployment package. ClickOnce only works with Office 2007 and Office 2010.
RobinDotNet
RobinDotNet
这篇关于ComShimWizard和ClickOnce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!