ことにはならない・というわけではない: the difference
ことにはならないN2
Meaning
Just because… doesn't mean…
Past papers
Example
錆びているからといって、ガラクタだということにはならない。
Just because it is rusty doesn't mean it is junk.
Meaning
It is not that, It doesn't mean that, It is not always the case
Past papers
Example
苦情という訳ではなく、提案です。
It isn't a complaint; it's a suggestion.
How to tell them apart
「ことにはならない」: the conclusion doesn't follow from the facts or logic.
「というわけではない」: a soft partial denial of an impression or assumption: 「嫌いというわけではない」 (It's not that I dislike it).