Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/tasks/GenerateFileVersionProps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public override bool Execute()

var props = ProjectRootElement.Create();
var itemGroup = props.AddItemGroup();
// only set the platform manifest when our RID-specific packages aren't in scope
itemGroup.Condition = "'$(RuntimeIdentifier)' == ''";
// set the platform manifest when the platform is not being published as part of the app
itemGroup.Condition = "'$(RuntimeIdentifier)' == '' or '$(SelfContained)' != 'true'";

var manifestFileName = Path.GetFileName(PlatformManifestFile);
itemGroup.AddItem(PlatformManifestsItem, $"$(MSBuildThisFileDirectory){manifestFileName}");
Expand Down