Skip to content

Add missing dependency of target _BeforeVBCSCoreCompile#26970

Merged
tmat merged 1 commit intodotnet:dev15.7.xfrom
tmat:RefAssemblies
May 22, 2018
Merged

Add missing dependency of target _BeforeVBCSCoreCompile#26970
tmat merged 1 commit intodotnet:dev15.7.xfrom
tmat:RefAssemblies

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented May 18, 2018

Customer scenario

Build of XAML project targeting .NET 3.5 may fail.

Bugs this fixes

VSO 616987

Workarounds, if any

Customer can set EmbedInteropTypes to false on references.

Risk

Small.

Performance impact

None.

Is this a regression from a previous update?

Yes.

Root cause analysis

The project generated for XAML build invokes CoreCompile directly without executing Compile target. Due to a missing dependency the target ShimReferencePathsWhenCommonTargetsDoesNotUnderstandReferenceAssemblies may get executed after _BeforeVBCSCoreCompile, which depends on the results of the former.

How was the bug found?

Customer reported.

Test documentation updated?

@tmat tmat requested a review from a team as a code owner May 18, 2018 17:52
@tmat
Copy link
Copy Markdown
Member Author

tmat commented May 18, 2018

@nguerrera @jaredpar @dotnet/roslyn-compiler PTAL

@tmat tmat force-pushed the RefAssemblies branch from 1073768 to 6ab0b35 Compare May 18, 2018 17:54
@tmat
Copy link
Copy Markdown
Member Author

tmat commented May 18, 2018

test windows_release_vs-integration_prtest please

@tmat
Copy link
Copy Markdown
Member Author

tmat commented May 22, 2018

Seems like this was approved by shiproom.

@tmat tmat merged commit 66ef8e4 into dotnet:dev15.7.x May 22, 2018
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.

5 participants