How can I add Microsoft.TeamFoundation.Client library in my ASP 5 application? The library is supported only by dnx 4.5.1 and not dnx 5.0.
When I try to build my application I get the following error -
CS0234 The type or namespace name 'TeamFoundation' does not exist in the namespace 'Microsoft' (are you missing an assembly reference? When I delve further by hovering over the using TeamFoundation statement, I get the following message:
{} Namespace Microsoft.TeamFoundation MyProject.DNX 4.5.1 - Available MyProject.DNX Core 5.0 - Not Available You can use the navigation bar to switch context. How can I switch context using the navigation bar?
How can I target dot net version 4.5.1 using my ASP 5 application?
Thanks! First time asking!
My Project.JSON File -
{ "version": "1.0.0-*", "compilationOptions": { "emitEntryPoint": true }, "dependencies": { "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final", "Microsoft.AspNet.Mvc": "6.0.0-rc1-final", "Microsoft.AspNet.Mvc.Core": "6.0.0-rc1-final", "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-final", "Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-rc1-final", "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final", "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final", "Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-final", "Microsoft.Extensions.Configuration": "1.0.0-rc1-final", "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc1-final" }, "commands": { "web": "Microsoft.AspNet.Server.Kestrel" }, "frameworks": { "dnx451": { "dependencies": { "Microsoft.TeamFoundationServer.ExtendedClient": "14.89.0", "Microsoft.WindowsAzure.ConfigurationManager": "3.2.1" }, "frameworkAssemblies": { "System.Activities": "4.0.0.0" } }, "dnxcore50": { } }, "exclude": [ "wwwroot", "node_modules" ], "publishExclude": [ "**.user", "**.vspscc" ] }