If your Debug session terminates with the below error
Program Trace' has exited with code 0 (0x0)
make sure you have added all the dependencies in your end project.
For Example , if you are testing a Project say Project1, and Test Project Name is Project1Test.
if Project1 is using any third party references like Newtonsoft.Json or any other nugget packages,
Please make sure you have added these references to your Project1Test project as well.
Some times it will give run time exception saying can not load Newtonsoft.Json, but some times it will exit without giving any error.
Program Trace' has exited with code 0 (0x0)
make sure you have added all the dependencies in your end project.
For Example , if you are testing a Project say Project1, and Test Project Name is Project1Test.
if Project1 is using any third party references like Newtonsoft.Json or any other nugget packages,
Please make sure you have added these references to your Project1Test project as well.
Some times it will give run time exception saying can not load Newtonsoft.Json, but some times it will exit without giving any error.