测试资源管理器工具-邮件包装类部分的问题 [英] Test explorer tool - mail wrapper class section question

查看:133
本文介绍了测试资源管理器工具-邮件包装类部分的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好脱氧,
我需要问一个关于Test Explorer项目中MailWrapper.cs文件的问题.我正在调试此代码,并始终停留在参数"_DLFile"处,并返回一个空异常:

参见第20行字符串_DLFile ="Tools \\ Settings \\ EmailDL.cfg";

mscorlib.dll中出现类型为"System.ArgumentNullException"的未处理的异常"

附加信息:值不能为null."


您能帮我解释为什么会这样吗?

我尝试过的事情:

在代码中,您在第20行定义了一个路径:

字符串_DLFile =工具\\设置\\ EmailDL.cfg";

我尝试将路径设置为我的路径,并确保将文件放置在该文件夹中,如下所示:

字符串_DLFile ="C:\\ drop \\ Debug \\ Tools \\ Settings \\ EmailDL.cfg";

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";

推荐答案

此问题不需要答案.通过将EmailDL文件放在正确的位置,我无法正常工作.

谢谢您提供的工具.
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.


这篇关于测试资源管理器工具-邮件包装类部分的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆