Issue with visual studio when building solution

Hello, I am doing a game with a dedicated server.

I have downloaded the source of UE 4.26 and built it (development editor for win64) without issues.
I have then switch version of my game to my source and then build for Development editor win 64 without issues.

Now I am supposed to build for Development server win 64 but when changing it in the tool bar of visual studio directly and then build an error occurs and it said the configuration is invalid.
So I opened the configuration manager and see that it is true, my project as an invalid configuration for development server win 64.
But if I click on invalid, I have a lot of things (dev editor, etc…) but nothing for developement server…

What should I do to be able to have this configuration ?
Thank you a lot for your help and time…

All the best

Ok, I found the solution !
For anyone that is having the same issue; the reason why I was having this problem is because I hadn’t “generate visual studio file” on the uproject.

Some explaination if I am not understandable :

  1. Go into your project folder.
  2. Find the YourGame.uproject file and then right click on it and select “generate visual studio file”.
  3. Open visual studio and then you should see the correct configuration.
    Otherwise, maybe it is caused by your file YourGameservertarget.cs that isn’t good.
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.