1

名称:AIT.OurPluginOffice.Office2010.ExcelAddIn 来自:file:///C:/Program Files/OurPlugin/OurPlugin Office 2010/AIT.OurPluginOffice.Office2010.ExcelAddIn.vsto

************** Exception Text ************** System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Program Files/OurPlugin/OurPlugin Office 2010/AIT.OurPluginOutlook2010.XmlSerializers.dll did not succeed. ---> System.Net.WebException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. ---> System.Net.WebException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. ---> System.IO.FileNotFoundException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async) at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) --- End of inner exception stack trace --- at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) at System.Net.FileWebRequest.GetResponseCallback(Object state) --- End of inner exception stack trace --- at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.FileWebRequest.GetResponse() at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

我用“OurPlugin”替换了一些关键点

首先我在这个 XmlSerializers 中尝试了 addin,因为我找不到它。它说它缺少它 - 所以我一定需要它。几次迭代之后(更不用说白发、头痛、头发撕裂、几百万次重建和谷歌点击/攻击,顺便说一句,我在第 4 天使用这个)-我正在尝试删除它,因为我不不需要它。

Office 2007 构建运行顺畅,只是 Office 2010 困扰着我。

  • 我找到了 bytes.com - kevin.morrison 说排除它,4.0 中没有这样的选项。
  • 我找到了 VSTO 运行时设置注册表。
  • 我得到了office2010pia_bootstrapper.exe
  • 我找到了 /Publish/Prerequisites/ [v] MS Visual Studio 2010 Tools For Office Runtime (x86 and x64)

我从 2007 解决方案复制粘贴了注册表项,添加了自定义操作(注册和取消注册)。

我有一个 2010 的虚拟 XP 进行测试。[x]“关闭并删除更改”。

我错过了什么?

4

1 回答 1

8

找到了。

转到属性 - 构建 - 生成序列化程序集 - 从自动更改为关闭

于 2010-10-14T14:29:53.743 回答