const Json::Value runtimeTargetName = root["runtimeTarget"]["name"];
const Json::Value nugetPackages = root["targets"][runtimeTargetName.asString().c_str()];
+ const Json::Value libraries = root["libraries"];
for (const auto& nuget : nugetPackages.getMemberNames()) {
+ const Json::Value type = libraries[nuget.c_str()]["type"];
+ //Skip project and reference type, allow only package(nuget) type.
+ if (type == Json::nullValue || strcmp(type.asString().c_str(), "package")) {
+ continue;
+ }
+
//Skip the nuget package related to Tizen
if (strstr(nuget.c_str(), TIZEN_DOTNET_NUGET) != NULL ||
strstr(nuget.c_str(), TIZEN_DOTNET_SDK_NUGET) != NULL) {