{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/31393","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/31393/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/31393/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/31393/events","html_url":"https://github.com/dotnet/corefx/issues/31393","id":344955510,"node_id":"MDU6SXNzdWUzNDQ5NTU1MTA=","number":31393,"title":"[1.1] Build error: Could not load file or assembly 'Microsoft.CodeAnalysis.CSharp'","user":{"login":"crummel","id":8184470,"node_id":"MDQ6VXNlcjgxODQ0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8184470?v=4","gravatar_id":"","url":"https://api.github.com/users/crummel","html_url":"https://github.com/crummel","followers_url":"https://api.github.com/users/crummel/followers","following_url":"https://api.github.com/users/crummel/following{/other_user}","gists_url":"https://api.github.com/users/crummel/gists{/gist_id}","starred_url":"https://api.github.com/users/crummel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crummel/subscriptions","organizations_url":"https://api.github.com/users/crummel/orgs","repos_url":"https://api.github.com/users/crummel/repos","events_url":"https://api.github.com/users/crummel/events{/privacy}","received_events_url":"https://api.github.com/users/crummel/received_events","type":"User","site_admin":false},"labels":[{"id":174888041,"node_id":"MDU6TGFiZWwxNzQ4ODgwNDE=","url":"https://api.github.com/repos/dotnet/corefx/labels/area-Infrastructure","name":"area-Infrastructure","color":"d4c5f9","default":false},{"id":308286775,"node_id":"MDU6TGFiZWwzMDgyODY3NzU=","url":"https://api.github.com/repos/dotnet/corefx/labels/blocking-release","name":"blocking-release","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/11","html_url":"https://github.com/dotnet/corefx/milestone/11","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/11/labels","id":2172408,"node_id":"MDk6TWlsZXN0b25lMjE3MjQwOA==","number":11,"title":"1.1.x","description":".NET Core 1.1 Servicing Updates - https://github.com/dotnet/core/tree/master/release-notes","creator":{"login":"karelz","id":5776068,"node_id":"MDQ6VXNlcjU3NzYwNjg=","avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":394,"state":"open","created_at":"2016-12-02T23:48:10Z","updated_at":"2018-07-26T19:02:46Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-07-26T18:26:47Z","updated_at":"2018-07-26T19:31:47Z","closed_at":null,"author_association":"MEMBER","body":"On https://github.com/dotnet/corefx/pull/31231, we're seeing a build error:\r\n```\r\n     1>Project \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/build.proj\" (1) is building \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/dirs.proj\" (2) on node 1 (Build target(s)).\r\n     2>Project \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/dirs.proj\" (2) is building \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/ref.builds\" (3) on node 1 (Build target(s)).\r\n     3>Project \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/ref.builds\" (3) is building \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/Microsoft.CSharp/ref/Microsoft.CSharp.csproj\" (4) on node 1 (Build target(s)).\r\n     4>PrepareForBuild:\r\n         Creating directory \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/bin/ref/Microsoft.CSharp/4.0.0.0/\".\r\n         Creating directory \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/bin/obj/ref/Microsoft.CSharp/4.0.0.0/\".\r\n       GetLatestCommitHash:\r\n         git rev-parse HEAD\r\n       CoreCompile:\r\n         /mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/dotnetcli/dotnet /mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /warn:4 /define:DEBUG;TRACE;DEBUGRESOURCES;SIGNED /reference:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/packages/System.Dynamic.Runtime/4.0.0/ref/dotnet/System.Dynamic.Runtime.dll /reference:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/packages/System.Linq.Expressions/4.0.0/ref/dotnet/System.Linq.Expressions.dll /reference:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/packages/System.Runtime/4.0.0/ref/dotnet/System.Runtime.dll /debug+ /debug:Portable /delaysign+ /keyfile:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/MSFT.snk /optimize- /out:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/bin/obj/ref/Microsoft.CSharp/4.0.0.0/Microsoft.CSharp.dll /ruleset:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/Microsoft.DotNet.CodeAnalysis.ruleset /target:library /warnaserror+ /utf8output /analyzer:/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/analyzers/Microsoft.DotNet.CodeAnalysis.dll Microsoft.CSharp.cs /mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/bin/obj/ref/Microsoft.CSharp/4.0.0.0/_AssemblyInfo.cs @/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/checksum.rsp\r\n         Using shared compilation with compiler from directory: /mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/dotnetcli\r\n         Shared compilation failed; falling back to tool: /mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/dotnetcli/dotnet\r\n         \r\n         Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis.CSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n     4>/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/Microsoft.CSharp.Core.targets(67,5): error MSB6006: \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/Tools/dotnetcli/dotnet\" exited with code 134. [/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/Microsoft.CSharp/ref/Microsoft.CSharp.csproj]\r\n     4>Done Building Project \"/mnt/resource/j/workspace/dotnet_corefx/release_1.1.0/centos7.1_debug_prtest/src/Microsoft.CSharp/ref/Microsoft.CSharp.csproj\" (Build target(s)) -- FAILED.\r\n```\r\n\r\nI've bisected the issue and commit https://github.com/dotnet/corefx/commit/65a3c93e98d2722203c0320c6c7761f699e4eaae appears to introduce the problem.  I've reverted this commit locally on top of the PR and it builds correctly, although a couple tests are still failing.\r\n\r\n@ianhays is OOF until September and I'm not familiar with why this change was made so I wanted to get some eyes with CoreFX experience on it before submitting a PR with a blind reversion."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/408209928","html_url":"https://github.com/dotnet/corefx/issues/31393#issuecomment-408209928","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/31393","id":408209928,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODIwOTkyOA==","user":{"login":"wtgodbe","id":14283640,"node_id":"MDQ6VXNlcjE0MjgzNjQw","avatar_url":"https://avatars3.githubusercontent.com/u/14283640?v=4","gravatar_id":"","url":"https://api.github.com/users/wtgodbe","html_url":"https://github.com/wtgodbe","followers_url":"https://api.github.com/users/wtgodbe/followers","following_url":"https://api.github.com/users/wtgodbe/following{/other_user}","gists_url":"https://api.github.com/users/wtgodbe/gists{/gist_id}","starred_url":"https://api.github.com/users/wtgodbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtgodbe/subscriptions","organizations_url":"https://api.github.com/users/wtgodbe/orgs","repos_url":"https://api.github.com/users/wtgodbe/repos","events_url":"https://api.github.com/users/wtgodbe/events{/privacy}","received_events_url":"https://api.github.com/users/wtgodbe/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T19:31:47Z","updated_at":"2018-07-26T19:31:47Z","author_association":"MEMBER","body":"I'll test out @eerhardt's suggestion locally"}}
{"actor":{"display_login":"wtgodbe"}}