[英]Unable to launch IIS express error Visual Studio 2015
I'm working on an Asp.Net MVC5 project and I have done quite of work on it, i tried to manage the architecture of my app by moving common functionality to a common project to remove unnecessary dependencies, so i removed references to those nuget packages DLLs and manually deleted them from bin directory instead of uninstalling, after that i rebuild the entire solution which was successful but VS is not hosting it to IIS Express and i'm getting following error dialog. 我正在研究Asp.Net MVC5项目,并且已经做了很多工作,我试图通过将通用功能移至通用项目中以消除不必要的依赖关系来管理应用的体系结构,因此我删除了对这些nuget的引用打包DLL并从bin目录中手动删除它们,而不是卸载它们,之后,我重新构建了成功的整个解决方案,但VS未将其托管到IIS Express,并且出现了以下错误对话框。 Can any one help me out if possible.
如果可能的话,任何人都可以帮助我。 Note: I have tried some solutions at Stack Overflow but those are not working in my case and also my other project's hosting is working fine.
注意:我已经在Stack Overflow尝试了一些解决方案,但是这些解决方案在我的情况下不起作用,而且我其他项目的托管工作正常。 Error Dialog
错误对话框
I just found the right solution to my problem. 我刚刚找到解决我问题的正确方法。 I just deleted the .vs folder which was hidden in my solutions directory and after that IIS is launching smoothly.
我只是删除了隐藏在解决方案目录中的.vs文件夹,然后IIS顺利启动。 Don't worry just delete the .vs folder visual studio will recreate it with new applicationhost.config file which is where host configuration is living.
不用担心,只需删除.vs文件夹,Visual Studio就会使用新的applicationhost.config文件(主机配置所在的位置)重新创建它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.