System.Data.DataSetExtensions not restored

I’m trying out UE 5.5 Preview. The game project (ported from 5.3) compiles just fine. However I can not get an automation tool to compile. Anyone already got this issue and solved it? I already set allow long paths in Windows Registry to true. I saw some older posts where no packages can be resolved but here it seems to be just this one.

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1

NETSDK1064|Package System.Data.DataSetExtensions, version 4.5.0 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.|RunMutableCommandlet.Automation|C:\Program Files\dotnet\sdk\8.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets

I do not know if this fix is a good idea, but at least it compiles. I removed the reference of System.Data.DataSetExtension from Programs/Automation/Gauntlet.Automation. For this to work I had to disable read-only on a bunch of files in Gauntlet.Automation and RunMutableCommandletAutomation. It will complain which ones, so just choose those complaining. After that i set System.Data.DataSetExtension from Programs/Automation/Gauntlet.Automation reference on RunMutableCommandlet.Automation. Additionally I had to fix a c# compiler error of an script with a changed property name.

3 Likes
  1. Open VS menu “Tools/NuGet Package manager”, find DataSetExtensions package, check all checkboxes and click Install (for version 4.5.0)
  2. Build project, read error log and for all files which has errors (there would be full paths for it) - remove Read Only flag.
  3. Repeat step 2 as many times as you still have build errors.
  4. Enjoy UE 5.5
4 Likes

I have the same problem as you as well even when 5.5 is out officially but honestly i am not sure how to solve it, i tried doing what you guys said but i couldn’t get to solve it (guessing i did something wrong)

I fixed this by removing the read-only flag from the UE5.5 folder.

7 Likes

oh wow, this actually fixed it lol, thank you very much! I didn’t do it on the whole engine, just the “Source” folder

6 Likes

\UE_5.5\Engine\Source\Programs\AutomationTool\Mutable\Run Mutable Commandlet\obj
Turn off read-only path

9 Likes

OMG, thankyou. I was about to sledgehammer approach and remove read-only from the 5.5 folder and all subfolders, but this one solved it for me.

For information, I had the same issue.

The solution I found is to remove the ReadOnly flag from RunMutableCommandlet/obj files

Then, to ensure every thing is OK, right click on Solution in VisualStudio and press “Restore Nuget Package”. It should echo “All packages are already installed and there is nothing to restore.”

My Feeling:
the nuget management feel it may “double check” that every thing is up to date but early fail as the file are ReadOnly. In a way of “Ok! It would be impossible for me to make the update as the files are ReadOnly!”. Even, in reality there is nothing to update.

9 Likes

man I love u

Thank you sooo much. Worked for me as well.

Thanks, but your solution didn’t work. When I selected all the checkboxes and clicked “Install,” an error message appeared saying “NETSDK1064: system.data.DatasetExtensions not found,” and the installation stopped.

Thx sooooooooo!! I disabled read-only, but it still looks locked. But no worries, I can still edit the file.

After doing what Alexander Semenko says, I still had the RunMutableCommandlet problem, which is solved by following the post of @Godiokun . Thanks guys for sparing us nasty debug time :smiling_face_with_three_hearts:

1 Like

Hi Ethan_cc, it worked for me. I guess you should update your Windows installation or the VS installation? Be sure to have everything up-to-date.

That works perfect for me, ty
Read the log info carefully, I find it says “No Access to file: ……”, so I believe this is the perfect answer.

But have no idea why UE5 engine didn’t fix this during installing process.

Found a duplicate which may have more explanations

THANKS MAN!!!

Thanks Flagging the error so people can track it.

Package System.Data.DataSetExtensions, version 4.5.0 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.

The above fixes this error.

Thanks for this. I’m just getting into C++ in Unreal Engine after many years of Unity C#, and was pulling my hair out from not being able to build a fresh project. This seems to have fixed it.

I think specifically hitting restore NuGet packages might have helped, as simply removing read-only and then building did not work at first.