Hatena::ブログ(Diary)

tabizouの日記

2018-12-30

Raspberry Pi 3B + Ubuntu MATE 16.04 で dotnetcore 2.2 を試してみる

04:22

Raspberry Pi 3B + Ubuntu MATE 16.04 で dotnetcore 2.2 を試してみる

最初 dotnet-sdk-2.1.300-linux-arm.tar.gz で試してみたんだけど

dotnet restore でエラーを吐くので dotnet-sdk-2.2.101-linux-arm.tar.gz

で試してみる

一応以下の記述があるんだけど、16.04には未対応なので binary をDLして使用する

18.04 のイメージ無いし・・・

Ubuntu 16.04
wget -q packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

参考にしたのは以下のサイト

Setup .NET Core 2.1 on ARM

dotnet/core

How to install NuGet from command line on linux

Ubuntu 16.04 LTS で ASP.NET Core MVC のプロジェクトを作成してみる

対象はこちら

Raspberry Pi 3B に Ubuntu MATE 16.04 をインストール&Wifiで接続してみる

インストールしてみる

.NET Core 2.2 downloadsより以下をDLする

SDK 2.2.101/.NET Core Binaries: ARM32

Runtime 2.2.0/ASP.NET Core Binaries: ARM32

$ sudo apt-get -y install libunwind8 gettext
$ sudo mkdir /opt/dotnet
$ sudo tar -xvf dotnet-sdk-2.2.101-linux-arm.tar.gz -C /opt/dotnet/
$ sudo tar -xvf aspnetcore-runtime-2.2.0-linux-arm.tar.gz -C /opt/dotnet/
$ sudo ln -s /opt/dotnet/dotnet /usr/local/bin

$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.2.101
 Commit:    236713b0b7

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  16.04
 OS Platform: Linux
 RID:         ubuntu.16.04-arm
 Base Path:   /opt/dotnet/sdk/2.2.101/

Host (useful for support):
  Version: 2.2.0
  Commit:  1249f08fed

.NET Core SDKs installed:
  2.2.101 [/opt/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.0 [/opt/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.0 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.0 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

.profile に以下を追加する(のかな?)

export DOTNET_CLI_TELEMETRY_OPTOUT=1

プロジェクトを作成する

適当なdirで 以下を実行する

$ sudo apt install nuget
$ dotnet new mvc -au None

Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

ASP.NET Core
------------
Successfully installed the ASP.NET Core HTTPS Development Certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). For establishing trust on other platforms refer to the platform specific documentation.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
Getting ready...
The template "ASP.NET Core Web App (Model-View-Controller)" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore-template-3pn-210 for details.

Processing post-creation actions...
Running 'dotnet restore' on /home/tabizou/dev/core/smp0001/smp0001.csproj...
  Restoring packages for /home/tabizou/dev/core/smp0001/smp0001.csproj...
  Generating MSBuild file /home/tabizou/dev/core/smp0001/obj/smp0001.csproj.nuget.g.props.
  Generating MSBuild file /home/tabizou/dev/core/smp0001/obj/smp0001.csproj.nuget.g.targets.
  Restore completed in 9.25 sec for /home/tabizou/dev/core/smp0001/smp0001.csproj.

Restore succeeded.

プロジェクトをコンパイル&リリースする

$dotnet publish -c Release -r ubuntu.16.04-arm smp0001.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for /home/tabizou/dev/core/smp0001/smp0001.csproj...
  Restore completed in 7.92 sec for /home/tabizou/dev/core/smp0001/smp0001.csproj.
  smp0001 -> /home/tabizou/dev/core/smp0001/bin/Release/netcoreapp2.2/ubuntu.16.04-arm/smp0001.dll
  smp0001 -> /home/tabizou/dev/core/smp0001/bin/Release/netcoreapp2.2/ubuntu.16.04-arm/smp0001.Views.dll
  smp0001 -> /home/tabizou/dev/core/smp0001/bin/Release/netcoreapp2.2/ubuntu.16.04-arm/publish/

プロジェクトを実行する

$ dotnet ./bin/Release/netcoreapp2.2/ubuntu.16.04-arm/publish/smp0001.dll
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
      No XML encryptor configured. Key {4d3c1b1b-1e86-4ffe-832a-ef6231ac6c04} may be persisted to storage in unencrypted form.
Hosting environment: Production
Content root path: /home/tabizou/dev/core/smp0001
Now listening on: http://localhost:5000
Now listening on: https://localhost:5001
Application started. Press Ctrl+C to shut down.

ブラウザで確認する(ポートが開いていることだけを確認・・・)

$ telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

メモ

最初に dotnet new mvc -au None を実行したときに以下が出力されたのだが

プロジェクトフォルダを変えても実行されないのが不明

$ dotnet new mvc -au None

Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

ASP.NET Core
------------
Successfully installed the ASP.NET Core HTTPS Development Certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). For establishing trust on other platforms refer to the platform specific documentation.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
Getting ready...
The template "ASP.NET Core Web App (Model-View-Controller)" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore-template-3pn-210 for details.

Processing post-creation actions...
Running 'dotnet restore' on /home/tabizou/dev/core/smp0001/smp0001.csproj...
  Restoring packages for /home/tabizou/dev/core/smp0001/smp0001.csproj...
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.httpoverrides/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.jsonpatch/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.owin/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.server.iis/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.server.kestrel/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.routing.abstractions/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.responsecaching.abstractions/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.razor.runtime/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.server.httpsys/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.server.kestrel.core/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.rewrite/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.routing/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.server.iisintegration/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.localization.routing/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.middlewareanalysis/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.ini/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.keyperfile/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.json/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.environmentvariables/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.fileextensions/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.usersecrets/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.commandline/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.responsecaching/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.http/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.identity.stores/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.logging.tracesource/index.json’.
  Resource temporarily unavailable
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.net.http.headers/index.json’.
  Resource temporarily unavailable
  Installing System.Xml.XmlSerializer 4.3.0.
  Installing System.Private.DataContractSerialization 4.3.0.
  Installing System.Security.Principal 4.3.0.
  Installing runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.0.
  Installing System.Diagnostics.DiagnosticSource 4.3.0.
  Installing System.Globalization.Extensions 4.3.0.
  Installing Microsoft.NETCore.App 2.2.0.
  Installing Microsoft.AspNetCore.Razor.Design 2.2.0.
  Installing Microsoft.AspNetCore.App 2.2.0.
  Installing System.Runtime.Handles 4.0.1.
  Installing Microsoft.NETCore.Targets 2.0.0.
  Installing Microsoft.NETCore.Platforms 2.2.0.
  Installing Microsoft.NETCore.DotNetHostPolicy 2.2.0.
  Installing runtime.native.System 4.0.0.
  Installing NETStandard.Library 2.0.3.
  Installing System.IO.FileSystem.Primitives 4.0.1.
  Installing Microsoft.AspNetCore.Authentication.Abstractions 2.2.0.
  Installing System.Diagnostics.Tools 4.0.1.
  Installing Microsoft.AspNetCore.Authentication.Facebook 2.2.0.
  Installing Microsoft.AspNetCore.Authentication.Core 2.2.0.
  Installing Microsoft.AspNetCore 2.2.0.
  Installing Microsoft.AspNetCore.Authentication.Google 2.2.0.
  Installing System.Runtime.CompilerServices.Unsafe 4.5.0.
  Installing Microsoft.AspNetCore.DataProtection.Extensions 2.2.0.
  Installing Microsoft.AspNetCore.Authentication.Cookies 2.2.0.
  Installing Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 2.2.0.
  Installing runtime.win-arm64.runtime.native.System.Data.SqlClient.sni 4.4.0.
  Installing Microsoft.AspNetCore.DataProtection.Abstractions 2.2.0.
  Installing runtime.win-x86.runtime.native.System.Data.SqlClient.sni 4.4.0.
  Installing Microsoft.AspNetCore.Authentication.Twitter 2.2.0.
  Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 2.2.0.
  Installing runtime.win-x64.runtime.native.System.Data.SqlClient.sni 4.4.0.
  Installing Microsoft.AspNetCore.Authentication.MicrosoftAccount 2.2.0.
  Installing Microsoft.AspNetCore.Diagnostics.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Cors 2.2.0.
  Installing System.Runtime.Serialization.Xml 4.3.0.
  Installing Microsoft.AspNetCore.Authorization.Policy 2.2.0.
  Installing Microsoft.AspNetCore.Antiforgery 2.2.0.
  Installing Microsoft.AspNetCore.HostFiltering 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Analyzers 2.2.0.
  Installing Microsoft.AspNetCore.Diagnostics.HealthChecks 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Formatters.Json 2.2.0.
  Installing Microsoft.AspNetCore.Authorization 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.ApiExplorer 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Cors 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Localization 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Formatters.Xml 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Razor.Extensions 2.2.0.
  Installing Microsoft.AspNetCore.Razor 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Connections.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Hosting.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Html.Abstractions 2.2.0.
  Installing System.Security.Claims 4.3.0.
  Installing Microsoft.AspNetCore.CookiePolicy 2.2.0.
  Installing Microsoft.AspNetCore.Authentication 2.2.0.
  Installing Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets 2.2.0.
  Installing Microsoft.AspNetCore.WebUtilities 2.2.0.
  Installing Microsoft.AspNetCore.SignalR 1.1.0.
  Installing Microsoft.AspNetCore.Cryptography.KeyDerivation 2.2.0.
  Installing Microsoft.AspNetCore.Session 2.2.0.
  Installing Microsoft.IdentityModel.Logging 5.3.0.
  Installing Microsoft.AspNetCore.Server.Kestrel.Https 2.2.0.
  Installing Microsoft.AspNetCore.Cryptography.Internal 2.2.0.
  Installing Microsoft.Extensions.DependencyInjection 2.2.0.
  Installing Microsoft.EntityFrameworkCore.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.WebSockets 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Razor.ViewCompilation 2.2.0.
  Installing Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.SpaServices 2.2.0.
  Installing Microsoft.AspNetCore.Http 2.2.0.
  Installing Microsoft.EntityFrameworkCore.InMemory 2.2.0.
  Installing Microsoft.AspNetCore.StaticFiles 2.2.0.
  Installing Microsoft.Extensions.Localization.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Http.Abstractions 2.2.0.
  Installing Microsoft.Extensions.DiagnosticAdapter 2.2.0.
  Installing System.Diagnostics.Contracts 4.3.0.
  Installing Microsoft.AspNetCore.SpaServices.Extensions 2.2.0.
  Installing Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions 2.2.0.
  Installing Microsoft.Extensions.DependencyInjection.Abstractions 2.2.0.
  Installing System.IO.Pipelines 4.5.2.
  Installing Microsoft.AspNetCore.Mvc.RazorPages 2.2.0.
  Installing Microsoft.AspNetCore.Mvc 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.TagHelpers 2.2.0.
  Installing Microsoft.AspNetCore.Http.Features 2.2.0.
  Installing Microsoft.AspNetCore.HttpOverrides 2.2.0.
  Installing Microsoft.Extensions.FileProviders.Physical 2.2.0.
  Installing System.Xml.XPath 4.3.0.
  Installing Microsoft.AspNetCore.Http.Extensions 2.2.0.
  Installing Microsoft.Extensions.Caching.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.DataAnnotations 2.2.0.
  Installing Microsoft.AspNetCore.Identity.EntityFrameworkCore 2.2.0.
  Installing Microsoft.Extensions.FileProviders.Composite 2.2.0.
  Installing Microsoft.AspNetCore.Localization 2.2.0.
  Installing Microsoft.Extensions.Configuration.Abstractions 2.2.0.
  Installing Microsoft.Extensions.Hosting 2.2.0.
  Installing Microsoft.AspNetCore.Razor.Runtime 2.2.0.
  Installing Microsoft.Extensions.Configuration.Binder 2.2.0.
  Installing Microsoft.Extensions.FileSystemGlobbing 2.2.0.
  Installing Microsoft.AspNetCore.ResponseCaching.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Owin 2.2.0.
  Installing Microsoft.AspNetCore.Routing.Abstractions 2.2.0.
  Installing Microsoft.EntityFrameworkCore.Analyzers 2.2.0.
  Installing Microsoft.Extensions.ObjectPool 2.2.0.
  Installing Microsoft.AspNetCore.MiddlewareAnalysis 2.2.0.
  Installing Microsoft.Extensions.Localization 2.2.0.
  Installing Microsoft.EntityFrameworkCore.Tools 2.2.0.
  Installing Microsoft.AspNetCore.Server.Kestrel 2.2.0.
  Installing Microsoft.AspNetCore.Identity 2.2.0.
  Installing Microsoft.Extensions.Diagnostics.HealthChecks 2.2.0.
  Installing Microsoft.Extensions.Hosting.Abstractions 2.2.0.
  Installing Microsoft.Extensions.Configuration.Ini 2.2.0.
  Installing Microsoft.AspNetCore.Localization.Routing 2.2.0.
  Installing Microsoft.AspNetCore.Rewrite 2.2.0.
  Installing Microsoft.Extensions.Configuration.FileExtensions 2.2.0.
  Installing Microsoft.Extensions.Options 2.2.0.
  Installing Microsoft.Extensions.Configuration.CommandLine 2.2.0.
  Installing Microsoft.Extensions.Configuration.EnvironmentVariables 2.2.0.
  Installing Microsoft.Extensions.Configuration.UserSecrets 2.2.0.
  Installing Microsoft.Extensions.WebEncoders 2.2.0.
  Installing Microsoft.Extensions.Configuration.KeyPerFile 2.2.0.
  Installing Microsoft.Extensions.Options.ConfigurationExtensions 2.2.0.
  Installing Microsoft.Extensions.FileProviders.Embedded 2.2.0.
  Installing Microsoft.Extensions.Logging.Console 2.2.0.
  Installing Microsoft.Extensions.Logging.Configuration 2.2.0.
  Installing System.Security.Cryptography.OpenSsl 4.3.0.
  Installing Microsoft.AspNetCore.ResponseCaching 2.2.0.
  Installing Microsoft.AspNetCore.ResponseCompression 2.2.0.
  Installing Microsoft.Extensions.Identity.Core 2.2.0.
  Installing Microsoft.Extensions.Identity.Stores 2.2.0.
  Installing Microsoft.Extensions.Logging.Debug 2.2.0.
  Installing Microsoft.Extensions.Http 2.2.0.
  Installing Microsoft.Extensions.Logging.TraceSource 2.2.0.
  Installing Microsoft.Extensions.Caching.Memory 2.2.0.
  Installing Microsoft.AspNetCore.HttpsPolicy 2.2.0.
  Installing System.Security.Cryptography.Csp 4.3.0.
  Installing Microsoft.Net.Http.Headers 2.2.0.
  Installing Microsoft.AspNetCore.Server.HttpSys 2.2.0.
  Installing Microsoft.Extensions.Logging 2.2.0.
  Installing Microsoft.Extensions.Configuration 2.2.0.
  Installing Microsoft.Extensions.Primitives 2.2.0.
  Installing Microsoft.Extensions.Options.DataAnnotations 2.2.0.
  Installing Microsoft.Extensions.FileProviders.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Hosting 2.2.0.
  Installing Microsoft.AspNetCore.Routing 2.2.0.
  Installing Microsoft.AspNetCore.Diagnostics 2.2.0.
  Installing Microsoft.Extensions.Logging.Abstractions 2.2.0.
  Installing Microsoft.AspNetCore.Razor.Language 2.2.0.
  Installing System.Security.Cryptography.Cng 4.3.0.
  Installing Microsoft.AspNetCore.Server.IIS 2.2.0.
  Installing Microsoft.EntityFrameworkCore.Relational 2.2.0.
  Installing Microsoft.AspNetCore.Server.IISIntegration 2.2.0.
  Installing Microsoft.EntityFrameworkCore.Design 2.2.0.
  Installing Microsoft.AspNetCore.DataProtection 2.2.0.
  Installing Microsoft.Extensions.Configuration.Xml 2.2.0.
  Installing Microsoft.AspNetCore.Server.Kestrel.Core 2.2.0.
  Installing Microsoft.AspNetCore.Identity.UI 2.2.0.
  Installing Microsoft.AspNetCore.Authentication.OAuth 2.2.0.
  Installing Microsoft.AspNetCore.Http.Connections 1.1.0.
  Installing Microsoft.AspNetCore.SignalR.Common 1.1.0.
  Installing runtime.native.System.Net.Http 4.3.0.
  Installing Microsoft.AspNetCore.SignalR.Protocols.Json 1.1.0.
  Installing Microsoft.AspNetCore.Http.Connections.Common 1.1.0.
  Installing Microsoft.AspNetCore.JsonPatch 2.2.0.
  Installing Microsoft.AspNetCore.NodeServices 2.2.0.
  Installing Microsoft.Extensions.Configuration.Json 2.2.0.
  Installing Microsoft.Extensions.Logging.EventSource 2.2.0.
  Installing Microsoft.EntityFrameworkCore 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Core 2.2.0.
  Installing Microsoft.AspNetCore.SignalR.Core 1.1.0.
  Installing Microsoft.AspNet.WebApi.Client 5.2.6.
  Installing Microsoft.AspNetCore.Mvc.ViewFeatures 2.2.0.
  Installing Microsoft.CodeAnalysis.Razor 2.2.0.
  Installing Microsoft.AspNetCore.Authentication.OpenIdConnect 2.2.0.
  Installing runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
  Installing Microsoft.AspNetCore.Authentication.JwtBearer 2.2.0.
  Installing runtime.native.System.Security.Cryptography.Apple 4.3.0.
  Installing Microsoft.AspNetCore.Authentication.WsFederation 2.2.0.
  Installing Microsoft.AspNetCore.Mvc.Razor 2.2.0.
  Installing Microsoft.Extensions.Caching.SqlServer 2.2.0.
  Installing Microsoft.EntityFrameworkCore.SqlServer 2.2.0.
  Installing Microsoft.NETCore.DotNetHostResolver 2.2.0.
  Installing System.Text.Encodings.Web 4.5.0.
  Installing System.Net.WebSockets.WebSocketProtocol 4.5.1.
  Installing System.Diagnostics.DiagnosticSource 4.5.0.
  Installing System.Buffers 4.5.0.
  Installing System.ComponentModel.Annotations 4.5.0.
  Installing System.Security.Principal.Windows 4.5.0.
  Installing System.Buffers 4.3.0.
  Installing Microsoft.Win32.Registry 4.5.0.
  Installing System.Runtime.CompilerServices.Unsafe 4.5.1.
  Installing System.Memory 4.5.1.
  Installing runtime.native.System.IO.Compression 4.3.0.
  Installing System.Reflection.Metadata 1.6.0.
  Installing runtime.native.System 4.3.0.
  Installing System.Numerics.Vectors 4.5.0.
  Installing Microsoft.CSharp 4.5.0.
  Installing System.Threading.Tasks.Extensions 4.5.1.
  Installing System.Threading.Tasks.Extensions 4.3.0.
  Installing System.Security.Cryptography.Xml 4.5.0.
  Installing System.Security.Cryptography.Cng 4.5.0.
  Installing Newtonsoft.Json 11.0.2.
  Installing System.Collections.Immutable 1.5.0.
  Installing System.Interactive.Async 3.2.0.
  Installing Remotion.Linq 2.2.0.
  Installing System.Collections.Specialized 4.3.0.
  Installing Microsoft.Extensions.DependencyModel 2.1.0.
  Installing System.Threading.Channels 4.5.0.
  Installing System.Reflection.Emit 4.3.0.
  Installing Newtonsoft.Json.Bson 1.0.1.
  Installing Newtonsoft.Json 10.0.1.
  Installing System.ComponentModel 4.3.0.
  Installing Microsoft.CodeAnalysis.CSharp 2.8.0.
  Installing Microsoft.IdentityModel.Protocols.OpenIdConnect 5.3.0.
  Installing Microsoft.CodeAnalysis.Common 2.8.0.
  Installing System.IdentityModel.Tokens.Jwt 5.3.0.
  Installing Microsoft.IdentityModel.Protocols.WsFederation 5.3.0.
  Installing System.Data.SqlClient 4.6.0.
  Installing Microsoft.NETCore.DotNetAppHost 2.2.0.
  Installing Microsoft.NETCore.Platforms 2.0.0.
  Installing System.Security.AccessControl 4.5.0.
  Installing System.Security.Permissions 4.5.0.
  Installing System.ComponentModel.Primitives 4.3.0.
  Installing System.Collections.NonGeneric 4.3.0.
  Installing System.Security.Cryptography.Pkcs 4.5.0.
  Installing System.Diagnostics.Debug 4.0.11.
  Installing System.Reflection.Emit.Lightweight 4.3.0.
  Installing System.Collections 4.0.11.
  Installing System.Reflection.Extensions 4.0.1.
  Installing System.Reflection.TypeExtensions 4.3.0.
  Installing System.Linq 4.1.0.
  Installing System.Runtime.Extensions 4.1.0.
  Installing System.ObjectModel 4.0.12.
  Installing System.Threading 4.0.11.
  Installing System.Linq.Queryable 4.0.1.
  Installing System.Reflection 4.1.0.
  Installing System.Linq.Expressions 4.1.0.
  Installing System.Runtime 4.1.0.
  Installing System.Dynamic.Runtime 4.0.11.
  Installing Newtonsoft.Json 9.0.1.
  Installing System.Net.Http 4.3.0.
  Installing Microsoft.DotNet.PlatformAbstractions 2.1.0.
  Installing System.Reflection.Primitives 4.3.0.
  Installing System.Reflection.Emit.ILGeneration 4.3.0.
  Installing System.IO 4.3.0.
  Installing System.Reflection 4.3.0.
  Installing System.Runtime 4.3.0.
  Installing NETStandard.Library 1.6.1.
  Installing System.Diagnostics.Debug 4.3.0.
  Installing System.Linq 4.3.0.
  Installing System.Resources.ResourceManager 4.3.0.
  Installing System.Reflection.Extensions 4.3.0.
  Installing System.Runtime.Numerics 4.3.0.
  Installing System.Text.Encoding.Extensions 4.3.0.
  Installing System.Text.RegularExpressions 4.3.0.
  Installing System.Xml.XmlDocument 4.3.0.
  Installing System.Text.Encoding 4.3.0.
  Installing System.Threading 4.3.0.
  Installing System.Xml.XDocument 4.3.0.
  Installing System.Globalization 4.3.0.
  Installing System.Threading.Tasks 4.3.0.
  Installing System.Runtime.Serialization.Formatters 4.3.0.
  Installing System.ObjectModel 4.3.0.
  Installing System.Dynamic.Runtime 4.3.0.
  Installing System.Net.Primitives 4.3.0.
  Installing System.Runtime.Serialization.Primitives 4.3.0.
  Installing System.Collections 4.3.0.
  Installing System.Runtime.Extensions 4.3.0.
  Installing System.Linq.Expressions 4.3.0.
  Installing System.ComponentModel.TypeConverter 4.3.0.
  Installing Microsoft.CSharp 4.3.0.
  Installing System.Xml.ReaderWriter 4.3.0.
  Installing System.AppContext 4.3.0.
  Installing System.Collections.Concurrent 4.3.0.
  Installing System.Console 4.3.0.
  Installing System.Diagnostics.Tools 4.3.0.
  Installing System.IO.Compression 4.3.0.
  Installing System.IO.FileSystem 4.3.0.
  Installing System.Diagnostics.Tracing 4.3.0.
  Installing System.IO.FileSystem.Primitives 4.3.0.
  Installing System.Security.Cryptography.Algorithms 4.3.0.
  Installing System.Security.Cryptography.Encoding 4.3.0.
  Installing System.Security.Cryptography.X509Certificates 4.3.0.
  Installing System.Diagnostics.StackTrace 4.3.0.
  Installing System.Threading.Thread 4.3.0.
  Installing System.Threading.Tasks.Parallel 4.3.0.
  Installing Microsoft.CodeAnalysis.Analyzers 1.1.0.
  Installing System.ValueTuple 4.3.0.
  Installing System.Collections.Immutable 1.3.1.
  Installing System.Diagnostics.FileVersionInfo 4.3.0.
  Installing System.Runtime.InteropServices.RuntimeInformation 4.3.0.
  Installing System.Runtime.InteropServices 4.3.0.
  Installing System.Xml.XPath.XDocument 4.3.0.
  Installing System.Reflection.Metadata 1.4.2.
  Installing System.Text.Encoding.CodePages 4.3.0.
  Installing Microsoft.IdentityModel.JsonWebTokens 5.3.0.
  Installing Microsoft.IdentityModel.Xml 5.3.0.
  Installing Microsoft.IdentityModel.Tokens 5.3.0.
  Installing Microsoft.IdentityModel.Protocols 5.3.0.
  Installing Microsoft.IdentityModel.Tokens.Saml 5.3.0.
  Installing runtime.native.System.Data.SqlClient.sni 4.5.0.
  Installing System.Text.Encoding.CodePages 4.5.0.
  Installing System.Net.Sockets 4.3.0.
  Installing Microsoft.NETCore.Platforms 1.0.1.
  Installing Microsoft.NETCore.Targets 1.0.1.
  Installing System.Resources.ResourceManager 4.0.1.
  Installing System.Threading.Tasks 4.0.11.
  Installing System.Reflection.Primitives 4.0.1.
  Installing System.IO 4.1.0.
  Installing System.Globalization 4.0.11.
  Installing System.Reflection.Emit 4.0.1.
  Installing System.Reflection.Emit.ILGeneration 4.0.1.
  Installing System.Reflection.TypeExtensions 4.1.0.
  Installing System.Reflection.Emit.Lightweight 4.0.1.
  Installing System.Text.Encoding 4.0.11.
  Installing System.Runtime.Serialization.Primitives 4.1.1.
  Installing System.Text.Encoding.Extensions 4.0.11.
  Installing Microsoft.CSharp 4.0.1.
  Installing System.Text.RegularExpressions 4.1.0.
  Installing System.Xml.XDocument 4.0.11.
  Installing System.Xml.ReaderWriter 4.0.11.
  Installing System.AppContext 4.1.0.
  Installing System.Runtime.InteropServices.RuntimeInformation 4.0.0.
  Installing System.IO.FileSystem 4.0.1.
  Installing System.Runtime.InteropServices 4.1.0.
  Installing Microsoft.NETCore.Platforms 1.1.0.
  Installing Microsoft.NETCore.Targets 1.1.0.
  Installing System.Security.Cryptography.Primitives 4.3.0.
  Installing System.Runtime.Handles 4.3.0.
  Installing System.Threading.Timer 4.3.0.
  Installing System.IO.Compression.ZipFile 4.3.0.
  Installing Microsoft.Win32.Primitives 4.3.0.
  Installing System.Globalization.Calendars 4.3.0.
  Generating MSBuild file /home/tabizou/dev/core/smp0001/obj/smp0001.csproj.nuget.g.props.
  Generating MSBuild file /home/tabizou/dev/core/smp0001/obj/smp0001.csproj.nuget.g.targets.
  Restore completed in 3.38 min for /home/tabizou/dev/core/smp0001/smp0001.csproj.

Restore succeeded

トラックバック - http://d.hatena.ne.jp/tabizou/20181230/1546197730