# Having issues converting code projects from 4.18.3 to 4.19

**URL:** <https://forums.unrealengine.com/t/having-issues-converting-code-projects-from-4-18-3-to-4-19/420557>\
**Category:** Pipeline & Plugins\
**Tags:** UE4-19, unreal-engine, Visual-Studio, CPP, question\
**Created:** [March 22, 2018, 4:06pm UTC](https://forums.unrealengine.com/t/having-issues-converting-code-projects-from-4-18-3-to-4-19/420557 "2018-03-22T16:06:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daedrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daedrox](https://forums.unrealengine.com/u/Daedrox)\
**Post date:** [March 22, 2018, 4:06pm UTC](https://forums.unrealengine.com/t/having-issues-converting-code-projects-from-4-18-3-to-4-19/420557/1 "2018-03-22T16:06:38Z")

</div>

When attempting to convert code projects from 4.18.3 to 4.19 I get this error:

> Project files could not be generated.  
> Log output:
> 
> Running C:/Unreal  
> Engine/UE\_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe  
> -projectfiles -project=“D:/dev/game/TheGameGame.uproject”  
> -game -rocket -progress Discovering modules, targets and source code for  
> project… While compiling  
> D:\dev\game\Intermediate\Build\BuildRules\TheGameGameModuleRules.dll:  
> ERROR:  
> d:\dev\game\Source\TheGameGame\TheGameGame.Build.cs(7,9)  
> : error CS1729:  
> ‘UnrealBuildTool.ModuleRules’ does not  
> contain a constructor that takes 0  
> arguments ERROR: UnrealBuildTool  
> Exception: Unable to compile source  
> files.

Before; when converting to 4.18 I had to use this: [https://answers.unrealengine.com/questions/718575/error-when-updating-to-418-generating-visual-studi.html](https://answers.unrealengine.com/questions/718575/error-when-updating-to-418-generating-visual-studi.html)

Anyone having issues like this?

---

<div class="post-metadata">

**Author:** ![Daedrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daedrox](https://forums.unrealengine.com/u/Daedrox)\
**Post date:** [March 23, 2018, 4:00pm UTC](https://forums.unrealengine.com/t/having-issues-converting-code-projects-from-4-18-3-to-4-19/420557/2 "2018-03-23T16:00:22Z")

</div>

I have succeffully converted my code projects to 4.19 from 4.18. What helped for me:

1. Check your Visual Studio has all the right packages installed: “Desktop Development with C++”, “.Net Desktop Development” and “Game Development with C++”. I have VS 2017 Community installed and for some reason first two packages were not wholly installed.

2. Go project folder and generate visual studio files by right clicking .uproject file.

3. Check project folder /YourGame/Source/YourGame that YourGame.Build.cs contains line:

4. Run clean solution and rebuild solution from VS.

5. Close Visual Studio and by right clicking .uproject file use “Switch Unreal Engine version.” In my case I switched to 4.19.

6. Open YourGame.snl clean and rebuild solution.

7. Close VS and open your project from .uproject

This method has worked me for three different code projects. Building your code between conversions is smart. Not sure if all steps above are necessary.
