# UE 5.8 new blank project has unhandled exception in generated C++ project in Visual Studio 

**URL:** <https://forums.unrealengine.com/t/ue-5-8-new-blank-project-has-unhandled-exception-in-generated-c-project-in-visual-studio/2735191>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine\
**Created:** [July 12, 2026, 1:01pm UTC](https://forums.unrealengine.com/t/ue-5-8-new-blank-project-has-unhandled-exception-in-generated-c-project-in-visual-studio/2735191 "2026-07-12T13:01:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MuldoonX9](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/muldoonx9/32/1193924_2.png) [@MuldoonX9](https://forums.unrealengine.com/u/MuldoonX9)\
**Post date:** [July 12, 2026, 1:01pm UTC](https://forums.unrealengine.com/t/ue-5-8-new-blank-project-has-unhandled-exception-in-generated-c-project-in-visual-studio/2735191/1 "2026-07-12T13:01:53Z")

</div>

### Summary

Hello, I have a brand new install of 5.8, and created a blank project (C++). I use Visual Studio, and the solution it generates already comes with an exception:  
Project: Microsoft.Automation.csproj  
Recoverable  
System.InvalidOperationException: Project or targets file “C:\Program Files\Epic Games\UE\_5.8\Engine\Source\Programs\AutomationTool\Microsoft\Microsoft.Automation.csproj” was loaded in read-only mode, and cannot be saved.

I would like to solve this so I don’t have to look at it every time I open visual studio. I did see the project and folder was marked read only, but removing that (from file explorer propterties menu) does not change the behavior. This does not happen on 5.7.4.

### What Type of Bug are you experiencing?

AI

### Steps to Reproduce

Create a blank project with UE 5.8.0.  
Notice that when visual studio automatically opens, there’s already an exception with the automation project.

### Expected Result

No exceptions in the visual studio project

### Observed Result

Visual studio opens and reports an exception has occurred, with this in the log file: System.InvalidOperationException: Project or targets file “C:\Program Files\Epic Games\UE\_5.8\Engine\Source\Programs\AutomationTool\Microsoft\Microsoft.Automation.csproj” was loaded in read-only mode, and cannot be saved.

### Affects Versions

5.8

### Platform(s)

Windows

---

<div class="post-metadata">

**Author:** ![MuldoonX9](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/muldoonx9/32/1193924_2.png) [@MuldoonX9](https://forums.unrealengine.com/u/MuldoonX9)\
**Post date:** [August 1, 2026, 6:35am UTC](https://forums.unrealengine.com/t/ue-5-8-new-blank-project-has-unhandled-exception-in-generated-c-project-in-visual-studio/2735191/2 "2026-08-01T06:35:54Z")

</div>

I updated to 5.8.1, and I still get the same issue. I’ve tried manually unmarking the folder as read only, but no luck. Deleting the Microsoft.Automation project does fix the startup error, but then unsurprisingly I get other build errors from things that relied on it. Any insight would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![MuldoonX9](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/muldoonx9/32/1193924_2.png) [@MuldoonX9](https://forums.unrealengine.com/u/MuldoonX9)\
**Post date:** [August 2, 2026, 8:12am UTC](https://forums.unrealengine.com/t/ue-5-8-new-blank-project-has-unhandled-exception-in-generated-c-project-in-visual-studio/2735191/3 "2026-08-02T08:12:34Z")

</div>

I ended up uninstalling Unreal 5.8.1 from my C drive and installed it to my D drive, and this fixed the issue. Not exactly the solve I was hoping for, especially after all my other dead ends. But this workaround gets me to zero startup errors.
