4.18 build a Plugin.
This Plugin on 4.17 is normal.
errors:
Running J:/UnrealEngine-4.18.0-release/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="J:/kbengine_ue4_demo-1.0/kbengine_ue4_demo.uproject" -game -engine -progress
Discovering modules, targets and source code for project...
While compiling J:\kbengine_ue4_demo-1.0\Intermediate\Build\BuildRules\kbengine_ue4_demoModuleRules.dll:
ERROR: j:\kbengine_ue4_demo-1.0\Source\kbengine_ue4_demo.Target.cs(19,12) : error CS0122: ??UnrealBuildTool.UEBuildBinaryConfiguration?????ɷ??ʣ???Ϊ???ܱ???????????
ERROR: j:\kbengine_ue4_demo-1.0\Source\kbengine_ue4_demo.Target.cs(17,23) : error CS0051: ?ɷ????Բ?һ??: ???????͡?ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>???ȷ?????kbengine_ue4_demoTarget.SetupBinaries(UnrealBuildTool.TargetInfo, ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>, ref System.Collections.Generic.List<string>)???Ŀɷ????Ե?
ERROR: j:\kbengine_ue4_demo-1.0\Source\kbengine_ue4_demoEditor.Target.cs(19,12) : error CS0122: ??UnrealBuildTool.UEBuildBinaryConfiguration?????ɷ??ʣ???Ϊ???ܱ???????????
ERROR: j:\kbengine_ue4_demo-1.0\Source\kbengine_ue4_demoEditor.Target.cs(17,23) : error CS0051: ?ɷ????Բ?һ??: ???????͡?ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>???ȷ?????kbengine_ue4_demoEditorTarget.SetupBinaries(UnrealBuildTool.TargetInfo, ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>, ref System.Collections.Generic.List<string>)???Ŀɷ????Ե?
ERROR: UnrealBuildTool Exception: Unable to compile source files.
Help me thanks
Plug-in file
kbengine_ue4_demo.Target.cs
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class kbengine_ue4_demoTarget : TargetRules
{
public kbengine_ue4_demoTarget(TargetInfo Target)
{
Type = TargetType.Game;
}
//
// TargetRules interface.
//
public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutExtraModuleNames.Add("kbengine_ue4_demo");
}
}
kbengine_ue4_demoEditor.Target.cs
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class kbengine_ue4_demoEditorTarget : TargetRules
{
public kbengine_ue4_demoEditorTarget(TargetInfo Target)
{
Type = TargetType.Editor;
}
//
// TargetRules interface.
//
public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutExtraModuleNames.Add("kbengine_ue4_demo");
}
}