Packaging error (CS0101)

Seems like it’s the culprit of ScriptGeneratorPlugin. Maybe a duplicate? What do I do?!! Pls help zomg

MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: c:\Program Files (x86)\Epic Games\4.11\Engine\Plugins\ScriptPlugin\Source\ScriptGeneratorPlugin\ScriptGeneratorPlugin.Build.cs(7,15) : error CS0101: The namespace ‘UnrealBuildTool.Rules’ already contains a definition for ‘ScriptGeneratorPlugin’
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UnrealBuildTool encountered an error while compiling source files

Hello artoculon,

Could you post the full log files for when your packaging fails? You can find the logs under Saved/Logs inside of your project’s directory. Also, have you done anything in this project related to the ScriptGeneratorPlugin, such as trying to add a dependency for it?

We haven’t heard from you in a while artoculon. Are you still experiencing this issue? If so, could you provide the information I requested in my previous comment? In the meantime, I’ll be marking this issue as resolved for tracking purposes.

I finally solved this problem , i added new C++ class(eg:slate widget) instead of empty c++ class.

Officially tutorial told me that i should create empty c++ class. But this doesn’t works for me.

Hope this help for you .And tell me if this works.

Sorry for my careless , The correct way it delete “Saved , Intermediate" folder in you folder .Then add c++ class in your project.