x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

SLN is generated with no folders

I've been working on a project for a while, and suddenly after adding a few more C++ files, when I run generate project files, my SLN is generated with no folders. My game compiles and runs fine, as normal. I'm using 4.18.3 using the Epic Games Launcher, and Visual Studio Community 2017.

I've tried deleting the SLN and re-generating. Still produces the same problem.

Can anyone suggest how to debug this?

Product Version: UE 4.18
Tags:
more ▼

asked Feb 09 '18 at 06:07 PM in C++ Programming

avatar image

benhumphreys
108 14 23 31

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

OK I "solved" this by deleting everything that's generated in my project directory. I deleted the following and it fixed the problem:

  • .vs

  • Binaries

  • Debug

  • Intermediate

  • Saved

  • ProjectName.sln

  • ProjectName.VC.db

more ▼

answered Feb 09 '18 at 06:27 PM

avatar image

benhumphreys
108 14 23 31

avatar image Jin_VE Feb 09 '18 at 07:35 PM

Glad you figured it out: when all else fails, delete those folders/files. When things go horribly wrong, it's the next-to-last resort (the last resort is fully removing and reinstalling UE4).

But it's usually OK to leave .vs and .db. That way you don't loose your solution settings and VS won't have to spend an hour rebuilding the database.

Don't forget to choose your answer to mark the question as solved.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question