i cannot package project

LogSlate: Window ‘SDK Not Setup’ being destroyed
LogUObjectHash: Compacting FUObjectHashTables data took 4.21ms
LogTurnkeySupport: Project does not require temp target
LogLauncherProfile: Found promoted target with matching version at …/…/…/Engine/Binaries/Win64/UnrealGame-Win64-Shipping.target
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““C:/Program Files/Epic Games/UE_5.0/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“C:/Users/user/Documents/Unreal Projects/LyraStarterGame2/LyraStarterGame2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=49495 -project=“C:/Users/user/Documents/Unreal Projects/LyraStarterGame2/LyraStarterGame2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/user/Documents/Unreal Projects/LyraStarterGame2/LyraStarterGame2.uproject” -unrealexe=“C:
\Program Files\Epic Games\UE_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -compressed -iostore -pak -prereqs -archivedirectory=“C:/Builds” -nodebuginfo” -nocompile ]
UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): ‘dotnet’ is not recognized as an internal or external command,
UATHelper: Packaging (Windows): operable program or batch file.
UATHelper: Packaging (Windows): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Windows): The system cannot find the path specified.
UATHelper: Packaging (Windows): The system cannot find the path specified

Hello Nzyox12, Welcome to the forums.

“UATHelper: Packaging (Windows): ‘dotnet’ is not recognized as an internal or external command” is standing out to me.

Try downloading .NET 3.1

Edit: It turns out I was encountering this error myself, Installing .NET 3.1 and then restarting my PC resolved it!

1.) Install the latest version of the Windows SDK
2.) Install .NET Core 3.1
3.) Restart computer
4.) If it still doesn’t work, go to Platforms → Windows, then your device name, and click on Force Update Device

How to Fix SDK Not Setup Error in Unreal Engine 5