项目找不到企业库 Dll
我的项目似乎无法找到我的企业库 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的。我的机器上似乎安装了错误版本的 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.