.NET Core NuGet Package for Microsoft.TeamFoundationServer.ExtendedClient

落爺英雄遲暮 提交于 2020-02-06 10:01:52

问题


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.

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.

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?

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.


回答1:


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



来源:https://stackoverflow.com/questions/50299967/net-core-nuget-package-for-microsoft-teamfoundationserver-extendedclient

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