Application dosent run after building exe

After generating .exe from visual studio, the application fails with error in event viewer, tried multiple times with new solutions.
Debugging works fine though. Can’t get my head around it, any suggestions to fix it?

.net framework 4.8
visual studio 2017 15.9
Pro tools: 5.5.9

Error:
Faulting application name: RecalimForm.exe, version: 1.0.0.0, time stamp: 0x8fc9330a
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc00000fd
Fault offset: 0x00007ffd65750085
Faulting process id: 0x316c
Faulting application start time: 0x01d62e0f4e07d857
Faulting application path: E:\Reclaim_Hybrid_Project\RecalimForm - Copy (5) - Copy\RecalimForm\bin\Debug\RecalimForm.exe
Faulting module path: unknown
Report Id: 91f436ff-9a02-11ea-80e6-00155d7c7bbe
Faulting package full name:
Faulting package-relative application ID:

Can you share your script/project at all? Feel free to DM me if you dont want to share it publicly

Hi Adam, how can i can Dm you the project?

You can click my name on one of my responses on this thread and then click Message.

I am getting an error, you can not send the message to this user.

Can you email it to me? adam[at]poshtools.com

Hi Adam,

I have sent you the project over the email as Gdrive attachment.

1 Like

Also seems like, Powershell window of exe shows as “Stack Overflow Exception”, while launching exe. Output to ps1 Script runs fine.

1 Like