Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

The error message when there's no Startup class specified sucks #559

Closed
davidfowl opened this issue Jan 11, 2016 · 0 comments
Closed

The error message when there's no Startup class specified sucks #559

davidfowl opened this issue Jan 11, 2016 · 0 comments
Assignees
Milestone

Comments

@davidfowl
Copy link
Member

System.ArgumentException: Value cannot be null or empty.
Parameter name: startupAssemblyName
   at Microsoft.AspNet.Hosting.Startup.StartupLoader.FindStartupType(String startupAssemblyName, IList`1 diagnosticMessages)
   at Microsoft.AspNet.Hosting.Internal.WebApplication.EnsureStartup()
   at Microsoft.AspNet.Hosting.Internal.WebApplication.EnsureApplicationServices()
   at Microsoft.AspNet.Hosting.Internal.WebApplication.BuildApplication()
   at Microsoft.AspNet.Hosting.WebApplicationBuilder.Build()
   at ConsoleApp1.Program.Main(String[] args) in c:\dev\scratch\WebApplication10\src\ConsoleApp1\Program.cs:line 13
--- 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.ApplicationHost.Program.<>c__DisplayClass3_0.<ExecuteMain>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

/cc @Tratcher @JunTaoLuo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants