OS Platform
A variety of Invantive products is available on Windows, Linux and Mac OSX. The list of supported platforms varies per product, depending on the availability of the libraries such as Microsoft .NET. The OS platform is automatically determined by Invantive software, but sometimes can raise bugs.
The following runtime setting controls the OS platform and is available on all platforms and products, from release 27.1 on .NET 10: Invantive.Basics.OsPlatform.ForcedPlatform, which overrules the automatic detection of the OS platform by assigning a value. It is a property of the section Invantive of the configProperties of runtimeconfig.json, for example { "Invantive": { "Basics": { "OsPlatform": { "ForcedPlatform": "linux" } } } }, and is read when the product starts. It replaces the environment variable INVANTIVE_FORCED_OS, which no longer works.
The following values are supported:
windows: Microsoft Windows,linux: Linux,osx: Mac OSX (before release 26.0).macosMacOS (from release 26.0).