我有视力演播室2019年,我设立了一个新的像样核心2.2项目。 现在,我遵循这些步骤:,使外部标识能够用于我们的网络应用。 但当我指挥时:
dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount
i 反映这一错误:
PM> dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount dotnet : Could not find any project in
C:Users*****source eposMSlogintest
. At line:1 char:1 + dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Could not find ...MSlogintest`.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Usage: dotnet add package [options]Arguments: The project file to operate on. If a file is not specified, the command will search the current directory for one. The package reference to add.
Options: -h, --help Show command line help. -v, --version The version of the package to add. -f, --framework Add the reference only when targeting a specific framework. -n, --no-restore
Add the reference without performing restore preview and compatibility check. -s, --source The NuGet package source to use during the restore. --package-directory The directory to restore packages to. --interactive
Allows the command to stop and wait for user input or action (for example to complete authentication).
and when i access the folder, i found that there is a VS project folders, as follow:-
so why the error is saying that it can not find any project? can anyone advice on this error please? Thanks