Azure.NET Standard Feature Targeting Warning

Visual Studio 15.5 Preview is just installed so that I can create an Azure function oriented to .NET Core. Without making any changes, I see a warning - see below - the following:

The Microsoft.AspNet.WebApi.Client 5.2.2 package has been restored using .NET. Framework version 4.6.1 instead of the target .NET target environment. Standard version 2.0. This package may not be compatible with your project.

Any idea how to fix this or am I ignoring this warning? As I said, this is a new Azure Function project that I created without any changes.

This is what the warning looks like: enter image description here

+7
asp.net-core .net-core azure-webjobs azure-functions azure-webjobssdk
source share
2 answers

You can pretty much ignore it in this case.

Microsoft.AspNet.WebApi.Client target "Portable Class Library (.NETFramework 4.5, Windows 0.0, WindowsPhone 8.0, WindowsPhone 8.1, WindowsPhoneApp 8.1)" (or net45+win8+win81 , as it is called the target framework), which means that It is fully compatible with .NET Core and .NET Standard (> = 1.2).

A warning appears because it is not specifically designed to scroll netstandard1.x or netstandard2.x . It just tells you that "it may not be compatible with the .NET Core / .NET Standard."

+4
source share

Yes, you did nothing wrong: this is to be expected. The v2 features are now in beta testing, so you'll have to live with this warning for a while. It should not give you any functional problems.

+3
source share

All Articles