我正在使用 XUnit 框架编写一些测试,并且必须使用一些通过 dll 引用的外部代码。
当我尝试进入方法调用 helper.GetEntity()
时,出现以下窗口并退出执行。
[Fact]
public void PassingTest()
{
var datapointJson = File.ReadAllText(@"sample.json");
dynamic datapointObject = JsonConvert.DeserializeObject(datapointJson);
// This is referenced from a different project in the same solution.
var helper = new Helper.Actions();
var studentEntity = helper.GetEntity("tom");
}
有人知道为什么会这样吗?
最佳答案
关于c# - 单步执行代码时未找到 ExecutionTimer.cs,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48110573/