{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/760","labels_url":"https://api.github.com/repos/dotnet/cli/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/760/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/760/events","html_url":"https://github.com/dotnet/cli/issues/760","id":125694989,"number":760,"title":"Building with multiple frameworks doesn't work correctly","user":{"login":"BillHiebert","id":1553785,"avatar_url":"https://avatars.githubusercontent.com/u/1553785?v=3","gravatar_id":"","url":"https://api.github.com/users/BillHiebert","html_url":"https://github.com/BillHiebert","followers_url":"https://api.github.com/users/BillHiebert/followers","following_url":"https://api.github.com/users/BillHiebert/following{/other_user}","gists_url":"https://api.github.com/users/BillHiebert/gists{/gist_id}","starred_url":"https://api.github.com/users/BillHiebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillHiebert/subscriptions","organizations_url":"https://api.github.com/users/BillHiebert/orgs","repos_url":"https://api.github.com/users/BillHiebert/repos","events_url":"https://api.github.com/users/BillHiebert/events{/privacy}","received_events_url":"https://api.github.com/users/BillHiebert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-08T21:16:53Z","updated_at":"2016-01-08T21:16:53Z","closed_at":null,"body":"I have a project targeting two frameworks. When using dotnet compile and specify an output path the frameworks build, but the second framework build overwrites the first one since they are both going into the same output directory. I would expect the output directory to have the framework appended to it. Here's the command I used and output:\r\n\"C:\\Program Files\\dotnet\\bin\\dotnet.exe\" -v compile \"C:\\temp\\Documents\\projects\\ConsoleApp1\\src\\ConsoleApp1\" --configuration Debug --output \"..\\..\\artifacts\\bin\\ConsoleApp1\" --temp-output \"..\\..\\artifacts\\obj\\ConsoleApp1\\Debug\\\r\nCompiling ConsoleApp1 for DNX,Version=v4.5.1\r\nRunning <C:\\Program Files\\dotnet\\bin\\dotnet-compile-csc.exe> @\"..\\..\\artifacts\\obj\\ConsoleApp1\\Debug\\dotnet-compile.ConsoleApp1.rsp\"\r\nProcess ID: 27164\r\nRunning <C:\\Program Files\\dotnet\\bin\\csc.exe> -noconfig @\"..\\..\\artifacts\\obj\\ConsoleApp1\\Debug\\dotnet-compile-csc.rsp\"\r\nProcess ID: 18924\r\n"}}