UE5 PackagingResults: Error

I try delete Intermediate Folder and migrate.But log show same.How to fix it.

UATHelper: Packaging (Windows): ERROR: Expecting to find a type to be declared in a target rules named ‘TestBuildTarget’. This type must derive from the ‘TargetRules’ type defined by Unreal Build Tool.
PackagingResults: Error: Expecting to find a type to be declared in a target rules named ‘TestBuildTarget’. This type must derive from the ‘TargetRules’ type defined by Unreal Build Tool.

Hey @UnnerD

can you describe what you wanted to do?

Did you perhaps rename your project while working on it?

1 Like

I want package this project.

Yes, but could you describe it a little more:

  • Was this the first time you wanted to package?
  • What plugins are you using?
  • How does your Script folder look like?
  • Did you try to recreate the Visual Studio files?
1 Like

Im a bit eng

  • Was this the first time you wanted to package?
    Ans Yes

  • What plugins are you using?
    Ans

  • How does your Script folder look like?
    Ans I dont know Script folder

  • Did you try to recreate the Visual Studio files?
    Ans I dont recreate the Visual Studio files. i try install sdk

Can you tell me how to start package this project. Because i try some fix from youtube reddit and this community. But same error.

Thx you^^

Ok,

  • Did you create a blueprint or C++ project?
  • Did you add the plugins at once or one after the other?
  • When you have a C++ project or one of the plugins needs it to be C++ it would look like this:

image

And inside the Source folder:
image

These names need to be matching your project name (look at the *.uproject file)

To create those files you can right-click your *.uproject file and select GenerateVisualStudioProjectFiles

How does your project folder look like?

If you did not create a C++ project one of the plugins might have the requirement to use C++.

Thx you man^^. I will try.

I dont create a blueprint or c++ project

I try right-click my *.uproject file and select GenerateVisualStudioProjectFiles. Then show
asd

Ok,
did you download this project from somewhere?

I download this project from website udevstudio.

Ok, what you can try is this:

  • Go into your project inside Unreal
  • Go to Tools => New C++ Class
  • Select None => Next
  • Name it, Click on CreateClass
  • Then Save, close it and try again to GenerateVisualStudioProjectFiles

Usually there is a readme or a documentation for those projects. Was there something in the project rar?

I try createclass then save and GenerateVisualStudioProjectFiles. It work

i dont found a readme or a documentation

Ok, try to package again

I trying. Thx you very very much.

I try. Then show
asd

So inside your project folder, try deleting everything except:

Config, Content, Plugins, Source, *.Uproject file.

Then create the VisualStudioFiles again. Then try to open the *.SLN file. Build from VisualStudio.

Thx you man. I will try.^^