# Building Unreal from source and using Setup.bat on UE 5.5

**URL:** <https://forums.unrealengine.com/t/building-unreal-from-source-and-using-setup-bat-on-ue-5-5/2305778>\
**Category:** Platform & Builds\
**Tags:** unreal-engine\
**Created:** [January 27, 2025, 2:45pm UTC](https://forums.unrealengine.com/t/building-unreal-from-source-and-using-setup-bat-on-ue-5-5/2305778 "2025-01-27T14:45:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr.kubstoff](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.kubstoff/32/1056128_2.png) [@mr.kubstoff](https://forums.unrealengine.com/u/mr.kubstoff)\
**Post date:** [January 27, 2025, 2:45pm UTC](https://forums.unrealengine.com/t/building-unreal-from-source-and-using-setup-bat-on-ue-5-5/2305778/1 "2025-01-27T14:45:33Z")

</div>

Error when starting out Setup.bat to download additional Engine dependencies to open project.

I have .NET 8.0 installed, pretty much everything up to date, can’t figure out why I get this error when I have everything required.

```auto
Checking dependencies...
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at GitDependencies.Program.ComputeHashForFile(String FileName)
   at GitDependencies.Program.UpdateWorkingTree(Boolean bDryRun, String RootPath, HashSet`1 ExcludeFolders, Int32 NumThreads, Double HttpTimeoutMultiplier, Int32 MaxRetries, Uri Proxy, OverwriteMode Overwrite, String CachePath, Single CacheSizeMultiplier, Int32 CacheDays)
   at GitDependencies.Program.Main(String[] Args)

```

Thanks for any help and input to that!

---

<div class="post-metadata">

**Author:** ![zoujyjs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zoujyjs](https://forums.unrealengine.com/u/zoujyjs)\
**Post date:** [February 8, 2025, 2:46pm UTC](https://forums.unrealengine.com/t/building-unreal-from-source-and-using-setup-bat-on-ue-5-5/2305778/2 "2025-02-08T14:46:53Z")

</div>

An environment variable `%DOTNET_ROOT%` is required to set to the correct path like `C:\Program Files\dotnet`

---

<div class="post-metadata">

**Author:** ![GianMan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GianMan](https://forums.unrealengine.com/u/GianMan)\
**Post date:** [October 28, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/building-unreal-from-source-and-using-setup-bat-on-ue-5-5/2305778/3 "2025-10-28T15:26:23Z")

</div>

Tried adding this, but I have the same error. @mr.kubstoff Did you solve this?

---

<div class="post-metadata">

**Author:** ![GianMan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GianMan](https://forums.unrealengine.com/u/GianMan)\
**Post date:** [November 18, 2025, 9:48am UTC](https://forums.unrealengine.com/t/building-unreal-from-source-and-using-setup-bat-on-ue-5-5/2305778/4 "2025-11-18T09:48:25Z")

</div>

Solved this by deleting the Engine\Binaries\DotNET folder of my project and copy the official one from Epic’s repo. Running again the Setup.bat after this worked without any error
