Skip to content

Fix path to Microsoft.Build.Tasks.CodeAnalysis.dll in Microsoft.Managed.Core.targets#26298

Merged
tmat merged 1 commit intodotnet:dev15.7.xfrom
tmat:BuildTaskDirFix
Apr 24, 2018
Merged

Fix path to Microsoft.Build.Tasks.CodeAnalysis.dll in Microsoft.Managed.Core.targets#26298
tmat merged 1 commit intodotnet:dev15.7.xfrom
tmat:BuildTaskDirFix

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Apr 20, 2018

Customer scenario

Use Microsoft.NetCore.Compilers package in a project that is built by a .NET CLI that has different version of the C# compiler than the one in the package.

Bugs this fixes

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/604343

Workarounds, if any

None

Risk

Low

Performance impact

None

Is this a regression from a previous update?

Root cause analysis

Test was testing incorrect behavior.

How was the bug found?

Dogfooding

Test documentation updated?

@tmat tmat requested a review from a team as a code owner April 20, 2018 23:14
@tmat
Copy link
Copy Markdown
Member Author

tmat commented Apr 20, 2018

@dotnet/roslyn-compiler Please review.
/cc @jaredpar @agocke @nguerrera

@tmat tmat added this to the 15.7 milestone Apr 20, 2018
<!--
Common targets for managed compilers.
-->
<UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots" AssemblyFile="$(RoslynTargetsPath)\Microsoft.Build.Tasks.CodeAnalysis.dll" Condition="'$(MSBuildAssemblyVersion)' != ''" />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the stuff about MSBuildAssemblyVersion?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I copied it. I think it's only for backward compat so not necessary for new tasks.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it can be safely dropped. I don't think we even need it on our side any more.

@jinujoseph
Copy link
Copy Markdown
Contributor

approved to merge via link

@tmat tmat merged commit 6211e10 into dotnet:dev15.7.x Apr 24, 2018
@tmat tmat deleted the BuildTaskDirFix branch April 24, 2018 00:06
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.

6 participants