Ilyoskhuja
Ilyoskhuja

Reputation: 146

"AngularCli" does not exist in the "Microsoft.AspNetCore.SpaServices" namespace

I want to use Microsoft.AspNetCore.SpaServices.AngularCli but get error like this ("AngularCli" does not exist in the "Microsoft.AspNetCore.SpaServices" namespace). I added packege with command dotnet add package Microsoft.AspNetCore.SpaServices --version 2.0.1,but I still have problem with SpaServices

Upvotes: 6

Views: 4477

Answers (2)

Lionel
Lionel

Reputation: 31

I had Microsoft.AspNetCore.SpaServices.Extensions installed, but had to update it.

Was using ASP.NETCore 3.1

Upvotes: -1

Edward
Edward

Reputation: 29976

For Microsoft.AspNetCore.SpaServices.AngularCli, it exists under Microsoft.AspNetCore.SpaServices.Extensions package instead of Microsoft.AspNetCore.SpaServices.

Try to install Microsoft.AspNetCore.SpaServices.Extensions.

Upvotes: 13

Related Questions