# Vcxproj - project can not be loaded

**URL:** <https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258>\
**Category:** Pipeline & Plugins\
**Tags:** projects, unreal-engine, bug-report, editor, Visual-Studio, CPP, question\
**Created:** [July 2, 2014, 7:24pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258 "2014-07-02T19:24:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [July 2, 2014, 7:24pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/1 "2014-07-02T19:24:21Z")

</div>

For me this is 100% repetable bug. Engine 4.2.1 both versions, I mean with sources and compiled one.

I lunch editor, create new c++ project, then editor closes automatically and VS opens. I got my project and solution, then I close VS and try to reopen project by clicking on \*.sln. Solution opens but project not, VS says ‘load failed’ so I assume that \*.vcxproj is corrupted somehow.

Strange thing is that I open project in editor by double click on \*.uproject and I can compile it from editor, but again when I try to open it for editor by clicking ‘open visual studio’ I got the same result with corrupted project file.

Any idea, what is going on?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [July 2, 2014, 8:17pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/2 "2014-07-02T20:17:24Z")

</div>

Editor compiles because UBT does no require VS project files only VS compiler in fact it ignores all VS settings. You can always regenerate project files by right clicking uproject file and click “generate visual studio project files”

---

<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 2, 2014, 9:14pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/3 "2014-07-02T21:14:12Z")

</div>

Hi EnOnE,

What version of Visual Studio are you using, and can you copy/paste the text of the error message you receive (or post a screenshot) when you try to open the solution in Visual Studio?

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [July 3, 2014, 5:13am UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/4 "2014-07-03T05:13:35Z")

</div>

This is how solution explorer look like =\>

 ![9542-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/b/8eb4e09a50548dd40eee745603d6c15c2e3a8d88.jpeg)

And this is the error message =\> C:\Documents and Settings\Przemo\Documents\Unreal Projects\PizzaSrc2\Intermediate\ProjectFiles\UE4.vcxproj : error : Project “C:\Documents and Settings\Przemo\Documents\Unreal Projects\PizzaSrc2\Intermediate\ProjectFiles\UE4.vcxproj” could not be found.

And there are other messages for other projects that look the same.

Generally every time I turn off VS I need to create whole project from begining and this happens on two different PCs.

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [July 3, 2014, 5:14am UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/5 "2014-07-03T05:14:30Z")

</div>

regenerating did not help

---

<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 3, 2014, 2:28pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/6 "2014-07-03T14:28:05Z")

</div>

Are you using Visual Studio Express 2013? If so, are you using the Desktop version?

Could you also check the value of your `VS120COMNTOOLS` (if you are using VS 2013) environment variable (located at `Control Panel\System and Security\System -> Advanced System Settings`) and let me know what file path that is showing?

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [July 3, 2014, 7:17pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/7 "2014-07-03T19:17:56Z")

</div>

I am using VS 2013 Ultimate. This is the value for env.var. =\> C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\

So I think that is correct. I use UE4 in Debug Editor compilation mode, maybe this will help.

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [July 4, 2014, 6:44pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/8 "2014-07-04T18:44:49Z")

</div>

I have jus checked it. The same goes with every UE4 version from 4.0 to 4.2. No matter if it is compiled or not. I wonder how VS can corrupt vcxproj files just like that, is it something wrong with my VS?. I will try to put this file as attachement from “Basic Code C++” project from UE 4.2.1. Can you compare it? [MyProject.vcxproj](https://www.dropbox.com/s/ct9tlliuoagjzs5/MyProject.vcxproj)

---

<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:** [September 6, 2014, 6:34pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/9 "2014-09-06T18:34:34Z")

</div>

Hi EnOnE,

I am very sorry for not responding sooner. Were you able to resolve this issue?

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [September 6, 2014, 8:17pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/10 "2014-09-06T20:17:56Z")

</div>

No, for about 2 months I am doing some projects on UDK and Unity, so I had no to work on it.

---

<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:** [September 9, 2014, 1:40pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/11 "2014-09-09T13:40:15Z")

</div>

You don’t have to do it right away if you are busy with other projects, but whenever you are ready to start trying to look into this issue again, please let us know and we can try to help you figure out what is going on.

---

<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:** [December 11, 2014, 7:48pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/12 "2014-12-11T19:48:50Z")

</div>

Hi EnOnE Masta,

I am very sorry for the delay in getting back to you. Are you still having trouble with this issue?

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [December 30, 2014, 2:01pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/13 "2014-12-30T14:01:26Z")

</div>

Hey,

Recently I checked that and still I have the same issue, but now I am on 4.6.1 version. It is crazy cause VS tells me that it can not find vcxproj and it show the path where this file actually is.

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [December 30, 2014, 2:10pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/14 "2014-12-30T14:10:41Z")

</div>

I have found that I have same problem with any project in VS2013, not only ue4

---

<div class="post-metadata">

**Author:** ![EnOnE\_Masta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enone_masta/32/995640_2.png) [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Post date:** [December 30, 2014, 3:01pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/15 "2014-12-30T15:01:23Z")

</div>

Well I have found solution. It seems that if the whole project has very long path VS can’t find vcxproj, but when projects is in ie. c:\myue4proj then everything is right. I am curious what is the max path length when everything works fine.

---

<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:** [December 31, 2014, 10:50pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/16 "2014-12-31T22:50:23Z")

</div>

I believe Visual Studio has a 260 character limit, but I don’t think you were over that. The path you mentioned is also very similar to the paths in my own projects which do not see this issue happening. Once the developers return after the holiday break I will see if anyone has any thoughts about what may be causing this issue for you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfd155fa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfd155fa](https://forums.unrealengine.com/u/anonymous_user_cfd155fa)\
**Post date:** [May 17, 2017, 10:56am UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/17 "2017-05-17T10:56:53Z")

</div>

yeah i have the same problem can u help me ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfd155fa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfd155fa](https://forums.unrealengine.com/u/anonymous_user_cfd155fa)\
**Post date:** [May 17, 2017, 10:58am UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/18 "2017-05-17T10:58:34Z")

</div>

![138207-vs+problem.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/3/053a6fcb3206ce4161b3fdecee18285c140fc4be.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c1fc4d27](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c1fc4d27](https://forums.unrealengine.com/u/anonymous_user_c1fc4d27)\
**Post date:** [November 15, 2017, 9:46pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/19 "2017-11-15T21:46:17Z")

</div>

Sorry to necro. I’m trying every possible solution in every thread I can find on my issues. Though this didn’t work for me, it might work for someone else. I think the character limit issue (confirmed 260, though some sites suggest 259 - also found one that said 256) is an interesting thought, and I found a tool that helps with this process so you don’t have to manually count them. I’m sure others have thought of this (especially all of you Twitter users out there), but here you go: [https://www.lettercount.com/](https://www.lettercount.com/)

---

<div class="post-metadata">

**Author:** ![ydc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ydc](https://forums.unrealengine.com/u/ydc)\
**Post date:** [September 26, 2023, 6:02pm UTC](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258/20 "2023-09-26T18:02:44Z")

</div>

it works ! Thank you ! 👍 👍 👍

[Next page](https://forums.unrealengine.com/t/vcxproj-project-can-not-be-loaded/287258.md?page=2)
