dotnet/aspnetcore

Better "how to run samples" instructions needed for Authentication samples

开放

#32,734 创建于 2021年5月15日

 (3 条评论) (0 个反应) (0 位负责人)C# (10,653 个派生)batch import
area-authhelp wanted

仓库指标

星标
 (37,933 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Instructions on how to run the samples are very sparse, and after trying a few things I never could. I had cloned the entire aspnetcore repo and tried to run and example from src\Security\samples: dotnet run --project DynamicSchemes

that build failed due to missing nuget packages. had to dotnet restore ..\..\eng\tools\RepoTasks

Now build just fails C:\Program Files\dotnet\sdk\5.0.202\Microsoft.Common.CurrentVersion.targets(4919,5): error MSB3030: Could not copy the file "C:\Development\aspnetcore\artifacts\bin\InProcessRequestHandler\Win32\Debug\aspnetcorev2_inprocess.dll" because it was not found. [C:\Development\aspnetcore\src\Servers\IIS\IIS\src\Microsoft.AspNetCore.Server.IIS.csproj]

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

贡献者指南