MSBuildSdkExtras
MSBuildSdkExtras copied to clipboard
Can't add reference project in UWP targeting app
Hi,
When using a cross-targeted project with MSBuild.Sdk.Extras
and a UWP target, the “Add Reference” UI on that project in VS fails with "Missing value for TargetPlatformWinMDLocation property".
Cross posted from here (by @jeromelaban).
The problem with that property is the way it is defined in UWP's own targets, making it difficult to provide the proper value. A fix from the IDE would most likely be required.
The thing is that when they close an issue on Dev Community it gets locked down to vote and comments or any further feedback.
I opened this issue, asking for full support of UWP projects in SDK-style. Please vote.
Noting there is a workaround which is to not list uap first in the list of TargetFrameworks. I found this tip here: https://developercommunity.visualstudio.com/content/problem/1170010/missing-value-for-targetplatformwinmdlocation-prop.html