Update all projects for final .NET Core RC2

This commit is contained in:
SteveSandersonMS
2016-05-17 11:56:06 +01:00
parent d1964f087d
commit 352108be35
27 changed files with 281 additions and 401 deletions

View File

@@ -54,7 +54,7 @@ namespace ES2015Example
{
var host = new WebHostBuilder()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISPlatformHandlerUrl()
.UseIISIntegration()
.UseKestrel()
.UseStartup<Startup>()
.Build();

View File

@@ -1,17 +1,22 @@
{
"webroot": "wwwroot",
"version": "1.0.0-*",
"tooling": {
"defaultNamespace": "ES2015Example"
},
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"warningsAsErrors": true,
"preserveCompilationContext": true
},
"runtimeOptions": {
"gcServer": true
},
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc2-3002702",
"type": "platform"
},
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
@@ -25,22 +30,12 @@
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net451+win8"
],
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
}
"portable-net45+win8"
]
}
},
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
],
"publishExclude": [
"node_modules",
"bower_components",
@@ -49,8 +44,7 @@
"**.vspscc"
],
"scripts": {
"prepublish": [
"npm install"
]
"prepublish": [ "npm install" ],
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}
}