{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13339","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13339/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13339/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13339/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/13339","id":360925573,"node_id":"MDU6SXNzdWUzNjA5MjU1NzM=","number":13339,"title":"Running EF Core Migrations from DLLs on Linux","user":{"login":"mmillican","id":810260,"node_id":"MDQ6VXNlcjgxMDI2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/810260?v=4","gravatar_id":"","url":"https://api.github.com/users/mmillican","html_url":"https://github.com/mmillican","followers_url":"https://api.github.com/users/mmillican/followers","following_url":"https://api.github.com/users/mmillican/following{/other_user}","gists_url":"https://api.github.com/users/mmillican/gists{/gist_id}","starred_url":"https://api.github.com/users/mmillican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmillican/subscriptions","organizations_url":"https://api.github.com/users/mmillican/orgs","repos_url":"https://api.github.com/users/mmillican/repos","events_url":"https://api.github.com/users/mmillican/events{/privacy}","received_events_url":"https://api.github.com/users/mmillican/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-09-17T15:33:47Z","updated_at":"2018-09-27T12:59:34Z","closed_at":null,"author_association":"NONE","body":"I'm currently working on setting up a build to our Linux EC2 instances via Code Deploy and have been having some issues getting EF Migrations to run.\r\n\r\nRunning `dotnet ef database update -p ProjectName.Backend.Core.dll -s ProjectName.Backend.Api.dll` produces the following:\r\n\r\n```\r\n/path_to/MyProject.Backend.Core.dll(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.\r\nUnable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project. If you're using custom BaseIntermediateOutputPath or MSBuildProjectExtensionsPath values, Use the --msbuildprojectextensionspath option.\r\n```\r\n\r\nWhat do I need to get migrations to run on Linux from a published output?\r\n\r\nI've seen [Ben Day's post](https://www.benday.com/2018/07/05/deploy-entity-framework-core-2-1-migrations-from-a-dll/) about deploying from DLLs for EF Core 2.1, but this is for more of a Windows environment (both the batch script and file locations). "},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/comments/425081123","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/13339#issuecomment-425081123","issue_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13339","id":425081123,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTA4MTEyMw==","user":{"login":"mmillican","id":810260,"node_id":"MDQ6VXNlcjgxMDI2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/810260?v=4","gravatar_id":"","url":"https://api.github.com/users/mmillican","html_url":"https://github.com/mmillican","followers_url":"https://api.github.com/users/mmillican/followers","following_url":"https://api.github.com/users/mmillican/following{/other_user}","gists_url":"https://api.github.com/users/mmillican/gists{/gist_id}","starred_url":"https://api.github.com/users/mmillican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmillican/subscriptions","organizations_url":"https://api.github.com/users/mmillican/orgs","repos_url":"https://api.github.com/users/mmillican/repos","events_url":"https://api.github.com/users/mmillican/events{/privacy}","received_events_url":"https://api.github.com/users/mmillican/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T12:59:34Z","updated_at":"2018-09-27T12:59:34Z","author_association":"NONE","body":"@jcmiron I'm hoping to have it ready this weekend."}}
{"actor":{"display_login":"mmillican"}}