Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • npack 58 posts 334 karma points
    Nov 12, 2024 @ 23:54
    npack
    0

    ModelsBuilder SourceCodeAuto Crashes Visual Studio's Web Server Unless in Debug Mode?

    Has anybody else experienced an infinite crash/reboot loop in visual studio's built-in webserver when 'running' a project from visual studio without the debugger attached?

    Whenever I hit "Start without Debugging (Ctrl-F5)" and my web project starts up, it starts generating models and crashes.

    [16:50:47 INF] Generate models now.
    [16:50:47 INF] Generated.
    
    C:\data\MyProject.Public\MyProject.Web\bin\Debug\net8.0\MyProject.Web.exe (process 24348) exited with code -1.
    Press any key to close this window . . .
    

    I have my models builder set to "SourceCodeAuto".

    But if I hit the regular old F5 (Start with Debugger) I don't run into this. Maybe it is a permissions problem? Nothing in the event viewer, nothing in the logs.

Please Sign in or register to post replies

Write your reply to:

Draft