How to get “Manage User Secrets” in a .NET Core console-application?

前端 未结 9 1468
醉梦人生
醉梦人生 2020-12-28 12:07

When I create a new ASP .NET Core Web-Application, I can right-click the project in Visual Studio, and I see a context-menu entry called \"Manage User Secre

9条回答
  •  别那么骄傲
    2020-12-28 12:21

    There is already an open closed issue related to this on GitHub.

    What you can do until they solve it, is to use the command line approach as described on Visual Studio Code or Command Line: Installing the Secret Manager tool. This doesn't mean that you get your context menu item but it works nevertheless.

    One note, the documentation is referring to while version 2.0.0 is already out and can be used.

提交回复
热议问题