Skip to content

SharedCompilationId is not supported by Csc Task  #33

@jaredpar

Description

@jaredpar

This is ported from dotnet/roslyn#24542

When upgrading to Dev15.6 web projects using the DotNetCompilerPlatform package will get the following error when building:

error MSB4064: The "SharedCompilationId" parameter is not supported by the "Csc" task. Verify the parameter exists on the task, and it is a settable public instance property.
29>C:\Program Files (x86)\Microsoft Visual

This appears to be due to the new parameter, SharedCompilationId, being added to the C# targets but not being present in the Csc Task that is loaded by the DotNetCompilerPlatform. Hence when upgrading this results in the above MSBuild error.

Here is a minimal repro: https://gist.github.com/Quppa/dae4eacf58d9b23009bcc447b4d9cb93

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions