Announcement

Collapse
No announcement yet.

UE4.18 BuildPatchTool error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [FEATURE REQUEST] UE4.18 BuildPatchTool error

    I Build a Plugins for UE4.18. This plug-in runs normally in UE4.18.
    Error when configuring VS project.

    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.
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    kbengine_ue4_demo.Target.cs configuration file.

    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 configuration file.

    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");
    }
    }


    Help me thanks.
Working...
X