# Error switcing engine versions 4.7 -\> 4.8

**URL:** <https://forums.unrealengine.com/t/error-switcing-engine-versions-4-7-4-8/322059>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 16, 2015, 8:58pm UTC](https://forums.unrealengine.com/t/error-switcing-engine-versions-4-7-4-8/322059 "2015-06-16T20:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![MADHOUSE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MADHOUSE](https://forums.unrealengine.com/u/MADHOUSE)\
**Post date:** [July 1, 2015, 9:47pm UTC](https://forums.unrealengine.com/t/error-switcing-engine-versions-4-7-4-8/322059/11 "2015-07-01T21:47:50Z")

</div>

Hi again. I have now had time to do some more tests. After removing the server target file, the process for creating a dedicated server can not be replaced even after the project is converted to 4.8 or 4.8.1 or an error will occure. To elimiate the possibility of my project being the cause, I created a brand new blueprint project, added an empty C++ class to create source files for the project, refreshed the project code files from the editor with no error, but after adding a server target file the very same error will happen.

I am using this template for the server target as instructed in the documentation:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

It seems that creating dedicated servers are broken in 4.8. This most recent test was done with the latest 4.8.1 github release.

Error from 4.8.1 with the fresh BP FPS project template, when attempting to refresh code project files from editor after adding server target:

```
Running C:/UE4/UnrealEngine-4.8.1-release/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Fox/Documents/Unreal Projects/testgame/testgame.uproject" -game -engine -progress
Discovering modules, targets and source code for game...
Errors detected while compiling C:\Users\Fox\Documents\Unreal Projects\testgame\Intermediate\Build\BuildRules\testgameProjectFileGeneratorModuleRules.dll:
c:\Users\Fox\Documents\Unreal Projects\testgame\Source\testgameServer.Target.cs(8,12) : error CS1520: Method must have a return type
UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files

```

and same error when trying to build in VS

---

_[View the full topic](https://forums.unrealengine.com/t/error-switcing-engine-versions-4-7-4-8/322059)._
