{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4614","repository_url":"https://api.github.com/repos/aspnet/EntityFramework","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4614/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4614/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4614/events","html_url":"https://github.com/aspnet/EntityFramework/issues/4614","id":135160584,"number":4614,"title":"EF Commands for a Library Project","user":{"login":"chrisjmccrum","id":1857216,"avatar_url":"https://avatars.githubusercontent.com/u/1857216?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisjmccrum","html_url":"https://github.com/chrisjmccrum","followers_url":"https://api.github.com/users/chrisjmccrum/followers","following_url":"https://api.github.com/users/chrisjmccrum/following{/other_user}","gists_url":"https://api.github.com/users/chrisjmccrum/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisjmccrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisjmccrum/subscriptions","organizations_url":"https://api.github.com/users/chrisjmccrum/orgs","repos_url":"https://api.github.com/users/chrisjmccrum/repos","events_url":"https://api.github.com/users/chrisjmccrum/events{/privacy}","received_events_url":"https://api.github.com/users/chrisjmccrum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-21T04:52:29Z","updated_at":"2016-02-29T16:56:04Z","closed_at":"2016-02-22T19:16:14Z","body":"What is the proper way to use EF Commands for a Library Project? My project structure is:\r\n- Project.Core (startup resides here and has Project.EF dependency) _dnxcore50_\r\n- Project.EF _dnxcore50_\r\n\r\nI added dotnet-ef tools to Project.EF and ran the add migration command from the command line and got the error below\r\n```\r\nC:\\Users\\chris\\Documents\\project\\core\\src\\Project.EF\r\ndotnet ef migrations add initial -s ..\\Project.Core\r\n```\r\n> Could not load assembly 'Project.EF'. Ensure it is referenced by the startup project 'Project.Core'."},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/190286849","html_url":"https://github.com/aspnet/EntityFramework/issues/4614#issuecomment-190286849","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4614","id":190286849,"user":{"login":"chrisjmccrum","id":1857216,"avatar_url":"https://avatars.githubusercontent.com/u/1857216?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisjmccrum","html_url":"https://github.com/chrisjmccrum","followers_url":"https://api.github.com/users/chrisjmccrum/followers","following_url":"https://api.github.com/users/chrisjmccrum/following{/other_user}","gists_url":"https://api.github.com/users/chrisjmccrum/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisjmccrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisjmccrum/subscriptions","organizations_url":"https://api.github.com/users/chrisjmccrum/orgs","repos_url":"https://api.github.com/users/chrisjmccrum/repos","events_url":"https://api.github.com/users/chrisjmccrum/events{/privacy}","received_events_url":"https://api.github.com/users/chrisjmccrum/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T16:56:04Z","updated_at":"2016-02-29T16:56:04Z","body":"@capesean unfortunately I didn't  - I took a week off from the project but I just tried again after restoring and building everything. Now it's worst haha.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1857216/13401700/353798ae-dedb-11e5-8e32-adf49fb1d02b.png)\r\n\r\n> C:\\Users\\chris\\Documents\\project\\core\\src\\Project.EF\r\n> dotnet ef migrations add initial -s ..\\Project.Core\r\n> Process is terminated due to StackOverflowException.\r\n\r\nIf you gain any progress let me know dude - I need to get this back up and running and the EF stuff is stopping me. =("}}