dotnet/aspnetcore

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

Open

#32,734 opened on May 15, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (10,653 forks)batch import
area-authhelp wanted

Repository metrics

Stars
 (37,933 stars)
PR merge metrics
 (Avg merge 16d 9h) (258 merged PRs in 30d)

Description

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.

Contributor guide