virtualx-engine/modules/mono/glue/GodotSharp
Ignacio Roldán Etcheverry 2303c26783 C#: Load assemblies as collectible only in the Godot editor
We use collectible AssemblyLoadContexts as that's the only way to allow
reloading assemblies after building. However, collectible assemblies
have some restrictions:

- https://learn.microsoft.com/en-us/dotnet/framework/reflection-and-codedom/collectible-assemblies#restrictions-on-collectible-assemblies

Those restrictions can cause issues with third-party code, such as some
mocking libraries.

In order to work around this problem, we're going to load assemblies
as collectible only in Godot editor, and not when running games.
These issues will still exist in the editor, but this will be enough
for some users.
2022-10-17 00:22:48 +02:00
..
ExternalAnnotations C#: Re-implement assembly reloading with ALCs 2022-08-22 03:36:51 +02:00
Godot.SourceGenerators.Internal C#: Replace P/Invoke with delegate pointers 2022-08-22 03:36:52 +02:00
GodotPlugins C#: Load assemblies as collectible only in the Godot editor 2022-10-17 00:22:48 +02:00
GodotSharp Add a Plane(Vector3, Vector3) constructor for C# 2022-10-16 14:10:58 +03:00
GodotSharpEditor C#: Generate symbols packages 2022-10-08 13:59:06 +02:00
.editorconfig C#: Code cleanup and greatly reduce use of C# pointers 2022-08-22 03:36:51 +02:00
.gitignore Mono/C#: Re-structure API solution and GodotTools post-build target 2019-12-28 20:48:55 +01:00
GodotSharp.sln C#: Replace P/Invoke with delegate pointers 2022-08-22 03:36:52 +02:00
GodotSharp.sln.DotSettings C#: Re-implement assembly reloading with ALCs 2022-08-22 03:36:51 +02:00