如何为.NET应用程序编写Logary目标? [英] How do I write a Logary target for my .NET application?

查看:112
本文介绍了如何为.NET应用程序编写Logary目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Logary.我需要编写一个新目标,并且尝试按照以下教程 https://logary.tech/tutorials .我已经从 https://github.com/logary/logary 下载了Logary.sln,但我是无法生成Logary.sln.构建它时,我遇到40个错误,所有错误都说:命令"paket.exe" restore"退出,代码为9009.

I am trying to get started with Logary. I need to write a new target and I have tried following the following tutorial https://logary.tech/tutorials. I have downloaded Logary.sln from https://github.com/logary/logary, but I am not able to build Logary.sln. When I build it I get 40 errors and all of them say: The command ""paket.exe" restore" exited with code 9009.

当我尝试使用NuGet管理器添加nuget Logary(最新版本5.0)时,我得到NU1108:检测到循环.日志->日志(> = 5.0.0).

When I try to add the nuget Logary (latest 5.0) with NuGet manager I get NU1108: Cycle detected. Logary -> Logary (>= 5.0.0).

当我尝试遵循此 https://logary.tech/logary-dotnet-quickstart我也遇到2个错误.

When I try following this https://logary.tech/logary-dotnet-quickstart I get 2 errors as well.

所以,我完全迷路了.我错过了什么?如有必要,我将提供更多信息.我想用F#为我的.NET应用程序编写一个目标,该目标将作为事件发送到Logary的集中式事件存储中.

So, I am totally lost. What am I missing out? I will provide more information if necessary. I want to write a target in F# for my .NET application that would be sent as an event to Logary's centralised event storage.

推荐答案

我使用了FAKE构建,效果很好.问题是由某些名称空间引起的,该名称空间已在伪造中修复.

I have used FAKE build and it worked OK. The problem was cause by some namespaces, which is fixed in the fake.

这篇关于如何为.NET应用程序编写Logary目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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