|Posted by Rufus Smith|
in reply to Rainer Schuetze
Posted in reply to Rainer Schuetze
On Thursday, 21 July 2016 at 21:05:25 UTC, Rainer Schuetze wrote:
> On 20.07.2016 23:58, Rufus Smith wrote:
>> Not sure if this is a VS or VD bug. Removing folders and files outside
>> Visual Studio, while they are still open, then trying to close them
>> locks up VS. Every interaction produces an insufficient memory type of
> Works here. If the folder is removed the "save as" dialog is shown when trying to save a file. Also tried on a project, no problem.
Ok, I get this error a lot.
Create a new VD project. Drag and drop some library files hierarchy stuff from some project or create a bunch of folders and dummy d files in Windows explorer(not in Visual studio, as the folders are not true folders).
Once you have some hierarchy created, drag the root folder in to the VD project solution. It should pop all the files in their.
Open up all the d files. Make some changes(dummy space) in some, rename some folders and files inside VS, rename some folders and files to different stuff in windows explorer(or whatever file manager you use). Try to build.
Keep on doing this for about 1-5 mins. You should eventually end up with something that causes an insufficient memory problem and then everything you try to do after will produce that error and you'll have to kill VS.
I get it when I keep a d file open in VS but remove it inside VS or the directory it contains inside the solutions project.
If you can't duplicate it I'll create a dummy project that should do it. It is somewhat random though.
Also, can you add a DMD, GDC, LDC project type. I always have to add one or the other manually.