# UE Cannot access visual studio

**URL:** <https://forums.unrealengine.com/t/ue-cannot-access-visual-studio/408245>\
**Category:** Pipeline & Plugins\
**Tags:** access, unreal-engine, Visual-Studio, question\
**Created:** [October 29, 2017, 4:22pm UTC](https://forums.unrealengine.com/t/ue-cannot-access-visual-studio/408245 "2017-10-29T16:22:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a99da8f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a99da8f](https://forums.unrealengine.com/u/anonymous_user_2a99da8f)\
**Post date:** [October 29, 2017, 4:22pm UTC](https://forums.unrealengine.com/t/ue-cannot-access-visual-studio/408245/1 "2017-10-29T16:22:28Z")

</div>

I tried to create new project twice in UE 4.18 version. When i tried to compile code immediately after creating project, output log said it cannot access visual studio. I also tried to create new c++ class - it doesnt helped. all projects were c++ based.

In 4.17.2 new project everything works well.

There are also 2 strange things only happens in fresh 4.18 project:

1. When i open c++ file in 4.18 CB, it will load specific file but then it loading another visual studio, so i ended up with 2 VS opened…

2. When i close and re-open project, it says “modules are missing or built with different version” and asking for re-build… everytime.

As you can see in images, i already have opened and loaded VS when i doubleclicked file in CB, but it also opening second VS… + message about rebuilding fresh reopened project.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/3/fd399238d676211c217ce0faecf38e073aad3cde.jpeg)

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/2/78272cef22880c487000418ccd83b77bb9ce3005.jpeg)

---

<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:** [October 31, 2017, 6:54pm UTC](https://forums.unrealengine.com/t/ue-cannot-access-visual-studio/408245/2 "2017-10-31T18:54:58Z")

</div>

Hi Name368,

The issue with Visual Studio opening twice when trying to open a code class from the Editor has already been reported in [UE-51608](https://issues.unrealengine.com/issue/UE-51608).

What is the exact error message that you are seeing when you try to build a code project in Visual Studio?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a99da8f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a99da8f](https://forums.unrealengine.com/u/anonymous_user_2a99da8f)\
**Post date:** [October 31, 2017, 8:19pm UTC](https://forums.unrealengine.com/t/ue-cannot-access-visual-studio/408245/3 "2017-10-31T20:19:30Z")

</div>

Hi,  
So i tried to build project in VS and its working… Compile in UE not but build in VS yes.  
When i clicked build in VS i dont get anymore error about rebuilding modules (which was this error [https://i.imgur.com/Nkhmn9W.jpg](https://i.imgur.com/Nkhmn9W.jpg)), so i think we can close this topic because same issue was already registered.  
Thanks.
