Visual Studio don’t change host file when deploy SharePoint-hosted apps on SharePoint on-premise environment


hi all,

i use visual studio 2012 build app sharepoint (sharepoint-hosted app) , deploy apps using visual studio sharepoint.  everything work correctly except hosts file don’t change , should add app domain (app-xxxxxx.apps.doman.local) host file manually.

my development environment configure following:

  • web font end, applications server , sql server.
  • all sharepoint services running on applications server.
  • vs 2012 office tools installed on web-front server.
  • i used article (http://msdn.microsoft.com/en-us/library/fp179923.aspx) configure web front server.
  • the used user account local admin , farm admin.

any kind of highly appreciated.

visual studio must run admin privileges before update hosts file you. host file won’t updated in these situations:

  1. vs not running admin.
  2. if dns can resolve name, means don't need update hosts file.

if neither of these apply scenario, though, let know.

regards,


- kemp brown [msft]



SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'