Can't add reference project in UWP targeting app · Issue #244 · novotnyllc/MSBuildSdkExtras · GitHub
Skip to content

Can't add reference project in UWP targeting app #244

Open

Description

@weitzhandler

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).

Activity

  1. jeromelaban commented on Oct 1, 2020

    @jeromelaban
    Contributor

    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.

  2. weitzhandler commented on Oct 1, 2020

    @weitzhandler
    ContributorAuthor

    The thing is that when they close an issue on Dev Community it gets locked down to vote and comments or any further feedback.

  3. weitzhandler commented on Oct 7, 2020

    @weitzhandler
    ContributorAuthor

    I opened this issue, asking for full support of UWP projects in SDK-style. Please vote.

  4. sjb-sjb commented on Jan 18, 2021

    @sjb-sjb

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions