Skip to content

Add SkipNonexistentTargets param to MSBuild task that calls the GetMrtPackagingOutputs target for referenced projects.#260

Merged
rohanp-msft merged 2 commits intomasterfrom
user/rohanp/add_SkipNonexistentTargets_param_3
Oct 27, 2020
Merged

Add SkipNonexistentTargets param to MSBuild task that calls the GetMrtPackagingOutputs target for referenced projects.#260
rohanp-msft merged 2 commits intomasterfrom
user/rohanp/add_SkipNonexistentTargets_param_3

Conversation

@rohanp-msft
Copy link
Copy Markdown
Contributor

Change Description
Add SkipNonexistentTargets param to MSBuild task that calls the GetMrtPackagingOutputs target for referenced projects.

Issue
The targets file recursively calls the GetMrtPackagingOutputs target on referenced projects (this is done to grab all resources, PRI files, etc., from said projects to incorporate into the PRI file that's being generated in the referencing project). The problem is that the GetMrtPackagingOutputs target doesn't exist in projects that don't use MRTCore.

Solution
To address the issue, simply add SkipNonexistentTargets="true" to the MSBuild task invocation!

How verified
App attached to bug now builds successfully.

…tPackagingOutputs target for referenced projects.
@rohanp-msft rohanp-msft merged commit 8d8baa5 into master Oct 27, 2020
@rohanp-msft rohanp-msft deleted the user/rohanp/add_SkipNonexistentTargets_param_3 branch October 27, 2020 20:23
@EHO-makai EHO-makai mentioned this pull request Oct 27, 2020
EHO-makai added a commit that referenced this pull request Oct 27, 2020
* Add PlatformTarget (#261)

* Add SkipNonexistentTargets param to MSBuild task that calls the GetMrtPackagingOutputs target for referenced projects. (#260)

Co-authored-by: Hui Chen <huichen@microsoft.com>
Co-authored-by: Rohan Palaniappan <35987549+rohanp-msft@users.noreply.github.com>
axelandrejs added a commit that referenced this pull request Nov 20, 2020
* Add PlatformTarget (#261)

* Add SkipNonexistentTargets param to MSBuild task that calls the GetMrtPackagingOutputs target for referenced projects. (#260)

* Trial

* Build break

* C# working

* C++ sample

* Remove signing

* Update to winui preview

* Code review feedback

* build pipeline

* missed a spot

* dotnet version

* show installed sdk version

* Window size and lib location

* remove nickname

* no install vs

Co-authored-by: Hui Chen <huichen@microsoft.com>
Co-authored-by: Rohan Palaniappan <35987549+rohanp-msft@users.noreply.github.com>
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.

4 participants