.NET Core 3 project and samples
.NET Core 3 project made possible with the following changes:
- [Added] gstreamer-sharp-netcore3.csproj C# project file
- [Added] sources/custom/netcore3/* with a few files specific to .NET Core:
- NativeLibMapping.cs - DllImport resolver that leverages new NativeLibrary.SetDllImportResolver and
.dll.config
mapping xml. - MapInfoExt.cs - an extension to avoid extra memory copy when working with IntPtr destinations
- PadTemplate.cs - modified version of the original generated PadTemplate.cs. The difference is very small, but it's better to avoid making changes in generated files.
- NativeLibMapping.cs - DllImport resolver that leverages new NativeLibrary.SetDllImportResolver and
- [Changed] A change in sources/custom/Application.cs (in static constructor) - to make NativeLibMapping work.
- [Added] A couple of .NET Core 3 samples including a simple video player built with Avalonia UI.