Visual Studio 2008智能客户端软件工厂 [英] Visual Studio 2008 Smart Client software Factory

查看:91
本文介绍了Visual Studio 2008智能客户端软件工厂的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的系统上安装了SCSF 1.0,但是当我尝试创建一个SCSF应用程序时,我收到以下错误:

Microsoft.Practices.RecipeFramework.ValueProviderException:发生了异常在绑定参考或执行配方BindingRecipe期间。错误是:无法加载值提供程序。
您可以通过指导包管理器删除对此配方的引用。 ---> System.TypeLoadException:Microsoft.Practices.SmartClientFactory.ValueProviders.VBInstallationCheck,Microsoft.Practices.SmartClientFactory.GuidancePackage ---> System.ArgumentOutOfRangeException:Length不能小于零。
参数名称:length
at System.Reflection.Assembly._nLoad(AssemblyName fileName,String codeBase,Evidence assemblySecurity,Assembly locationHint,StackCrawlMark& stackMark,Boolean throwOnFileNotFound,Boolean forIntrospection)
在System.Reflection.Assembly.nLoad(AssemblyName fileName,String codeBase,Evidence assemblySecurity,Assembly locationHint,StackCrawlMark& stackMark,Boolean throwOnFileNotFound,Boolean forIntrospection)
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef) ,证据assemblySecurity,StackCrawlMark& stackMark,Boolean forIntrospection)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetAssembly(AssemblyName assemblyName,Boolean throwOnError)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName,Boolean th rowOnError,Boolean ignoreCase)
---内部异常堆栈跟踪的结束---
在Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName,Boolean throwOnError,Boolean ignoreCase)
在Microsoft .Practices.Common.Services.TypeResolutionService.GetType(String typeName,Boolean throwOnError,Boolean ignoreCase)
at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName,Boolean throwOnError,Boolean ignoreCase)
at Microsoft .Practices.Common.Services.TypeResolutionService.GetType(String typeName,Boolean throwOnError)
at Microsoft.Practices.RecipeFramework.Recipe.GetInstance [T](ITypeResolutionService resolution,String concreteType)
at Microsoft.Practices.RecipeFramework。 Recipe.LoadProviders(ITypeResolutionService解析)
---内部异常堆栈跟踪结束---
Microsoft.Practices.RecipeFramework.Recipe.LoadProviders(ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe,IAssetReference reference,IDictionary arguments)
at Microsoft.Practices.RecipeFramework.RecipeManager.Add( IComponent组件,String name)
at System.ComponentModel.Container.Add(IComponent component)
at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(XmlReader configuration)
at Microsoft.Practices.RecipeFramework.RecipeManager。 EnablePackage(String packageName)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.LoadPackage()
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunStarted(Object automationObject,Dictionary`2 replacementsDictionary, WizardRunKind runKind,Object [] customParams)


关于如何解决这个问题的任何想法?

问候,

Arun

解决方案

嗨Arun,

这看起来像SCSF的一个问题请尝试SCSF论坛@codeplex来自SCSF的团队成员,他们应该能够提供帮助。

谢谢,
- VGA。结果

Hi,
  I have installed the SCSF 1.0 on my system, but when I try to create a SCSF application I get the following error:

Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe BindingRecipe. Error was: Failed to load value providers..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.TypeLoadException: Microsoft.Practices.SmartClientFactory.ValueProviders.VBInstallationCheck, Microsoft.Practices.SmartClientFactory.GuidancePackage ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Microsoft.Practices.Common.Services.TypeResolutionService.GetAssembly(AssemblyName assemblyName, Boolean throwOnError)
   at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError)
   at Microsoft.Practices.RecipeFramework.Recipe.GetInstance[T](ITypeResolutionService resolution, String concreteType)
   at Microsoft.Practices.RecipeFramework.Recipe.LoadProviders(ITypeResolutionService resolution)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.RecipeFramework.Recipe.LoadProviders(ITypeResolutionService resolution)
   at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
   at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
   at Microsoft.Practices.RecipeFramework.RecipeManager.Add(IComponent component, String name)
   at System.ComponentModel.Container.Add(IComponent component)
   at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(XmlReader configuration)
   at Microsoft.Practices.RecipeFramework.RecipeManager.EnablePackage(String packageName)
   at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.LoadPackage()
   at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)


Any ideas on how can I fix this?

regards,

Arun

解决方案

Hi Arun,

This looks like an issue with the SCSF please try the SCSF forum @ codeplex where team members from SCSF hang and they should be able to help.

thanks,
-vga.


这篇关于Visual Studio 2008智能客户端软件工厂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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