{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3967","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3967/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3967/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3967/events","html_url":"https://github.com/aspnet/EntityFramework/issues/3967","id":120249562,"number":3967,"title":"How to add EntityFramework.Commands to my DLL project?","user":{"login":"ryancole","id":484801,"avatar_url":"https://avatars.githubusercontent.com/u/484801?v=3","gravatar_id":"","url":"https://api.github.com/users/ryancole","html_url":"https://github.com/ryancole","followers_url":"https://api.github.com/users/ryancole/followers","following_url":"https://api.github.com/users/ryancole/following{/other_user}","gists_url":"https://api.github.com/users/ryancole/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancole/subscriptions","organizations_url":"https://api.github.com/users/ryancole/orgs","repos_url":"https://api.github.com/users/ryancole/repos","events_url":"https://api.github.com/users/ryancole/events{/privacy}","received_events_url":"https://api.github.com/users/ryancole/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T19:28:16Z","updated_at":"2015-12-08T21:45:02Z","closed_at":null,"body":"Hi all, this is not an issue, I'm just confused and looking for a helpful explanation of how to work within the new dnx environment. I've got a solution with two projects in it - an ASP.NET project and a DLL project. I'm trying to use EF7 migrations, and so I'm trying to add `EntityFramework.Commands` to my DLL project. I keep getting the following error ...\r\n\r\n```\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\tNU1002\tThe dependency EntityFramework.Commands 7.0.0-rc1-final in project League.Data does not support framework .NETPlatform,Version=v5.4.\tLeague.Data\tC:\\Users\\Ryan\\Projects\\League\\League.Data\\project.json\t27\t\r\n```\r\n\r\nHere is the `project.json` file for my DLL project ...\r\n\r\n```json\r\n{\r\n  \"version\": \"1.0.0-*\",\r\n  \"description\": \"League.Data Class Library\",\r\n  \"authors\": [ \"Ryan\" ],\r\n  \"tags\": [ \"\" ],\r\n  \"projectUrl\": \"\",\r\n  \"licenseUrl\": \"\",\r\n\r\n  \"commands\": {\r\n    \"ef\": \"EntityFramework.Commands\"\r\n  },\r\n\r\n  \"frameworks\": {\r\n    \"net451\": { },\r\n    \"dotnet5.4\": {\r\n      \"dependencies\": {\r\n        \"Microsoft.CSharp\": \"4.0.1-beta-23516\",\r\n        \"System.Collections\": \"4.0.11-beta-23516\",\r\n        \"System.Linq\": \"4.0.1-beta-23516\",\r\n        \"System.Runtime\": \"4.0.21-beta-23516\",\r\n        \"System.Threading\": \"4.0.11-beta-23516\"\r\n      }\r\n    }\r\n  },\r\n\r\n  \"dependencies\": {\r\n    \"EntityFramework.Commands\": \"7.0.0-rc1-final\",\r\n    \"EntityFramework.MicrosoftSqlServer\": \"7.0.0-rc1-final\",\r\n    \"League.Entity\": \"1.0.0-*\"\r\n  }\r\n}\r\n```\r\n\r\nAny advice on what I need to do to make these dependencies work? I'm a little confused. Thanks!"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/163027631","html_url":"https://github.com/aspnet/EntityFramework/issues/3967#issuecomment-163027631","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3967","id":163027631,"user":{"login":"CraigSelbert","id":2879356,"avatar_url":"https://avatars.githubusercontent.com/u/2879356?v=3","gravatar_id":"","url":"https://api.github.com/users/CraigSelbert","html_url":"https://github.com/CraigSelbert","followers_url":"https://api.github.com/users/CraigSelbert/followers","following_url":"https://api.github.com/users/CraigSelbert/following{/other_user}","gists_url":"https://api.github.com/users/CraigSelbert/gists{/gist_id}","starred_url":"https://api.github.com/users/CraigSelbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraigSelbert/subscriptions","organizations_url":"https://api.github.com/users/CraigSelbert/orgs","repos_url":"https://api.github.com/users/CraigSelbert/repos","events_url":"https://api.github.com/users/CraigSelbert/events{/privacy}","received_events_url":"https://api.github.com/users/CraigSelbert/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T21:45:02Z","updated_at":"2015-12-08T21:45:02Z","body":"That worked for me.\r\n\r\nHere is what I ended up with \r\n\r\n```\r\n{\r\n  \"version\": \"1.0.0-*\",\r\n  \"description\": \"Domain Class Library\",\r\n  \"authors\": [ \"Craig Selbert\" ],\r\n  \"tags\": [ \"\" ],\r\n  \"projectUrl\": \"\",\r\n  \"licenseUrl\": \"\",\r\n\r\n  \"frameworks\": {\r\n    \"dnx451\": { },\r\n    \"netcore50 \": {\r\n      \"dependencies\": {\r\n        \"Microsoft.CSharp\": \"4.0.1-beta-23516\",\r\n        \"System.Collections\": \"4.0.11-beta-23516\",\r\n        \"System.Linq\": \"4.0.1-beta-23516\",\r\n        \"System.Runtime\": \"4.0.21-beta-23516\",\r\n        \"System.Threading\": \"4.0.11-beta-23516\"\r\n      }\r\n    }\r\n  },\r\n  \"dependencies\": {\r\n    \"EntityFramework.Commands\": \"7.0.0-rc1-final\",\r\n    \"EntityFramework.MicrosoftSqlServer\": \"7.0.0-rc1-final\",\r\n    \"Microsoft.Extensions.Configuration.Json\": \"1.0.0-rc1-final\"\r\n  }\r\n}\r\n```"}}