【发布时间】:2016-02-02 17:25:54
【问题描述】:
我从https://github.com/aspnet/MusicStore/tree/dev拉取了最新的代码
无需对代码进行任何更改。我构建了应用程序 dnx 版本:1.0.0-rc2-16308 coreclr x64
应用程序构建成功,但是当我尝试运行应用程序时, 我收到以下错误。
System.NullReferenceException: Object reference not set to an instance of an object.
at Xunit.Runner.Dnx.Program.GetAvailableRunnerReporters()
at Xunit.Runner.Dnx.Program.Run(String[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Dnx.Runtime.Common.EntryPointExecutor.Execute(Assembly assembly, String[] args, IServiceProvider serviceProvider)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
请注意,几天前相同的代码库成功运行。
【问题讨论】:
-
改变了,我的问题。它与 dnx 和 xunit 有关系
标签: asp.net-core dnx coreclr