C# 虚幻引擎4.22找不到模块的定义

C# 虚幻引擎4.22找不到模块的定义,c#,c++,unreal-engine4,C#,C++,Unreal Engine4,我正在学习虚幻引擎4的课程,我似乎遇到了编译错误 我只有3天的虚幻体验。 我是C++专家。 我从来没有接触过CpPART,这就是为什么当Sharp被承诺只在不实引擎4项目中使用C++时,C项目在小部分中被使用的原因。 日志文件的结尾如下所示: LogVSAccessor:警告:无法访问Visual Studio 热重新加载的候选模块: 斗牛游戏 正在启动未构建工具。。。[C:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/Unre

我正在学习虚幻引擎4的课程,我似乎遇到了编译错误

我只有3天的虚幻体验。 我是C++专家。 我从来没有接触过CpPART,这就是为什么当Sharp被承诺只在不实引擎4项目中使用C++时,C项目在小部分中被使用的原因。 日志文件的结尾如下所示:

LogVSAccessor:警告:无法访问Visual Studio

热重新加载的候选模块:

斗牛游戏

正在启动未构建工具。。。[C:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe-ModuleWithSuffix=BullCowGame,6263 Win64 Development-TargetType=Editor-Project=“C:/Users/school/Desktop/unreal_course_projects/bull_cow_game尝试_2/BullCowGame初学者工具包/BullCowGame.upject”

l_cow_game_trunt_2/BullCowGame初学者工具包/BullCowGame.uproject”-无知垃圾]

警告:启动热重新加载需要1.5秒

编译器结果日志:新页面:编译-2020年5月6日,晚上9:08:11

编译器结果:使用“git状态”确定自适应非统一构建的工作集(C:\Users\school\Desktop\unreal\u course\u projects\bull\u cow\u game\u attempt\u 2\BullCowGame初学者工具包)

CompilerResultsLog:为BullCowGameEditor创建makefile(游戏项目文件较新)

CompilerResultsLog:错误:找不到模块“BullCowGame”的定义(通过BullCowGameEditor.Target.cs引用)

LogMainFrame:大型机:模块编译耗时37.379秒

警告:热重新加载失败,重新编译失败

LogSlate:正在销毁窗口“消息日志”

LogSlate:正在销毁窗口“消息日志”

BullCowGameEditor.Target.cs:

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;
using System.Collections.Generic;

public class BullCowGameEditorTarget : TargetRules
{
    public BullCowGameEditorTarget(TargetInfo Target) : base(Target)
    {
        Type = TargetType.Editor;

        ExtraModuleNames.AddRange( new string[] { "BullCowGame" } );
    }
}

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;
using System.Collections.Generic;

public class BullCowGameTarget : TargetRules
{
    public BullCowGameTarget(TargetInfo Target) : base(Target)
    {
        Type = TargetType.Game;

        ExtraModuleNames.AddRange( new string[] { "BullCowGame" } );
    }
}

BullCowGame.Target.cs:

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;
using System.Collections.Generic;

public class BullCowGameEditorTarget : TargetRules
{
    public BullCowGameEditorTarget(TargetInfo Target) : base(Target)
    {
        Type = TargetType.Editor;

        ExtraModuleNames.AddRange( new string[] { "BullCowGame" } );
    }
}

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;
using System.Collections.Generic;

public class BullCowGameTarget : TargetRules
{
    public BullCowGameTarget(TargetInfo Target) : base(Target)
    {
        Type = TargetType.Game;

        ExtraModuleNames.AddRange( new string[] { "BullCowGame" } );
    }
}

项目布局:

我试图修复的错误:错误:找不到模块“BullCowGame”的定义(通过BullCowGameEditor.Target.cs引用)

您可以在日志文件的底部看到此错误。 以前有人见过这个吗?
提前感谢

查看您的项目布局,您缺少描述如何构建BullCowGame模块的
../Source/BullCowGame/BullCowGame.Build.cs

见: