Skip to content

Instantly share code, notes, and snippets.

@kant2002
Created November 20, 2021 03:44
Show Gist options
  • Save kant2002/20b76605fe592b08f19c26a6739f332b to your computer and use it in GitHub Desktop.
Save kant2002/20b76605fe592b08f19c26a6739f332b to your computer and use it in GitHub Desktop.
RTSP and NativeAOT
<?xml version="1.0" encoding="utf-8" ?>
<Directives>
<Application>
<Assembly Name="Microsoft.AspNetCore.Mvc.Razor">
<Type Name="Microsoft.AspNetCore.Mvc.ApplicationParts.ConsolidatedAssemblyApplicationPartFactory" Dynamic="Required All" />
</Assembly>
<Assembly Name="Microsoft.AspNetCore.Mvc.Core" Dynamic="Required All">
<Type Name="Microsoft.Extensions.Internal.PropertyHelper">
<Method Name="CallNullSafePropertyGetter" Dynamic="Required">
<GenericArgument Name="VideoMonitoring.Pages.ErrorModel, VideoMonitoring" />
<GenericArgument Name="System.Boolean, System.Private.CoreLib" />
</Method>
<Method Name="CallPropertySetter" Dynamic="Required">
<GenericArgument Name="Microsoft.AspNetCore.Mvc.Razor.RazorPageBase, Microsoft.AspNetCore.Mvc.Razor" />
<GenericArgument Name="System.Boolean, System.Private.CoreLib" />
</Method>
</Type>
</Assembly>
</Application>
</Directives>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment