Activate v2 - HiddenServiceVersion 2

Hi,
for a university project I have to activate the hidden service version 2 for an onion URLs. Because I can (probably only like that) call v2 URLs.

I use the desktop version for both Linux and Windows. According to various sources on the Internet, I have to add e.g. “HiddenServiceVersion 2” to the “torrc” file - however, the Tor browser can then no longer connect when it starts.

Is there an approach for the desktop version as to how I can activate HiddenServiceVersion 2?

Thank you very much and look forward to your feedback.