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 :
- Go into your project folder.
- Find the YourGame.uproject file and then right click on it and select “generate visual studio file”.
- 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.