美文网首页C#.NETAsp.net开发
JetBrains Rider运行.Net Framework

JetBrains Rider运行.Net Framework

作者: Weidaicheng | 来源:发表于2019-03-07 17:33 被阅读2次

今天在公司改了一个.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,这个非常重要,必须勾选。
然后再次运行可以正常访问。

相关文章

网友评论

    本文标题:JetBrains Rider运行.Net Framework

    本文链接:https://www.haomeiwen.com/subject/nerhpqtx.html