# Cannot open UE4Editor-Core.dll when updating project

**URL:** <https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800>\
**Category:** C++\
**Tags:** build-project-files, unreal-engine, generate-project-fil, CPP, question\
**Created:** [June 26, 2014, 2:52pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800 "2014-06-26T14:52:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [June 26, 2014, 2:52pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/1 "2014-06-26T14:52:36Z")

</div>

I seem to have hit a bit of an odd problem here. My UE4 Project will compile and build in Visual Studio just fine but When I try to open it from the launcher it says it needs to compile the module again. So I say yes and it starts but It fails. It returns and linking error saying this:

```
[1/221] link.exe UE4Editor-Core.dll
LINK : fatal error LNK1104: cannot open file 'F:\UE4\Unreal Engine\4.2\Engine\Binaries\Win64\UE4Editor-Core.dll'

```

I checked and the file is there. I have rebuilt the engine as well as regenerated project files. Not sure where to go from here. What would cause this problem?

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [June 26, 2014, 7:03pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/2 "2014-06-26T19:03:28Z")

</div>

Ends up I was building in Debug not Development-Editor This resulted in a bunch of unresolved external linking errors. Why this error changed after rebuilding 2 times is beyond me but this problem is solved.

---

<div class="post-metadata">

**Author:** ![Fervensmiber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fervensmiber](https://forums.unrealengine.com/u/Fervensmiber)\
**Post date:** [July 3, 2014, 12:19pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/3 "2014-07-03T12:19:49Z")

</div>

I’m having same error when I try to open project by clicking on myprojectname.uproject, then it asks if I want code to be compiled and I say yes and it gives that linker error.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [July 3, 2014, 12:57pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/4 "2014-07-03T12:57:39Z")

</div>

remember your build mode in visual studio.

---

<div class="post-metadata">

**Author:** ![Fervensmiber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fervensmiber](https://forums.unrealengine.com/u/Fervensmiber)\
**Post date:** [July 8, 2014, 6:45am UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/5 "2014-07-08T06:45:21Z")

</div>

I’m building with Development-editor, but still have this issue

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [July 8, 2014, 1:39pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/6 "2014-07-08T13:39:47Z")

</div>

Hi ,

What version of the Engine are you using, and did you build it from source code or are you using the binary version with the Launcher?

---

<div class="post-metadata">

**Author:** ![Fervensmiber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fervensmiber](https://forums.unrealengine.com/u/Fervensmiber)\
**Post date:** [July 8, 2014, 1:42pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/7 "2014-07-08T13:42:48Z")

</div>

I’m using 4.2.1 and the binary version with launcher.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [July 8, 2014, 3:05pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/8 "2014-07-08T15:05:30Z")

</div>

Does this happen for you on every project that you create, or only on certain ones? What template are you using to create your projects? Do you see the same error when you try to open the project from inside the Editor?

---

<div class="post-metadata">

**Author:** ![Fervensmiber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fervensmiber](https://forums.unrealengine.com/u/Fervensmiber)\
**Post date:** [July 9, 2014, 6:08am UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/9 "2014-07-09T06:08:42Z")

</div>

This happens only on the project I’m currently working on and not on new projects. When I checkout any version from SVN the project doesn’t have solution or project files.  
If I try to open it from launcher or the editor, the message appears saying “Project modules are missing or out of date. Would you like to recompile them”. When I click yes the compiling starts but gives multiple linker errors such as  
“LINK : fatal error LNK1104: cannot open file ‘C:\Program Files\Unreal Engine\4.2\Engine\Binaries\Win64\UE4Editor-RenderCore.dll’”.  
The compilation fails with the message :“Game code couldn’t be compiled. Continue trying to start anyway?”.  
Clicking yes results in "The game module ‘myprojectname’ could not be found. Please ensure that this module exists and that it is compiled.  
The result is same if I right click on the .uproject file and generate project files and try to compile through visual studio.  
I’m able to workaround this by copying the solution and project files of my older revision. Then the VS compiles just fine.

Since I have a workaround I would like to ask you to check out my other issue which is much more severe than this and prevents the game from being run without editor. This issue can be found here: [Game crashes when running without editor - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/62726/game-crashes-when-running-whitout-editor.html) Any help on that topic would be greatly appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [July 9, 2014, 12:58pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/10 "2014-07-09T12:58:07Z")

</div>

Inside the visual studio project files, see if you have the project setup to look at the correct engine targets.

That would be under project properties-\>configuration properties-\>NMake

Look at the build, rebuild and clean paths.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a0d22a251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a0d22a251](https://forums.unrealengine.com/u/anonymous_user_a0d22a251)\
**Post date:** [January 15, 2015, 3:26pm UTC](https://forums.unrealengine.com/t/cannot-open-ue4editor-core-dll-when-updating-project/286800/11 "2015-01-15T15:26:25Z")

</div>

Ohhh I just found your question, and I’ve just solved it. Visual studio is angry because it can’t rewrite files. Just launch it with administrator rights and this will be ok
