⚠️ We have a new website! Visit now for the most update to date documentation. This wiki is no longer being maintained.
Enables Microsoft's Common Language Runtime for a project or configuration.
clr "value"
See /clr (Common Language Runtime Compilation) in the Visual Studio documentation for more information.
value is one of the following:
value
CLR settings that do not make sense for the current configuration, such setting CLR support for a C# project to "Off", will be ignored.
Project configurations.
Premake 5.0.
Set up a managed C++ project.
project "MyProject" kind "ConsoleApp" language "C++" clr "On"
Enable unsafe code in a C# project.
project "MyProject" kind "ConsoleApp" language "C#" clr "Unsafe"
There was an error while loading. Please reload this page.