You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
I have published a web application developed with Visual Studio to local filesystem. As far as I understand, the published application should be self contained and be runnable with either the web or kestrel commands.
On my development machine (Win10 Pro) I can successfully run it with either web or kestrel.
I copied all files to another computer (also Win10 Pro) and tried to run it there which gives me:
C:\MyPath>kestrel
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
at Microsoft.Dnx.ApplicationHost.DefaultHost.GetEntryPoint(String application Name)
at Microsoft.Dnx.ApplicationHost.Program.ExecuteMain(DefaultHost host, String applicationName, String[] args)
at Microsoft.Dnx.ApplicationHost.Program.Main(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 Microsoft.Dnx.Host.Bootstrapper.RunAsync(List`1 args, IRuntimeEnvironment env, FrameworkName targetFramework)
at Microsoft.Dnx.Host.RuntimeBootstrapper.ExecuteAsync(String[] args, FrameworkName targetFramework)
at Microsoft.Dnx.Host.RuntimeBootstrapper.Execute(String[] args, FrameworkName targetFramework)
I tried to target both .NET core and full .NET (both beta 8) with the same result.
Then I installed the beta 8 runtime with dnvm globally and tried to run the application with "dnx kestrel", again with the same result.
What could be the issue here? Why does Microsoft.Dnx.ApplicationHost fail on one computer but not on the other?