dotnet/aspnetcore

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

Aperta

#32.734 aperta il 15 mag 2021

 (3 commenti) (0 reazioni) (0 assegnatari)C# (10.653 fork)batch import
area-authhelp wanted

Metriche repository

Star
 (37.933 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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.

Guida contributor