A large amount of our projects are now not building and have suddenly started making this error

keith.nicholas's Avatar

keith.nicholas

05 Dec, 2023 02:06 AM

System.TypeInitializationException : The type initializer for 'NUnit.Engine.Services.RuntimeFrameworkService' threw an exception.
  ----> System.ArgumentException : Unknown framework version 8.0
Parameter name: version
--TypeInitializationException

  1. Support Staff 1 Posted by Owen McDonnell on 05 Dec, 2023 03:35 AM

    Owen McDonnell's Avatar

    This is a known issue with nunit, for which there is a fix but it didn't make it into latest image update. We are working on incorporating that release into the images, but in the meantime you can create a script like this and call it in the install:​ stage of your build.

    Let us know if you have any questions.

  2. Support Staff 2 Posted by Owen McDonnell on 05 Dec, 2023 08:18 AM

    Owen McDonnell's Avatar

    Fixed images have been deployed. The above workaround should no longer be necessary.

  3. Feodor Fitsner closed this discussion on 04 Feb, 2024 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac