Skip to content

Improve C++/WinRT compat with Xaml projects#140

Merged
kennykerr merged 2 commits into
masterfrom
kennykerr2
Jan 23, 2019
Merged

Improve C++/WinRT compat with Xaml projects#140
kennykerr merged 2 commits into
masterfrom
kennykerr2

Conversation

@kennykerr

Copy link
Copy Markdown
Contributor

It turns out that Xaml projects are a source of questionable metadata and cppwinrt needs to be a little more resilient for compatibility. Previously, cppwinrt allowed for activatable runtime classes that didn't declare a default interface. This was never supposed to happen but MIDLRT mistakenly allowed it, so we need to maintain this accommodation for now. Also, some build configurations for Xaml projects will mistakenly end up feeding xppwinrt winmds with overlapping types. The cppwinrt compiler has to ignore dupes on the assumption that the types are identical.

@kennykerr kennykerr merged commit d6036c0 into master Jan 23, 2019
@kennykerr kennykerr deleted the kennykerr2 branch January 23, 2019 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants