'Control flow guard C#

I've read an article about Control Flow Guard (https://docs.microsoft.com/en-us/windows/desktop/secbp/control-flow-guard). I'm tried to enable it in my C# application, but the way how it was done in article not working in my Visual Studio 2017. Can somebody tell me how to enable it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source