Share via

Cannot Find Pakage for A Web API Project

Progmaster 1 Reputation point
2021-07-19T03:43:33.7+00:00

I have created a web API project in Visual Studio 2019 using DotNet Core 5.0.301 and after I cleaned and built my solution I noticed that there is a yellow exclamation point indicating that there is a dependency missing. Upon inspection I can see that the package Microsoft.AspNetCore.Authentication.AzureAD.UI cannot be found. I went into Nugaet Package Manager and I can see that Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="3.1.15" is installed but it says "Not available in this source". I looked in the Browse option of Nuget but it is not there either. Please help me find a package that will make this work.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

1 answer

Sort by: Most helpful
  1. PengGe-MSFT 3,391 Reputation points
    2021-07-20T08:58:38.153+00:00

    Hi @Progmaster

    Welcome to Microsoft Q&A!

    I tried to create a project that references the Microsoft.AspNetCore.Authentication.AzureAD.UI package, but the issue you encountered cannot be reproduced. Can you provide more information to reproduce this issue? You can also refer to this thread.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.