the create app host task failed unexpectedly code example Example: The "CreateAppHost" task failed unexpectedly. A work around is to upadate VS with v16.4 or newer.