Как добавить удостоверение в мой проект .NET Core MVC с помощью Preview SDK - PullRequest
0 голосов
/ 11 января 2019

MyProject.csproj

<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
  </PropertyGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.4" />
  </ItemGroup>    
</Project>

ТЕРМИНАЛ:

kryptoknight@Penetraitor:~/Development/Web/MyProject$ which dotnet /home/kryptoknight/dotnet/dotnet

kryptoknight@Penetraitor:~/Development/Web/MyProject$ dotnet
--info .NET Core SDK (reflecting any global.json):  Version:   3.0.100-preview-009812  Commit:    e3abf6e935

Runtime Environment:  OS Name:     kali  OS Version:  2019.1  OS Platform: Linux  RID:         linux-x64  Base Path:   /home/kryptoknight/dotnet/sdk/3.0.100-preview-009812/

Host (useful for support):   Version: 3.0.0-preview-27122-01   Commit: 00c5c8bc40

.NET Core SDKs installed:
  3.0.100-preview-009812 [/home/kryptoknight/dotnet/sdk]

.NET Core runtimes installed:   Microsoft.AspNetCore.App
3.0.0-preview-18579-0056 [/home/kryptoknight/dotnet/shared/Microsoft.AspNetCore.App]   Microsoft.NETCore.App 3.0.0-preview-27122-01 [/home/kryptoknight/dotnet/shared/Microsoft.NETCore.App]

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

kryptoknight@Penetraitor:~/Development/Web/MyProject$ dotnet aspnet-codegenerator identity -hIt was not possible to find any compatible framework version The specified framework 'Microsoft.NETCore.App', version '2.0.7' was not found.
  - Check application dependencies and target a framework version installed at:
      /home/kryptoknight/dotnet/
  - Installing .NET Core prerequisites might help resolve this problem:
      https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
  - The .NET Core framework and SDK can be installed from:
      https://aka.ms/dotnet-download
  - The following versions are installed:
      3.0.0-preview-27122-01 at [/home/kryptoknight/dotnet/shared/Microsoft.NETCore.App]
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...