Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello deoxys,
I need to ask a question regarding the MailWrapper.cs file within the Test Explorer project. I am debugging this code and keep getting stuck at the parameter "_DLFile" where it is coming back with a null exception:

See line #20 string _DLFile = "Tools\\Settings\\EmailDL.cfg";

"An unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll

Additional information: Value cannot be null."


Can you help explain why this is so?

What I have tried:

In your code, you defined a path on line #20 called:

string _DLFile = "Tools\\Settings\\EmailDL.cfg";

I tried setting the path to mine and ensured the file was placed in the folders there as shown below:

string _DLFile = "C:\\drop\\Debug\\Tools\\Settings\\EmailDL.cfg";
Posted
Updated 21-Jan-18 3:45am
Comments
RedDk 19-Jan-18 17:31pm    
Try asking here (scroll to the end of the page):

https://www.codeproject.com/Articles/681136/Test-Explorer

Use the "Add a Comment or Question" widget ... the author gets notified and might have something memorable to add to the cloud of information one runs across browsing at CP

1 solution

No answers needed for this question. I not got it to work by placing the EmailDL file in the right location.

Thanks for the tool.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900