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:
- vs not running admin.
- 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
Post a Comment