Skip to content

Remove unnecessary parameter#35343

Merged
tmeschter merged 1 commit intodotnet:masterfrom
tmeschter:RemoveUnnecessaryTaskParameter-190429
Apr 30, 2019
Merged

Remove unnecessary parameter#35343
tmeschter merged 1 commit intodotnet:masterfrom
tmeschter:RemoveUnnecessaryTaskParameter-190429

Conversation

@tmeschter
Copy link
Contributor

The CoreCompile targets for C# and VB were both passing the set of PotentialEditorConfigFiles to the PotentialAnalyzerConfigFiles input parameter of CscTask/VbcTask. However, this parameter no longer exists. At one point in the development of the editorconfig-in-compiler feature we had a separate MSBuild task that would compute both the actual and potential .editorconfig file paths and pass them to the task. These are now computed as part of the MSBuild evaluation pass, and the potential .editorconfig files are passed to the project systems via a separate target (GetPotentialEditorConfigFiles in Microsoft.Common.CurrentVersion.targets).

The `CoreCompile` targets for C# and VB were both passing the set of `PotentialEditorConfigFiles` to the `PotentialAnalyzerConfigFiles` input parameter of `CscTask`/`VbcTask`. However, this parameter no longer exists. At one point in the development of the editorconfig-in-compiler feature we had a separate MSBuild task that would compute both the actual and potential .editorconfig file paths and pass them to the task. These are now computed as part of the MSBuild evaluation pass, and the potential .editorconfig files are passed to the project systems via a separate target (`GetPotentialEditorConfigFiles` in Microsoft.Common.CurrentVersion.targets).
@tmeschter tmeschter requested a review from a team as a code owner April 29, 2019 17:50
@tmeschter tmeschter requested a review from agocke April 29, 2019 17:50
@tmeschter tmeschter merged commit b23b1d0 into dotnet:master Apr 30, 2019
@tmeschter tmeschter deleted the RemoveUnnecessaryTaskParameter-190429 branch April 30, 2019 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants