{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/3819","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/3819/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/3819/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/3819/events","html_url":"https://github.com/dotnet/cli/issues/3819","id":164624978,"number":3819,"title":"Blocking issues for the conversion of CLI to MSBuild","user":{"login":"eerhardt","id":8291187,"avatar_url":"https://avatars.githubusercontent.com/u/8291187?v=3","gravatar_id":"","url":"https://api.github.com/users/eerhardt","html_url":"https://github.com/eerhardt","followers_url":"https://api.github.com/users/eerhardt/followers","following_url":"https://api.github.com/users/eerhardt/following{/other_user}","gists_url":"https://api.github.com/users/eerhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/eerhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerhardt/subscriptions","organizations_url":"https://api.github.com/users/eerhardt/orgs","repos_url":"https://api.github.com/users/eerhardt/repos","events_url":"https://api.github.com/users/eerhardt/events{/privacy}","received_events_url":"https://api.github.com/users/eerhardt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/external","name":"external","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/12","html_url":"https://github.com/dotnet/cli/milestones/Planning","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/12/labels","id":1831214,"number":12,"title":"Planning","description":"","creator":{"login":"blackdwarf","id":3115004,"avatar_url":"https://avatars.githubusercontent.com/u/3115004?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2016-06-16T01:32:51Z","updated_at":"2016-07-13T21:53:41Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-07-08T22:04:06Z","updated_at":"2016-08-11T19:33:47Z","closed_at":null,"body":"This issue is meant for tracking all of our external blocking issues that are preventing the CLI to work on MSBuild.\r\n\r\n- [x] https://github.com/NuGet/Home/issues/3102 - `dotnet restore` doesn't install custom MSBuild targets\r\n- [ ] https://github.com/NuGet/Home/issues/3117 - Convert NuGet.BuildTasks to .NET Core  (and create a NuGet package for CLI to consume them)\r\n- [x] https://github.com/NuGet/Home/issues/3136 - ResolveNuGetPackageAssets doesn't handle RIDs correctly\r\n- [ ] https://github.com/dotnet/roslyn-project-system/issues/296 - Need to split up ResolveNuGetPackageAssets in MSBuild\r\n- [ ] https://github.com/dotnet/roslyn/issues/9640 - Publish a portable tasks+targets nuget package for the compiler build task and use it in the toolset\r\n- [x] https://github.com/dotnet/roslyn/issues/12650 - Create a NuGet package containing CSharp.targets that can build on .NET Core \r\n- [x] https://github.com/Microsoft/msbuild/issues/774 - .nuget.props/.targets are not loaded on .net core\r\n- [ ] https://github.com/Microsoft/msbuild/issues/692 - create NuGet packages for MSBuild assets\r\n- [ ] https://github.com/Microsoft/msbuild/issues/720 - csc.exe needs a \"host\" for cross-plat MSBuild.  MSBuild should just use the host it is running under\r\n- [x] https://github.com/Microsoft/msbuild/issues/658 - custom Tasks loading dependencies (merged but not in package)\r\n- [ ] https://github.com/Microsoft/msbuild/issues/784 - generic loading .props and .targets files next to the .csproj file (non-NuGet specific)\r\n\r\n\r\nNon-blocking issues, but needed for shipping:\r\n- [ ] https://github.com/dotnet/roslyn/issues/12167 - Csc.exe without -nologo requires Microsoft.CodeAnalysis.dll in BaseDirectory\r\n- [ ] https://github.com/Microsoft/msbuild/issues/750 - Native image cannot be loaded multiple times\r\n- [ ] https://github.com/Microsoft/msbuild/issues/872 - msbuild.exe.config needs to be packaged "},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/239267042","html_url":"https://github.com/dotnet/cli/issues/3819#issuecomment-239267042","issue_url":"https://api.github.com/repos/dotnet/cli/issues/3819","id":239267042,"user":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T19:33:47Z","updated_at":"2016-08-11T19:33:47Z","body":"I'd caution against hosting the compiler in-process in MSBuild since it puts you on the hook for figuring out all the isolation. `csc` is hosted completely out-of-process in MSBuild, but there is an in-proc `Csc` MSBuild task that invokes `csc.exe`, providing the necessary parameters, reads the output of the compilation and generates the necessary MSBuild data (errors, items, properties etc.)\r\n\r\nI do know that by default, if you write to stderr and use the MSBuild `Exec` task, it should capture those messages as errors. Returning a non-zero exit code is interpreted as a failing task.\r\n\r\nAnyway, to the topic at hand, I don't know the plans for allowing the use of other MSBuild variants (Core/Desktop/Mono) in `dotnet build` but either way, architecting tasks around invoking exes would give you the most flexibility since you can launch any kind of exe you need :)."}}
{"actor":{"display_login":"anurse"}}