# Could not be compiled. Try rebuilding from source manually. Error MSB3075

**URL:** <https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945>\
**Category:** Pipeline & Plugins\
**Tags:** project-crash, errors, unreal-engine, crash, Visual-Studio, question\
**Created:** [July 8, 2018, 3:11pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945 "2018-07-08T15:11:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 8, 2018, 3:11pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/1 "2018-07-08T15:11:28Z")

</div>

As stated in the title it won’t build the project. These are the 2 errors I get. I’ve been looking for answers for about 8 hours now and I can’t figure it out. I’m not a programmer so any help would be greatly appreciated. Thank you

Error System.IO.FileNotFoundException: Could not find file ‘C:\Users\Admin\Documents\Unreal Projects\DreamChante2\DreamChante.uproject’. DreamChante C:\Users\Admin\Documents\Unreal Projects\DreamChante2\Intermediate\ProjectFiles\UnrealBuildTool 1

Error MSB3075 The command ““C:\Program Files\Epic Games\UE\_4.19\Engine\Build\BatchFiles\Build.bat” DreamChanteEditor Win64 Development “C:\Users\Admin\Documents\Unreal Projects\DreamChante2\DreamChante.uproject” -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command. DreamChante C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 9, 2018, 2:27pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/2 "2018-07-09T14:27:21Z")

</div>

“Could not find file ‘C:\Users\Admin\Documents\Unreal Projects\DreamChante2\DreamChante.uproject’”

Have you verified that your project file still exists? It hasn’t been accidentally deleted somehow?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 3:05am UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/3 "2018-07-10T03:05:20Z")

</div>

Thank you for replying. I checked and supposedly the file exists but whatever reason it doesn’t seem to be reading it. I have full control from what I can tell with no restrictions to my Admin account. I don’t know how it would’ve gotten deleted I suppose it’s still a possibility but it doesn’t add up with what I just previously stated. All I did was exit the project without saving and I intentionally did that. I’ve done it before and haven’t had any problems. The worst part of this I don’t even know where to look or what to learn in order to start narrowing down what it could possibly be. Do you think it may have deleted a file from not saving somehow?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 3:13am UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/4 "2018-07-10T03:13:13Z")

</div>

I’ve done a little more digging and the file ‘C:\Users\Admin\Documents\Unreal Projects\DreamChante2\DreamChante.uproject’. does exist but file DreamChante C:\Users\Admin\Documents\Unreal Projects\DreamChante2\Intermediate\ProjectFiles\UnrealBuildTool 1 doesn’t or at least it can’t find it. Am I toast?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 10, 2018, 2:42pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/5 "2018-07-10T14:42:02Z")

</div>

Hmm… Have you tried deleting your Saved and Intermediate folders and regenerating your solution files? If not, could you do that and let me know if you get any new errors?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 8:21pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/6 "2018-07-10T20:21:32Z")

</div>

I found the Saved and Intermediate folders but how do I regenerate solution files and where do I look for them?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 8:56pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/7 "2018-07-10T20:56:55Z")

</div>

I googled what you were referring to and I deleted the specified files and regenerated the sln file went into MSVS and when I tried building it I first got the message

 ![246926-ue4projectisoutofdate.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/1/3b1dd779a09ab6398f7d828fc2df2228c7cb30eb.png)

It has asked me this for every different copy I made of the game sometimes it says win32 other times it’s win64. I clicked yes and it started to build them this happened

![246927-ue4cannotfindspecifiedfile.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/2/422366fdfb4cedddfe511f91acecc59de879e1c1.png)

This is new to this particular copy of the project some of the other project copies did this too, however I was trying things that I had read off the internet otherwise what I had originally posted was consistent with all of them before experimenting.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 10, 2018, 9:05pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/8 "2018-07-10T21:05:04Z")

</div>

Okay so for that error what you’ll need to do is go into the solution explorer, right click on your project (not the UE4 project), and click “Set as StartUp Project.” For some reason when you re-generate the project files the wrong default project will be set and you’ll see the error you’re seeing about being unable to find UE4.exe.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 9:40pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/9 "2018-07-10T21:40:39Z")

</div>

I’m assuming you mean this folder

![246928-ue4solution.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/2/1b23479fb0ec333b7d9827eec05d01bf9762e96d.png)

I right clicked and selected the button and it took me to here

 ![246929-ue4setasstartup.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/7/9d7c0597573e83c7b6377ac9414034f025968432.png)

What should I change inside of here since there are a fair amount of options assuming I’m in thee right place?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 10, 2018, 9:48pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/10 "2018-07-10T21:48:24Z")

</div>

Nope, that’s the solution and the solution properties. Here are illustrations of what to right click on, and then where to click afterwards.

![246941-solutionexplorer.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/8/69880d8730d241868a896067ca02e0a20a0a365e.png)

![246942-setasstartupproject.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/6/7363d7431b1ffc14350d7e57340d2061d3441e84.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 10:47pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/11 "2018-07-10T22:47:20Z")

</div>

Did this. Now I’ve got this message and only this message from VS

![246944-ue4solutiondc.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/7/257e435c93b95e49bd403b8f176c2f2b6647a2d3.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 10, 2018, 10:54pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/12 "2018-07-10T22:54:18Z")

</div>

What configuration (DebugGame Editor, DevelopmentGame Editor, etc.) and platform (Win64, etc.) are you building for? What happens if you go to “Build \> Rebuild Solution” and then try to run after that? Do you still get that error message?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 11:16pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/13 "2018-07-10T23:16:24Z")

</div>

I was using the local windows debugger the project was set to win32 I have x64 so I tried right clicking the project pressed build said it couldn’t build because the project was built in 64. So I went into Solution\>ConfigProperties and changed the project to win 64 I was unable to change the UE4 to 64 it only has win32. I built it then got this message

1\>------ Rebuild All started: Project: DreamChante2, Configuration: HTML5\_DebugGame\_Editor x64 ------  
1\>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(48,5): warning MSB8005: The property ‘NMakeReBuildCommandLine’ doesn’t exist. Skipping…  
1\>Done building project “DreamChante2.vcxproj”.  
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

I also tried the project rebuilding it same result. So then I went to the Solution pressed rebuild then I got this message

1\>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------  
2\>------ Skipped Build: Project: DreamChante2, Configuration: HTML5\_DebugGame\_Editor x64 ------  
2\>Project not selected to build for this solution configuration  
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 10, 2018, 11:28pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/14 "2018-07-10T23:28:17Z")

</div>

Did I do what you meant or did I do something wrong?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 11, 2018, 12:02am UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/15 "2018-07-11T00:02:26Z")

</div>

Config is HTML5\_DebugGame\_Editor x64 and build is unchecked below is BuiltWithUnrealBuildTool Win32 build is checked and there is no option to change from Win32

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 11, 2018, 2:26pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/16 "2018-07-11T14:26:14Z")

</div>

Try making a “Development Editor” build for Win64 (note that UBT is always Win32, that’s fine) and see if you can run your editor from there. Your builds are succeeding (as noted by “Rebuild All: 1 succeeded, 0 failed, 0 skipped”), so it may have something to do with the HTML5 part of your configuration? I have no experience with HTML5 builds, though.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 11, 2018, 8:42pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/17 "2018-07-11T20:42:38Z")

</div>

This is the current config

 ![247083-ue4-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/0/910b40f08ce921f548f88969583797267e879046.png)

This is the new list of errors

 ![247084-ue4-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/8/2d8e31b553324a0ac7d55ad44c6754aca1f81643.png)

I’m not a programmer but I was following the UE4 bp twinstick shooter tutorial and there is C++ programming in the tutorial. I built it about 2 months ago and didn’t have any problems using the engine on a daily basis. But based on the new errors I’m starting to wonder if that is the cause of this.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 11, 2018, 9:29pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/18 "2018-07-11T21:29:04Z")

</div>

Those errors are suggesting that you’ve got functions declared in your header but not defined in your source files. Specifically the constructor, “BeginPlay,” “Tick,” and “SetupPlayerInputComponent” functions inside of your “AEnemyCharacter” class. Did you maybe delete them in the source file (EnemyCharacter.cpp) and then forget to delete them in the header (EnemyCharacter.h)?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_012018261](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_012018261](https://forums.unrealengine.com/u/anonymous_user_012018261)\
**Post date:** [July 11, 2018, 9:32pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/19 "2018-07-11T21:32:23Z")

</div>

I don’t recall deleting either of those things I remember wanting to but never getting around to it. Should I try deleting them inside VS and see what happens?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6789817d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6789817d](https://forums.unrealengine.com/u/anonymous_user_6789817d)\
**Post date:** [July 11, 2018, 9:37pm UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945/20 "2018-07-11T21:37:16Z")

</div>

If you want to get rid of the entire class, you’ll have to delete the files outside of Visual Studio. With the way UE4 sets up solutions, using Visual Studio’s “remove” file from project simply removes it from the solution, but UBT will still attempt to compile it because it still exists within the project’s source.

However, do note that any blueprints you may have created with that class as a base will most likely not work.

[Next page](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-error-msb3075/428945.md?page=2)
