# Dedicated Server error during compilation

**URL:** <https://forums.unrealengine.com/t/dedicated-server-error-during-compilation/360716>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 14, 2016, 8:09am UTC](https://forums.unrealengine.com/t/dedicated-server-error-during-compilation/360716 "2016-06-14T08:09:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![majercak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@majercak](https://forums.unrealengine.com/u/majercak)\
**Post date:** [June 14, 2016, 8:09am UTC](https://forums.unrealengine.com/t/dedicated-server-error-during-compilation/360716/1 "2016-06-14T08:09:27Z")

</div>

When I try to compile Development Server it results in error :

“Non-agnostic games on cooked platforms require a uproject file be specified.”

how do I specify uproejct file? I can’t move on without it…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [June 14, 2016, 3:59pm UTC](https://forums.unrealengine.com/t/dedicated-server-error-during-compilation/360716/2 "2016-06-14T15:59:27Z")

</div>

Hello majercak,

Have you tried following this guide?

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

I believe the specific part that the link is pointing to is the one that you need at this point, as I believe that error is notifying us that you haven’t made a _projectname_Server.Target.cs file as of yet.

---

<div class="post-metadata">

**Author:** ![majercak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@majercak](https://forums.unrealengine.com/u/majercak)\
**Post date:** [June 14, 2016, 6:43pm UTC](https://forums.unrealengine.com/t/dedicated-server-error-during-compilation/360716/3 "2016-06-14T18:43:20Z")

</div>

I have _projectname_Server.Target.cs exactly RozproPopServer.Target.cs and I can’t figure it out what I’m missing cause I allready made dedicated server for this project…

I’m still looking for possible mistake

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [June 15, 2016, 1:12pm UTC](https://forums.unrealengine.com/t/dedicated-server-error-during-compilation/360716/4 "2016-06-15T13:12:19Z")

</div>

It seems as though there was another user having this problem previously who managed to fix it by editing his/her Server.Target.cs file. You can find more information here. Maybe comparing the two files he provides can point you in the right direction.

> **[Dedicated Server built wrong](https://forums.unrealengine.com/questions/165992/dedicated-server-built-wrong.html)**
>
> Hello, After a longer time, I tried to build a new dedicated server for our project. It used to work fine, but it does not anymore. When I compiled the server in VS2013, it placed the server files in the binary folder of my project. I then had to...
