From 1656d224f0cbcd0287752b5976385e31013b8f0b Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Mon, 6 Apr 2015 13:59:26 -0700 Subject: [PATCH] Clean up samples to work with the current tooling. --- .gitignore | 1 + samples/ConsoleApp/project.json | 3 +++ .../HelloMvc/Properties/launchSettings.json | 21 +++++++++++++++++++ .../HelloWeb/Properties/launchSettings.json | 21 +++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 samples/HelloMvc/Properties/launchSettings.json create mode 100644 samples/HelloWeb/Properties/launchSettings.json diff --git a/.gitignore b/.gitignore index 1c37869b5d..ec80ffa907 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ [Bb]in/ TestResults/ .nuget/ +.vs/ _ReSharper.*/ packages/ artifacts/ diff --git a/samples/ConsoleApp/project.json b/samples/ConsoleApp/project.json index d9a68ea21d..a83cf77179 100644 --- a/samples/ConsoleApp/project.json +++ b/samples/ConsoleApp/project.json @@ -1,6 +1,9 @@ { "dependencies": { + }, + "commands": { + "ConsoleApp": "ConsoleApp" }, "frameworks": { "dnx451": { }, diff --git a/samples/HelloMvc/Properties/launchSettings.json b/samples/HelloMvc/Properties/launchSettings.json new file mode 100644 index 0000000000..eccc5ae1c1 --- /dev/null +++ b/samples/HelloMvc/Properties/launchSettings.json @@ -0,0 +1,21 @@ +{ + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNET_ENV": "Development" + } + }, + "kestrel": { + "commandName": "kestrel", + "launchBrowser": true, + "launchUrl": "http://localhost:5004" + }, + "web": { + "commandName": "web", + "launchBrowser": true, + "launchUrl": "http://localhost:5001" + } + } +} \ No newline at end of file diff --git a/samples/HelloWeb/Properties/launchSettings.json b/samples/HelloWeb/Properties/launchSettings.json new file mode 100644 index 0000000000..eccc5ae1c1 --- /dev/null +++ b/samples/HelloWeb/Properties/launchSettings.json @@ -0,0 +1,21 @@ +{ + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNET_ENV": "Development" + } + }, + "kestrel": { + "commandName": "kestrel", + "launchBrowser": true, + "launchUrl": "http://localhost:5004" + }, + "web": { + "commandName": "web", + "launchBrowser": true, + "launchUrl": "http://localhost:5001" + } + } +} \ No newline at end of file