In my code I am recieving warnings about these two lines:
[assembly:SecurityPermissionAttribute(SecurityAction.RequestMinimum, UnmanagedCode=true)]
[assembly:PermissionSetAttribute(SecurityAction.RequestMinimum, Name = "FullTrust")]
These are the warnings:
S:\Nimrod\src\WinUI\Components\Syncfusion.Grid\AssemblyInfo.cs(38,39): warning CS0618: 'System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete: 'Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.'
S:\Nimrod\src\WinUI\Components\Syncfusion.Grid\AssemblyInfo.cs(39,34): warning CS0618: 'System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete: 'Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.'
I checked out the link mentioned in the warning messages but it isn't quite clear on how to deal with migrating past the obsolete methods. This other question here suggests that I should just delete them, but I'm skeptical of that solution, I believe I should have to replace them with something not just outright delete them.
How should I proceed?