使用“添加事件发布”Recepie时出现异常 [英] Exception while using the 'Add Event Publication' Recepie

查看:179
本文介绍了使用“添加事件发布”Recepie时出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用2008年4月发布的"智能客户端应用程序工厂"以及最新的GAT时,尝试添加事件发布接收时抛出了以下异常。堆栈跟踪如下所示。请帮忙。提前致谢。

Microsoft.Practices.RecipeFramework.ValueProviderException:在绑定引用或执行配方AddEventPublicationCS期间发生异常。错误是:调用值提供程序或评估参数CommonProject的默认值时发生错误。
您可以通过Guidance Package Manager删除对此配方的引用。 ---> System.NullReferenceException:对象引用未设置为对象的实例。
在Microsoft.Practices.SmartClientFactory.ValueProviders.GetProjectFromGuidProvider.OnBeginRecipe(Object currentValue,Object& newValue)
在Microsoft.Practices.RecipeFramework。 Recipe.CallProviders(IDictionary提供程序,IDictionaryService readonlyArguments,IDictionaryService参数,Boolean isBefore)
---内部异常堆栈跟踪结束---
在Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary提供程序, IDictionaryService readonlyArguments,IDictionaryService参数,Boolean isBefore)
在Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
在Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe,IAssetReference reference,IDictionary arguments )在Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
在Microsoft.Practi ces.RecipeFramework.RecipeReference.OnExecute()
在Microsoft.Practices.RecipeFramework.AssetReference.Execute()
在Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
在Microsoft。 Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()


sandeep

While using 'Smart Client Application Factory' April 2008 release along with the latest GAT, the following exception was thrown while attempting to add an event publication recepie. The stack trace is listed below. Please help. Thanks in advance.

Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe AddEventPublicationCS. Error was: An error happened while calling the value provider or evaluating the default value of argument CommonProject..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Practices.SmartClientFactory.ValueProviders.GetProjectFromGuidProvider.OnBeginRecipe(Object currentValue, Object& newValue)
   at Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary providers, IDictionaryService readonlyArguments, IDictionaryService arguments, Boolean isBefore)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary providers, IDictionaryService readonlyArguments, IDictionaryService arguments, Boolean isBefore)
   at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
   at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
   at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
   at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
   at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
   at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
   at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()


sandeep

推荐答案

嘿,任何人都可以帮我解决这个问题吗?它似乎与其他项目一起正常工作。
Hey can anybody help me with this issue? It seems to be working fine with other projects.


这篇关于使用“添加事件发布”Recepie时出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆