When I click on the green play button that says IIS Express (Google Chrome) Visual Studio starts and then stops the code within 2-5 seconds.
I have cleaned, rebuilt, and restarted both visual studio and my computer.
I have a C# back end code that when it runs it normally opens a Chrome window with a swagger page of my controllers. Today it started normally, the diagnostic tools opens on the right of the screen, and after a few seconds it quits out and the window returns to normal. I get no errors and have nothing in the output.
EDIT: Fixed it by deleting the applicationhost.config file.
通过删除applicationhost.config文件来修复它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.