asp.net core - Sitemap file not getting deployed to Azure website -


i'm running asp.net core (formerly asp.net 5) website on azure.

i updated sitemap file couple months ago , in checking google webmaster tools, noticed there few errors in sitemap. checked gwt showed contents , found out it's previous version.

i've checked bitbucket repository , see correct, updated version lives there.

why isn't azure deploying updated version?

edit: in response commenter below...

here's project.json file:

{   "usersecretsid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",   "version": "1.0.0-*",   "compilationoptions": {     "emitentrypoint": true   },    "dependencies": {     "dapper": "1.42.0",     "entityframework.commands": "7.0.0-rc1-final",     "entityframework.microsoftsqlserver": "7.0.0-rc1-final",     "microsoft.applicationinsights.aspnet": "1.0.0-rc1",     "microsoft.aspnet.authentication.cookies": "1.0.0-rc1-final",     "microsoft.aspnet.diagnostics.entity": "7.0.0-rc1-final",     "microsoft.aspnet.identity.entityframework": "3.0.0-rc1-final",     "microsoft.aspnet.iisplatformhandler": "1.0.0-rc1-final",     "microsoft.aspnet.mvc": "6.0.0-rc1-final",     "microsoft.aspnet.mvc.taghelpers": "6.0.0-rc1-final",     "microsoft.aspnet.server.kestrel": "1.0.0-rc1-final",     "microsoft.aspnet.staticfiles": "1.0.0-rc1-final",     "microsoft.aspnet.tooling.razor": "1.0.0-rc1-final",     "microsoft.extensions.codegenerators.mvc": "1.0.0-rc1-final",     "microsoft.extensions.configuration.fileproviderextensions": "1.0.0-rc1-final",     "microsoft.extensions.configuration.json": "1.0.0-rc1-final",     "microsoft.extensions.configuration.usersecrets": "1.0.0-rc1-final",     "microsoft.extensions.logging": "1.0.0-rc1-final",     "microsoft.extensions.logging.console": "1.0.0-rc1-final",     "microsoft.extensions.logging.debug": "1.0.0-rc1-final",     "microsoft.visualstudio.web.browserlink.loader": "14.0.0-rc1-final",     "microsoft.aspnet.diagnostics": "1.0.0-rc1-final",     "htmlagilitypack": "1.4.9.5"   },    "commands": {     "web": "microsoft.aspnet.server.kestrel",     "ef": "entityframework.commands"   },    "frameworks": {     "dnx451": {       "dependencies": {         "microsoft.visualstudio.qualitytools.unittestframework": "1.0.0-*"       }     }   },    "exclude": [     "wwwroot",     "node_modules"   ],   "publishexclude": [     "**.user",     "**.vspscc"   ],   "scripts": {     "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ]   } } 

so that's strange don't have publishoptions section in project.json. should include it. example mine looks , added sitemap.xml list (i don't know file assume it's @ root level)

"publishoptions": {     "include": [       "wwwroot",       "web.config",       "appsettings.development.json",       "appsettings.production.json",       "views",       "sitemap.xml"     ] } 

by way, project.json looks old, still using rc1. lots of things changed since then, after rc2 came rtm 1.0 , few days ago version 1.1.0. advise upgrade project, rc1 stage version, should not keep using it. take time upgrade it's worth it


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -