Following steps is not needed for Oqtane v3.1.0 or newer.

It is required for older Oqtane from v3.0.0 till v3.0.3.

  1. Download net6.0-refs.zip from the https://github.com/2sic/oqtane-razor-refs/releases/
  2. If Oqtane is installed from standard Oqtane.Framework.3.0.0.Install.zip release zip and hosted on IIS, unzip net6.0-refs.zip to your Oqtane.Server folder (root folder in IIS web site)
  3. When done - restart Oqtane and you're all set.