dotnet/aspnetcore
Vedi su GitHubBetter "how to run samples" instructions needed for Authentication samples
Open
#32.734 aperta il 15 mag 2021
area-authhelp wanted
Metriche repository
- Star
- (37.933 star)
- Metriche merge PR
- (Merge medio 16g 9h) (258 PR mergiate in 30 g)
Descrizione
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.
- ID: 82950389-524e-0754-a125-addeccbdb1b3
- Version Independent ID: 80b7f7cf-dc2e-137a-5aa7-fa88da63ac80
- Content: Authentication samples for ASP.NET Core
- Content Source: aspnetcore/security/authentication/samples.md
- Product: aspnet-core
- Technology: aspnetcore-security
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande