环境:适用于Mac的Mac Book Laptop和Visual Studio Community 2017,
重现步骤:
- 从Github检出Orchard.Core(ASP.NET Core应用程序):https://github.com/OrchardCMS/OrchardCore
- 构建它并使用“ dotnet run”运行它,因此ASP.NET Core在端口5000上运行
- 启动Visual Studio
- 创建一个新的控制台应用程序,添加“ Console.ReadLin();”作为Main方法中的最后一条语句
- 按“运行”按钮以调试模式运行此控制台应用程序
- 该应用程序在终端中运行,并立即打开Web浏览器选项卡,并打开localhost:5000