Home » FAQ » WinForms » Tips » How do I compile unsafe code in VS.NET
Click ‘Project | Properties’ from the menus. Select ‘Configuration Properties’ folder and the ‘Build’ item under that. Switch ‘Allow unsafe code blocks’ from ‘False’ to ‘True’.
(from Ryan LaNeve on microsoft.public.dotnet.framework.windowsforms)
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with