{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/24542","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/24542/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/24542/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/24542/events","html_url":"https://github.com/dotnet/roslyn/issues/24542","id":292946061,"number":24542,"title":"VS15.5: The \"SharedCompilationId\" parameter is not supported by the \"Csc\" task (ASP.NET Web Forms projects)","user":{"login":"vsfeedback","id":32854332,"avatar_url":"https://avatars3.githubusercontent.com/u/32854332?v=4","gravatar_id":"","url":"https://api.github.com/users/vsfeedback","html_url":"https://github.com/vsfeedback","followers_url":"https://api.github.com/users/vsfeedback/followers","following_url":"https://api.github.com/users/vsfeedback/following{/other_user}","gists_url":"https://api.github.com/users/vsfeedback/gists{/gist_id}","starred_url":"https://api.github.com/users/vsfeedback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsfeedback/subscriptions","organizations_url":"https://api.github.com/users/vsfeedback/orgs","repos_url":"https://api.github.com/users/vsfeedback/repos","events_url":"https://api.github.com/users/vsfeedback/events{/privacy}","received_events_url":"https://api.github.com/users/vsfeedback/received_events","type":"User","site_admin":false},"labels":[{"id":166673288,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/32","html_url":"https://github.com/dotnet/roslyn/milestone/32","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/32/labels","id":2817494,"number":32,"title":"15.7","description":null,"creator":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars1.githubusercontent.com/u/1408396?v=4","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"open_issues":240,"closed_issues":197,"state":"open","created_at":"2017-10-05T14:58:29Z","updated_at":"2018-03-08T07:36:18Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2018-01-30T21:36:21Z","updated_at":"2018-03-08T07:36:46Z","closed_at":null,"author_association":"NONE","body":"After updating to Visual Studio 15.5, the two ASP.NET Web Forms projects in our solution are failing to build with the following errors:\n\n29&gt;C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\15.0\\Bin\\Roslyn\\Microsoft.CSharp.Core.targets(137,10): error MSB4064: The &quot;SharedCompilationId&quot; parameter is not supported by the &quot;Csc&quot; task. Verify the parameter exists on the task, and it is a settable public instance property.\n29&gt;C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\15.0\\Bin\\Roslyn\\Microsoft.CSharp.Core.targets(84,5): error MSB4063: The &quot;Csc&quot; task could not be initialized with its input parameters.\nI can work around the issue by removing the line SharedCompilationId=&quot;$(SharedCompilationId)&quot; from the Csc element in Microsoft.CSharp.Core.targets.\n\nEvery project in our solution is using the latest version of Microsoft.Net.Compilers (2.4.0) and the web projects are using the latest version of Microsoft.CodeDom.Providers.DotNetCompilerPlatform (1.0.8). Our ASP.NET MVC and ASP.NET Web API projects are building without issue.\n\nA new Web Forms project with the same Nuget compiler packages installed doesn't exhibit the issue.\n\n_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/162531/vs155-the-sharedcompilationid-parameter-is-not-sup.html\nVSTS ticketId: 534553_\n_These are the original issue comments:_\n\nBobby Cannon on 12/6/2017, 06:19 PM (54 days ago): I'm having the same issue. My local roslyn is newer (2.6 beta) than what I'm referencing via nuget (2.4 latest stable).\nBobby Cannon on 12/6/2017, 06:21 PM (54 days ago): My web projects references rosyln 2.4 latest stable, however I think VS 15.5 installed 2.6 (beta3) and now I get an error of \"The SharedCompilationId parameter is not supported by the csc task\"\nDavid Warner on 12/6/2017, 07:28 PM (54 days ago): <p>Good tip regarding Microsoft.Net.Compilers 2.6.0-beta3 - updating to that package also resolves the issue. I'd rather not be forced to update to a pre-release version of the compiler just to make our solution work in a stable release of Visual Studio, however.</p>\n\nDavid Warner on 12/6/2017, 07:06 PM (54 days ago): <p><a rel=\"user\" href=\"https://developercommunity.visualstudio.com/users/47332/9647a972-b213-4e59-8fda-fd16bfe3aba8.html\" nodeid=\"47332\">@Bobby Cannon</a> Are you also seeing this only for Web Forms projects? What's strange is that the same Microsoft.CSharp.Core.targets reference is included in our other CSPROJ files and they're fine.</p>\n\nCandy Zhang [MSFT] on 12/6/2017, 10:13 PM (54 days ago): <p>We appreciate you taking the time to report this problem. We are currently prioritizing problems that are impacting a broad set of our customers, so we may not be able to investigate this one immediately. We know this problem is important to you, so we will continue to monitor it.</p>\n\nDavid Warner on 12/7/2017, 03:34 PM (53 days ago): <p>Is there any indication of when a stable version of Microsoft.Net.Compilers 2.6.0 will be released?</p>\n\nDavid Warner on 12/10/2017, 07:01 PM (50 days ago): <p>It looks like 2.6.0 was published soon after I wrote my last comment. We'll target this version to work around the VS15.5 issue.</p>\n\n_These are the original issue solutions:_\n(no solutions)"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/371405134","html_url":"https://github.com/dotnet/roslyn/issues/24542#issuecomment-371405134","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/24542","id":371405134,"user":{"login":"agocke","id":515774,"avatar_url":"https://avatars2.githubusercontent.com/u/515774?v=4","gravatar_id":"","url":"https://api.github.com/users/agocke","html_url":"https://github.com/agocke","followers_url":"https://api.github.com/users/agocke/followers","following_url":"https://api.github.com/users/agocke/following{/other_user}","gists_url":"https://api.github.com/users/agocke/gists{/gist_id}","starred_url":"https://api.github.com/users/agocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agocke/subscriptions","organizations_url":"https://api.github.com/users/agocke/orgs","repos_url":"https://api.github.com/users/agocke/repos","events_url":"https://api.github.com/users/agocke/events{/privacy}","received_events_url":"https://api.github.com/users/agocke/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T07:36:46Z","updated_at":"2018-03-08T07:36:46Z","author_association":"CONTRIBUTOR","body":"@Quppa I'm worried that either that will break when you update something else, or that NuGet restore will just bring down old files (or, if you're pulling from VS, a new VS update will just overwrite the old files). I may be misremembering how it works, but could you just also delete the Microsoft.CodeDom.Providers.DotNetCompilerPlatform? Wouldn't that just cause the Web Forms project to pull in the machine compiler, thus resolving the versioning difference problem?"}}
{"actor":{"display_login":"agocke"}}