From ebbb481fea06ca57b8bf16069ac0052272aa2c3c Mon Sep 17 00:00:00 2001 From: David Fowler Date: Sat, 1 Feb 2014 00:39:26 -0800 Subject: [PATCH] Print hello world for k10 project. --- samples/MvcSample/Program.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/samples/MvcSample/Program.cs b/samples/MvcSample/Program.cs index 40138e3b8e..25cb146332 100644 --- a/samples/MvcSample/Program.cs +++ b/samples/MvcSample/Program.cs @@ -1,6 +1,7 @@ -#if NET45 -using System; +using System; +#if NET45 using Microsoft.Owin.Hosting; +#endif namespace MvcSample { @@ -10,13 +11,16 @@ namespace MvcSample public static void Main() { +#if NET45 using (WebApp.Start(new StartOptions(baseUrl))) { Console.WriteLine("Listening at {0}", baseUrl); Console.WriteLine("Press any key to exit"); Console.ReadKey(); } +#else + Console.WriteLine("Hello World"); +#endif } } -} -#endif \ No newline at end of file +} \ No newline at end of file