[英]How to install NLog for Visual Studio 2010?
I have a legacy project which does not have logging mechanism. 我有一个没有日志记录机制的遗留项目。 I'm trying to install Nlog 2.0 in it but to no avail. 我正在尝试在其中安装Nlog 2.0,但无济于事。 It does not show up in the package manager search results. 它不会显示在包管理器搜索结果中。 I tried the NLog page which took me this CodePlex page. 我尝试了NLog页面,它把我带到了CodePlex页面。 And when I download the archive, I do not see the .exe files when I unzip the zip package. 当我下载档案时,当我解压缩zip包时,我看不到.exe文件。 Any help is appreciated. 任何帮助表示赞赏。
NLog 2.1 is also on NuGet? NLog 2.1也在NuGet上? (latest NLog 2 version). (最新的NLog 2版本)。 See https://www.nuget.org/packages/NLog/2.1.0 请参阅https://www.nuget.org/packages/NLog/2.1.0
You could also download it manually and unzip it. 您也可以手动下载并解压缩。
I'm looking for Nlog 2.0 since it is the only one compatible with 2010 right? 我正在寻找Nlog 2.0,因为它是唯一与2010兼容的产品吗?
Visual Studio supports .NET 2 - 4.0, so you also could pick the latest NLog version (4.6.5) Visual Studio支持.NET 2 - 4.0,因此您也可以选择最新的NLog版本(4.6.5)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.