I have a .net core 2.0 console app. I'm trying to read files from TFS using the following:
I head over to nuget and install Microsoft.TeamFoundationServer.ExtendedClient
and run into this:
Package 'Microsoft.AspNet.WebApi.Client 5.2.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
Even after suppressing the warning, I still get the error and can't reference the library. How can I get this reference resolving?
Very easy to repro:
- New .net core 2.0 console app
- Copy the method from the above question
- Try to install the nuget package
Microsoft.AspNet.WebApi.Client v5.2.4
. Currently the pre-release versionv5.2.4-preview1
is available in NuGet and is compatible with.NET Standard 2.0
. – Arghya C