How do I write a Logary target for my .NET application?

為{幸葍}努か 提交于 2019-12-11 04:28:44

问题


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.

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

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

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.


回答1:


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



来源:https://stackoverflow.com/questions/58604917/how-do-i-write-a-logary-target-for-my-net-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!