I’ve recently had to do a fresh install of windows which has me reinstalling Visual Studio and IIS.
Since doing this I cannot debug any Asp.net Web application, I can create any type be it windows forms, empty all will not load correctly in to debug.
A single page will load up looking to attempt but then immediately Visual Studio goes in to break mode with the following error.
I can attempt to continue execution which continues with errors.
In the output I get the following:
The runtime has encountered a fatal error. The address of the error was at 0xf0d444e2, on thread 0x3ff0. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.
The program ‘ iisexpress.exe’ has exited with code -1 (0xffffffff).
I run Visual Studio as Administrator, I’ve reinstalled IIS multiple times,
Set IIS to allow 32bit applications.
Tried to change the port which it loads on.
Visual studio is 2017 edition.