Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable WinMDExp task on .NET Core MSBuild #5078

Closed
wants to merge 5 commits into from

Conversation

wjk
Copy link

@wjk wjk commented Jan 27, 2020

This task will fail at runtime unless the .NET Framework SDK is installed, since winmdexp.exe is only present in that SDK. However, nothing about the task itself is incompatible with .NET Core. Furthermore, the error message that occurs if this happens is already very explanatory as to what needs to be done, so no changes are required there.

See also microsoft/microsoft-ui-xaml#1891.
Contributes to dotnet/sdk#3042.

This task will fail at runtime unless the .NET Framework
SDK is installed, since winmdexp.exe is only present in
that SDK. However, nothing about the task itself is
incompatible with .NET Core.

See also microsoft/microsoft-ui-xaml#1891.
Contributes to dotnet/sdk#3042.
Copy link
Contributor

@cdmihai cdmihai left a comment

Choose a reason for hiding this comment

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

Also bring back SdkToolsPathUtility_Tests.cs and WinMDExp_Tests.cs from src\Tasks.UnitTests\Microsoft.Build.Tasks.UnitTests.csproj

wjk added 3 commits March 2, 2020 21:01
This is what I get for not testing my changes before I push.
@wjk
Copy link
Author

wjk commented Jun 10, 2020

I'm going to close this PR following the announcement that direct referencing of winmd files is deprecated and will be removed from the runtime in .NET 5 RTM.

@wjk wjk closed this Jun 10, 2020
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