项目找不到企业库 Dll

发布于 2024-12-20 18:28:03 字数 946 浏览 3 评论 0原文

我的项目似乎无法找到我的企业库 dll,即使它们位于正确的文件夹中?到底为什么会发生这种情况?这是最新的企业库 5.0.505.0...

查看我的 csproj 文件,它仅包含每个 EnterpriseLibrary 文件的引用...为什么很难找到它们...

<Reference Include="Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />

一切似乎都很顺利。我将继续调查此事。也许我安装了错误的版本或类似的东西。

谢谢。

My project can't seem to find my enterprise library dll's even though they are in the correct folder? Why on earth would that occur? This is the latest enterprise library 5.0.505.0...

Looking at my csproj file it simply includes a refrence for each EnterpriseLibrary file... Why is it having a hard time finding them...

<Reference Include="Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />

Everything seems on the up-and-up. I will continue to look into this. Maybe I have the wrong version installed or something similar to that.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬シ愛 2024-12-27 18:28:03

好的。我的机器上似乎安装了错误版本的 Enterprise Library。尽管我在我的机器上安装了新版本,但看起来并没有什么用。因此,我只是卸载了过时的版本,然后重新安装了我需要的正确版本。现在这些参考文献似乎正在发挥作用。

Ok. It seems as though I had the wrong versions of Enterprise Library on my machine. And even though I installed the new version on my machine, it didn't look like it took. So I simply uninstalled the out-of-date version and then re-installed the correct version that I would need. The references now appear to be working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文