[Mono-dev] embedded mono and .NET 4.0 assemblies [peculiar error]

Robert Jordan robertj at gmx.net
Fri Nov 4 15:40:40 EDT 2011


On 04.11.2011 20:22, Jonathan Shore wrote:
> I'm working off of http://www.mono-project.com/Embedding_Mono with
> regard to initialization.   I tried a number of possible version #s
> for the mono_jit_init_version(), but indicated:
>
> WARNING: The runtime version supported by this application is
> unavailable. Using default runtime: v2.0.50727
>
> what is the version # one should use to correspond to .NET 4?   The
> version #s like v2.0.50727 are peculiar (but I think a MS thing).

The version number for mono_jit_init_version() can be one
of the the strings that start with "v":

https://github.com/mono/mono/blob/master/mono/metadata/domain.c#L121

Robert



More information about the Mono-devel-list mailing list