✅ how do i pass /unsafe to dotnet build?
hello everyone! i made a program to convert a float's bits into an int's bits (for fun!) and when i try to build it with
dotnet build
, it tells me to add /unsafe
. no big deal. but when i use dotnet build /unsafe
, it tells me that /unsafe
isnt valid!
the code im building: (Program.cs)
4 Replies
C# Compiler Options - language feature rules
C# Compiler Options for language feature rules. These options control how the compiler interprets certain language constructs.
thanks!
Yw
now it builds! :D