获取错误找不到文件 [英] Getting an error Filenot found

查看:69
本文介绍了获取错误找不到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在使用C#中的控制台应用程序。我收到此错误无法加载文件或程序集''Microsoft.Practices.ServiceLocation,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35''或其依赖项之一。系统找不到指定的文件。 ...我的数据访问层会抛出此错误。



非常感谢任何帮助。



谢谢。

Hi All,

I am working on a console application in C#. I am getting this error"Could not load file or assembly ''Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'' or one of its dependencies. The system cannot find the file specified."...Its my data access layer which throw this error.

Any help is greatly appreciated.

Thanks.

推荐答案

在这里,我发现了这个:



点击我! [ ^ ]
Here you go, I found this:

Click Me![^]






Microsoft.Practices.ServiceLocation 来自: http:// commonservicelocator .codeplex.com



从项目描述:



普通服务L. ocator库包含服务位置的共享接口,应用程序和框架开发人员可以参考该接口。该库提供了IoC容器和服务定位器的抽象。使用该库允许应用程序间接访问功能,而不依赖于硬引用。希望使用这个库,第三方应用程序和框架可以开始利用IoC /服务位置,而不必将自己束缚到特定的实现。





Happy Coding。



谢谢。
Hi,

Microsoft.Practices.ServiceLocation comes from: http://commonservicelocator.codeplex.com

From the project description:

The Common Service Locator library contains a shared interface for service location which application and framework developers can reference. The library provides an abstraction over IoC containers and service locators. Using the library allows an application to indirectly access the capabilities without relying on hard references. The hope is that using this library, third-party applications and frameworks can begin to leverage IoC/Service Location without tying themselves down to a specific implementation.


Happy Coding.

Thanks.


这篇关于获取错误找不到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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