diff --git a/app/index.js b/app/index.js index cc06a714..602b38de 100644 --- a/app/index.js +++ b/app/index.js @@ -187,8 +187,8 @@ var AspnetGenerator = yeoman.generators.Base.extend({ /// Properties this.fs.copyTpl(this.templatePath('Properties/**/*'), this.applicationName + '/Properties', this.templatedata); - /// wwwroot - this.fs.copy(this.templatePath('wwwroot/**/*'), this.applicationName + '/wwwroot'); + this.fs.copy(this.sourceRoot() + '/README.md', this.applicationName + '/README.md'); + mkdirp.sync(this.applicationName + '/wwwroot'); break; case 'webapi': diff --git a/templates/projects/emptyweb/Properties/launchSettings.json b/templates/projects/emptyweb/Properties/launchSettings.json index 04c456be..b699068e 100644 --- a/templates/projects/emptyweb/Properties/launchSettings.json +++ b/templates/projects/emptyweb/Properties/launchSettings.json @@ -3,7 +3,7 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:24436/", + "applicationUrl": "http://localhost:55343/", "sslPort": 0 } }, diff --git a/templates/projects/emptyweb/wwwroot/README.md b/templates/projects/emptyweb/README.md similarity index 100% rename from templates/projects/emptyweb/wwwroot/README.md rename to templates/projects/emptyweb/README.md diff --git a/templates/projects/emptyweb/project.json b/templates/projects/emptyweb/project.json index f4902644..c95809f5 100644 --- a/templates/projects/emptyweb/project.json +++ b/templates/projects/emptyweb/project.json @@ -1,16 +1,16 @@ { "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0-rc2-3002611", + "version": "1.0.0-rc2-3002702", "type": "platform" }, - "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-20801", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-20801" + "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final" }, "tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-rc2-20801", + "version": "1.0.0-preview1-final", "imports": "portable-net45+win8+dnxcore50" } }, diff --git a/test/test-core.js b/test/test-core.js index 06fc0fe1..b945541a 100644 --- a/test/test-core.js +++ b/test/test-core.js @@ -41,8 +41,8 @@ describe('aspnet - Empty Web Application', function() { 'emptyWebTest/project.json', 'emptyWebTest/Program.cs', 'emptyWebTest/Properties/launchSettings.json', + 'emptyWebTest/README.md', 'emptyWebTest/Startup.cs', - 'emptyWebTest/wwwroot/README.md', 'emptyWebTest/web.config', 'emptyWebTest/Dockerfile' ];