SignFile意外失败。你调用的对象是空的 [英] SignFile fails unexpectedly. Object reference not set to an instance of an object
问题描述
当我尝试在VS2010中发布Word AddIn时出现以下错误。有人可以帮帮我吗?
错误 1
"SignFile"任务意外失败。
System.NullReferenceException:对象引用未设置为对象的实例。
在Microsoft.Build.Tasks.Deployment.ManifestUtilities.SecurityUtilities.SignFile(X509Certificate2 cert,Uri timestampUrl,String path)
在Microsoft.Build.Tasks.Deployment.ManifestUtilities.SecurityUtilities.SignFile(String certThumbprint,Uri timestampUrl,String path)
在Microsoft.Build.Tasks.SignFile.Execute()
在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
在Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost,TaskLoggingContext taskLoggingContext,TaskHost taskHost,ItemBucket bucket,TaskExecutionMode howToExecuteTask,Boolean& taskResult)
InsentraAddIn
Hi Insentra,
感谢您的帖子。
我认为这个问题与办公室开发人员更相关,我将移动它,
希望你能在那里得到更多有用的信息。
Ziwei Chen
  跨度>
Hi,
I am getting the following error when I try to publish my Word AddIn in VS2010. Can anyone help me out please ?
Error 1 The "SignFile" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.Tasks.Deployment.ManifestUtilities.SecurityUtilities.SignFile(X509Certificate2 cert, Uri timestampUrl, String path)
at Microsoft.Build.Tasks.Deployment.ManifestUtilities.SecurityUtilities.SignFile(String certThumbprint, Uri timestampUrl, String path)
at Microsoft.Build.Tasks.SignFile.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) InsentraAddIn
Hi Insentra,
Thanks for your post.
I think this issue is more relevant to office dev, I'm going to move it,
hope you can get more useful information there.
Ziwei Chen
这篇关于SignFile意外失败。你调用的对象是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!