如果我通过 Nuget 安装日志记录,在哪里可以找到 Enterprise Library xsd 文件?
我使用 Nuget 将 Enterprise Library 5.0 日志应用程序块集成到我的项目中,并在 VS2010 中收到“无法找到该元素的架构信息...”消息。我需要 EnterpriseLibrary.Configuration.xsd 文件来消除这些消息。在不实际下载完整的 Enterprise Library 安装程序的情况下如何找到此文件?我在 Nuget 中找不到它。
I integrated the Enterprise Library 5.0 Logging Application Block into my project using Nuget and am getting "Could not find schema information for the element ..." messages in VS2010. I need the EnterpriseLibrary.Configuration.xsd file to eliminate these messages. How do I find this file without actually downloading the full Enterprise Library installer? I couldn't locate it in Nuget.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,架构文件仅在安装程序中可用(它不在源代码下载中)。
您只需下载安装程序,在 7-Zip 中打开它,然后将 ConfigSchema2010 文件复制到:
您仍然需要下载安装程序,但至少不必实际安装(如果您不喜欢这样的事情)。提取后,您可以根据需要手动部署到开发机器。
As far as I can tell the schema file is only available in the installer (it's not in the source code download).
You could just download the installer, open it in 7-Zip and then copy the ConfigSchema2010 file to:
You still have to download the installer but at least you don't have to actually install (if you are averse to such things). Once extracted you could manually deploy as needed to development machines.