C#.NETAsp.net开发

JetBrains Rider运行.Net Framework

2019-03-07  本文已影响2人  Weidaicheng

今天在公司改了一个.Net Framework的Web项目,由于Visual Studio的License还没有收到,所以就用Rider来修改,改完之后点击Debug,运行报错提示

An error occurred while reading configuration information. 
Make sure that the configuration file xxxxxxxxx\.idea\config\applicationhost.config exists, 
it is accessible, and contains valid configuration information.

经过一番问题查找解决方法如下:
右键Web项目选择Properties


Properties.png

选择Web页面,之后选择Server type为IIS Express,并且勾选Generate applicationhost.config,这个非常重要,必须勾选。
然后再次运行可以正常访问。

上一篇下一篇

猜你喜欢

热点阅读