{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/9406","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/9406/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/9406/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/9406/events","html_url":"https://github.com/aspnet/Docs/issues/9406","id":376923975,"node_id":"MDU6SXNzdWUzNzY5MjM5NzU=","number":9406,"title":"Deployment Issues","user":{"login":"toryb","id":1589108,"node_id":"MDQ6VXNlcjE1ODkxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1589108?v=4","gravatar_id":"","url":"https://api.github.com/users/toryb","html_url":"https://github.com/toryb","followers_url":"https://api.github.com/users/toryb/followers","following_url":"https://api.github.com/users/toryb/following{/other_user}","gists_url":"https://api.github.com/users/toryb/gists{/gist_id}","starred_url":"https://api.github.com/users/toryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toryb/subscriptions","organizations_url":"https://api.github.com/users/toryb/orgs","repos_url":"https://api.github.com/users/toryb/repos","events_url":"https://api.github.com/users/toryb/events{/privacy}","received_events_url":"https://api.github.com/users/toryb/received_events","type":"User","site_admin":false},"labels":[{"id":327110004,"node_id":"MDU6TGFiZWwzMjcxMTAwMDQ=","url":"https://api.github.com/repos/aspnet/Docs/labels/P2","name":"P2","color":"009800","default":false},{"id":918734558,"node_id":"MDU6TGFiZWw5MTg3MzQ1NTg=","url":"https://api.github.com/repos/aspnet/Docs/labels/Source%20-%20Docs.ms","name":"Source - Docs.ms","color":"77f966","default":false}],"state":"open","locked":false,"assignee":{"login":"guardrex","id":1622880,"node_id":"MDQ6VXNlcjE2MjI4ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false},"assignees":[{"login":"guardrex","id":1622880,"node_id":"MDQ6VXNlcjE2MjI4ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/Docs/milestones/46","html_url":"https://github.com/aspnet/Docs/milestone/46","labels_url":"https://api.github.com/repos/aspnet/Docs/milestones/46/labels","id":3707516,"node_id":"MDk6TWlsZXN0b25lMzcwNzUxNg==","number":46,"title":"2018 Q 4 ends Dec 31","description":"","creator":{"login":"Rick-Anderson","id":3605364,"node_id":"MDQ6VXNlcjM2MDUzNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3605364?v=4","gravatar_id":"","url":"https://api.github.com/users/Rick-Anderson","html_url":"https://github.com/Rick-Anderson","followers_url":"https://api.github.com/users/Rick-Anderson/followers","following_url":"https://api.github.com/users/Rick-Anderson/following{/other_user}","gists_url":"https://api.github.com/users/Rick-Anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/Rick-Anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rick-Anderson/subscriptions","organizations_url":"https://api.github.com/users/Rick-Anderson/orgs","repos_url":"https://api.github.com/users/Rick-Anderson/repos","events_url":"https://api.github.com/users/Rick-Anderson/events{/privacy}","received_events_url":"https://api.github.com/users/Rick-Anderson/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":28,"state":"open","created_at":"2018-10-02T23:33:01Z","updated_at":"2018-11-02T20:54:07Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"comments":6,"created_at":"2018-11-02T18:36:24Z","updated_at":"2018-11-03T14:01:26Z","closed_at":null,"author_association":"NONE","body":"This was a very helpful article. However, the information for deploying the sample did not work for me. I encountered two issues that I had to handle manually. \n\nFirst, the modify_deps_json.ps1 did not appear to work. The runtime location in StartupDiagnostics.deps.json did not get \"lib/netcoreapp2.1/\" prefixed to the assembly. I had to do that manually. \n\nSecond, the dotnet store command added all the dependencies to the store but it did not add the StartupDiagnostics to the store. I had to add that manually also.\n\nThanks for the information!\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: 613ad64e-bc62-edf7-2e86-42210de718f4\n* Version Independent ID: aabbbc32-3237-5ef9-c422-892dc6884a22\n* Content: [Enhance an app from an external assembly in ASP.NET Core with IHostingStartup](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/platform-specific-configuration?view=aspnetcore-2.1&tabs=windows#runtime-store)\n* Content Source: [aspnetcore/fundamentals/host/platform-specific-configuration.md](https://github.com/aspnet/Docs/blob/master/aspnetcore/fundamentals/host/platform-specific-configuration.md)\n* Product: **aspnet-core**\n* GitHub Login: @guardrex\n* Microsoft Alias: **riande**"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/435590164","html_url":"https://github.com/aspnet/Docs/issues/9406#issuecomment-435590164","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/9406","id":435590164,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU5MDE2NA==","user":{"login":"guardrex","id":1622880,"node_id":"MDQ6VXNlcjE2MjI4ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T14:01:26Z","updated_at":"2018-11-03T14:01:26Z","author_association":"COLLABORATOR","body":"In the project file where the script is called, try changing the execution policy of the script from *Unrestricted* to *Bypass*, which is slightly less restricted:\r\n\r\n```\r\n-executionpolicy Unrestricted\r\n```\r\n... to ...\r\n```\r\n-executionpolicy Bypass\r\n```\r\nIf that doesn't work, try adding the `-Force` flag to it and see what happens ...\r\n```\r\n-executionpolicy Bypass -Force\r\n```\r\nIf none of that works, is the project sitting on a share off of your local machine? If so, try copying the entire project to your local machine, reset the switch to just `-executionpolicy Unrestricted`, and see if it will run.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"guardrex"}}