         if forceResolvedVersions {
             manifests = self._resolveToResolvedVersion(root: root, diagnostics: diagnostics)
         } else {
-            manifests = self._resolve(root: root, diagnostics: diagnostics)
+            manifests = self._resolve(root: root, forceResolution: false, diagnostics: diagnostics)
         }
         let externalManifests = manifests.allManifests()
 

                // we have the manifest files of all the dependencies.
                return self._resolve(
                    root: root,
                    extraConstraints: extraConstraints,
                    diagnostics: diagnostics,
                    retryOnPackagePathMismatch: false


            // If we don't need resolution and there are no extra constraints,
            // just validate pinsStore and return.
            if !result.resolve && extraConstraints.isEmpty && !forceResolution {
                return currentManifests
            }

