diff --git a/Source/Tools/Flax.Build/Build/Builder.Projects.cs b/Source/Tools/Flax.Build/Build/Builder.Projects.cs index 4de283915..21aa25788 100644 --- a/Source/Tools/Flax.Build/Build/Builder.Projects.cs +++ b/Source/Tools/Flax.Build/Build/Builder.Projects.cs @@ -184,7 +184,7 @@ namespace Flax.Build /// public static void GenerateProject(ProjectFormat projectFormat) { - using (new ProfileEventScope("GenerateProject" + projectFormat.ToString())) + using (new ProfileEventScope("GenerateProject" + projectFormat)) { // Setup var rules = GenerateRulesAssembly(); diff --git a/Source/Tools/Flax.Build/Build/Module.cs b/Source/Tools/Flax.Build/Build/Module.cs index abe7ce9e4..ee67c0db0 100644 --- a/Source/Tools/Flax.Build/Build/Module.cs +++ b/Source/Tools/Flax.Build/Build/Module.cs @@ -30,7 +30,7 @@ namespace Flax.Build /// /// The name for the output binary module. Can be used to merge multiple native modules into single library. If set to null or the module won't be using scripting API features. /// - public string BinaryModuleName = null; + public string BinaryModuleName; /// /// True if module has native code to build. Can be used for C#-only modules.