适用于 Microsoft.TeamFoundationServer.ExtendedClient 的 .NET Core NuGet 包

编程入门 行业动态 更新时间:2024-10-19 23:44:00
本文介绍了适用于 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 - 我试过这样做,mitchdenny/vsts-libraries-from-dotnet-core/,但这似乎也不起作用.最坏的情况是,我现在可以继续使用 .NET Framework 项目,但我想首先寻找替代方案.

P.S - I tried doing this, mitchdenny/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.要使用工作项,请转至 docs.microsoft/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 docs.microsoft/en-us/rest/api/vsts/wit/work%20items

更多推荐

适用于 Microsoft.TeamFoundationServer.ExtendedClient 的 .NET Core NuGet 包

本文发布于:2023-11-14 15:00:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1587661.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:适用于   TeamFoundationServer   Microsoft   ExtendedClient   Core

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!