单击一次部署实用程序抛出 System.NullReferenceException
我有一个 VSTO excel 2007 加载项。为此,我创建了一个单击一次部署实用程序。我分发了各种客户端,他们只需双击 .vsto 文件或 setup.exe 并安装插件即可。 除了一位客户外,它对所有客户都运行良好。显然,这与特定的客户端系统有关,但由于我无权登录并检查我的双手被束缚。
异常情况如下所示。有人有过类似的情况吗?由于该消息没有太多信息,我有点卡住了。
Name:
From : file////C:/ExcelAddin/Adding.vsto
System.NullReferenceException : Object reference not set to
instance of an Object at
Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager
.GetManifests(TomeSpan timeout)
at
Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager
.InstallAddIn()
我对 VSTO clickonce install 的经验并不丰富,但我知道这不是 VSTO / 安装程序问题,而是计算机或安全设置问题。 仅供参考,所有客户端都是本地管理员。
I have an VSTO excel 2007 Add in. For this I have created a Click-once deployment utility. I distributed this various clients who can just double click the .vsto file or set-up.exe and install the add in.
It has worked fine for all clients except one. Clearly it has something to do with the particular client system but as I don't have rights to log in and check my hands are tied.
The exception is shown below. has anyone had a similar situation ? Since the message does not have much info I am a bit stuck.
Name:
From : file////C:/ExcelAddin/Adding.vsto
System.NullReferenceException : Object reference not set to
instance of an Object at
Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager
.GetManifests(TomeSpan timeout)
at
Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager
.InstallAddIn()
My experience with VSTO clickonce install is not extensive but I know that this is not a VSTO / installer issue but issue with machine or security settings.
FYI all client are local admins.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过重新安装 Dot Net Framework 3.5 SP1 解决了这个问题。
Got it resolved by reinstalling Dot Net framework 3.5 SP1 .