Sources folder is already NetBeans project (maybe only in memory)

netbeans, php

Solution

`nbproject` folder is for current NetBeans files, as your recent opened files or any other settings. If you had some important changes in settings in your old `nbproject`, and all the files/paths are the same - you can overwrite new with old one, but i believe that's not the case.

Problem

I am trying to create a php application with existing source in NetBeans. So I opened my NetBeans > File > New Project > PHP Application with existing source, After clicking NEXT it went to 'Name and Location' page. after browsing my source folder I get this error Sources folder is already NetBeans project (maybe only in memory). I went to my source folder and removed 'nbproject' folder. After that I was able to create project successfully. After that I noticed NetBeans generated new 'nbproject' folder. Should I replace the new 'nbproject' folder created by NetBeans with my old 'nbproject' folder?

Original source

Related problems