适用于 Microsoft.TeamFoundationServer.ExtendedClient 的 .NET Core NuGet 包 [英] .NET Core NuGet Package for Microsoft.TeamFoundationServer.ExtendedClient

查看:101
本文介绍了适用于 Microsoft.TeamFoundationServer.ExtendedClient 的 .NET Core NuGet 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个 API,用于从 TFS 获取有关工作项的信息,例如标题、迭代信息等.我在一个项目中安装了 NuGet 包 Microsoft.TeamFoundationServer.ExtendedClient for .NET Framework,我能够做到这一点.

I am working on creating an API that fetches information about work items like Title, Iteration information etc from TFS. I installed the NuGet package Microsoft.TeamFoundationServer.ExtendedClient for .NET Framework in a project and I was able to do this.

但是,我想使用 .NET Core 项目.当我继续在我的 .NET Core 项目中安装它时,它在 Dependencies 中显示一个黄色三角形作为警告,我无法使用命名空间 Microsoft.TeamFoundationServer.WorkItemTracking.Client.

But, I would like to use a .NET Core project. When I went ahead and installed this in my .NET Core project, it shows up a yellow triangle in Dependencies as warning and I am not able to use the namespace Microsoft.TeamFoundationServer.WorkItemTracking.Client.

我想知道微软是否发布了这个包的 .NET Core 替代品.或者,是否有任何解决方法可以实现我想要做的事情?

I want to know if Microsoft released a .NET Core replacement for this package. Or, is there any workaround to achieve what I am trying to do?

PS - 我试过这样做,https://mitchdenny.com/vsts-libraries-from-dotnet-core/,但这似乎也不起作用.最坏的情况是,我现在可以继续使用 .NET Framework 项目,但我想首先寻找替代方案.

P.S - I tried doing this, https://mitchdenny.com/vsts-libraries-from-dotnet-core/, but that didn't seem to work either. Worst case scenario, I could go ahead using a .NET Framework project for now, but I wanted to look for alternatives first.

推荐答案

一个简单的好方法是使用 TFS 提供的 API.要使用工作项,请转至 https://docs.microsoft.com/en-us/rest/api/vsts/wit/work%20items

A good way to do this easily is to use the API offered by TFS. To work with work items go to https://docs.microsoft.com/en-us/rest/api/vsts/wit/work%20items

这篇关于适用于 Microsoft.TeamFoundationServer.ExtendedClient 的 .NET Core NuGet 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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