Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Azure log service

$
0
0

in the official document, it says the Microsoft.Extensions.Logging.AzureAppServices provider only available for apps that target ASP.NET Core 1.1.0 or higher.

The Microsoft.Extensions.Logging.AzureAppServices provider package writes logs to text files in an Azure App Service app's file system and to blob storage in an Azure Storage account. The provider is available only for apps that target ASP.NET Core 1.1.0 or higher.

But when i install it

Install-Package Microsoft.Extensions.Logging.AzureAppServices

it show error, its dependence does support .netcoreapp 1.1

Install-Package Microsoft.Extensions.Logging.AzureAppServices
  GET https://api.nuget.org/v3/registration1-gz/microsoft.extensions.logging.azureappservices/index.json
  OK https://api.nuget.org/v3/registration1-gz/microsoft.extensions.logging.azureappservices/index.json 289ms
Restoring packages for c:\users\lucha\documents\visual studio 2017\Projects\LogAzure1.1\LogAzure1.1\LogAzure1.1.csproj...
Install-Package : Package Microsoft.Data.OData 5.6.4 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.Data.OData 5.6.4 supports:
  - net40 (.NETFramework,Version=v4.0)
  - portable-net40+sl5+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile328)
  - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
  - sl4 (Silverlight,Version=v4.0)

I am confuse, it only support asp.net core 1.1 or higher, but it cannot be installed for .nercoreapp 1.1? does anyone know how to address it?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>