diff --git a/tools/projmgr/src/ProjMgrWorker.cpp b/tools/projmgr/src/ProjMgrWorker.cpp index a47851204..5030a84ef 100644 --- a/tools/projmgr/src/ProjMgrWorker.cpp +++ b/tools/projmgr/src/ProjMgrWorker.cpp @@ -1316,10 +1316,7 @@ RteComponent* ProjMgrWorker::ProcessComponent(ContextItem& context, ComponentIte ci.AddAttribute("condition", item.condition); auto ti = ci.EnsureTargetInfo(context.rteActiveTarget->GetName()); ti->SetVersionMatchMode(VersionCmp::MatchMode::ENFORCED_VERSION); - string packId = item.fromPack; - RteUtils::ReplaceAll(packId,"::", "."); - RteUtils::ReplaceAll(packId, "@", "."); - RtePackageInstanceInfo packInfo(nullptr, packId); + RtePackageInstanceInfo packInfo(nullptr, item.fromPack); ci.SetPackageAttributes(packInfo); list components; RteComponent* enforced = context.rteActiveTarget->GetFilteredModel()->FindComponents(ci, components);