Could not find part of the path to Shared Content: microsoft/windows-universal-samples

Allanjb 246 Reputation points
2020-08-14T02:37:13.447+00:00

Installed Microsoft Windows Universal Samples and tried to build one of the projects using C#
I downloaded all the projects and unzipped them all to a folder on my drive.
The build fails trying to include components from the shared folder.
From the project build file, The macro that defines the location of the shared folder is $(SharedContentDir)
The Samples documentation mentions that the shared folder is linked to the project, but doesn't mention how.

How can I edit the $(SharedContentDir) macro, (assuming it's a macro) to point to the shared folder on my drive?

I could change the link through VS2019 for each individual file but that would be quite horrendous.

Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Allanjb 246 Reputation points
    2020-08-18T14:44:30.03+00:00

    Thanks for your help.

    0 comments No comments