名称: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中尝试添加,因为我找不到它。它说它缺少它 - 所以我必须要它。之后的几次迭代(更不用说白发,头痛,头发撕裂,几百万次重建和谷歌命中/攻击,顺便说一下我在第4天用这个) - 我正试图删除它,因为我不喜欢不需要它。
Office 2007版本一如既往地运行顺畅,只是Office 2010让我烦恼。
我从2007解决方案中复制了一些注册表项,添加了自定义操作(注册和取消注册)。
我有一个2010年的虚拟XP进行测试。 [x]“关闭并删除更改”。
我错过了什么?
答案 0 :(得分:8)
找到它。
转到属性 - 构建 - 生成序列化程序集 - 从自动更改为关闭