gpt4 book ai didi

asp.net-mvc - 从cmd启动站点

转载 作者:行者123 更新时间:2023-12-01 19:07:33 25 4
gpt4 key购买 nike

我正在尝试使用此命令从 cmd 在 IIS Express 上启动 ASP.NET MVC 项目

iisexpress/site:MySiteName

但我收到了这条消息

The following site was not found in the configuration file

我在这里缺少什么!?

最佳答案

来自documentation :

/config:config-file The full path to the applicationhost.config file. The default value is the IISExpress8\config\applicationhost.config file that is located in the user's Documents folder.

因此您需要添加配置键 /config: 并写入配置的路径。

关于asp.net-mvc - 从cmd启动站点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32067047/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com