Windows 10. I am completely new to trying JUCE on Windows and VS 2019, but is this normal? I have the Projucer file of a simple plugin project open. I use the exporter button to open it in VS 2019. So far, so good.
I make a change to the configurations settings in the Projucer file, and hit the export button again.
On the Mac, this simply takes me back to the same Xcode project, with the changes applied.
On Windows 10, this launches a completely new VS 2019 solution, which gives a window with an error about Intellisense data:
Visual C++ examined the folder "C:\Users\sk\Documents\My JUCE\PanProcessorWidth05\Builds\VisualStudio2019\.vs\PanProcessorWidth\v16." This folder is not suitable because of the following:
The browsing database in this directory is open by another instance of Visual Studio and cannot be reopened. User stephen on WINDOWS10-DEV has it open.
Any way around this?
I just recently discovered you should not use the āexport to IDEā button in Projucer in that situation. Instead, you should use the command āSave projectā (shortcut Control+P in Windows) in Projucer. Visual Studio will still prompt when you go back to it, but in that case you can just tell it to reload the files and things should probably work OK.
Thanks - is it necessary to use āReload Allā, or can you just use āReloadā?
āReload allā is probably safer.
Just tried that. Visual Studio crashed. 
Will test some moreā¦
Well, the thing that worked for me for years was to quit Visual Studio and then re-export from the Projucerā¦(I only made some quick tests with Visual Studio 2017 when I was told about the other way to do it in the Projucer.)
1 Like
Yeah, I guess I can quit and relaunch if I need to modify the Projucer file. I just got spoiled in MacOSā¦
Iāve been doing the same thing in macOs (quit Xcode and only then re-export from Projucer). Maybe it hasnāt been necessary?
Not necessary at all. You can add new source files, rearrange their order and folders, change compile time settings in Projucer, then hit the export button and watch the new files get added and rearranged right into the already open Xcode project.
I think the safest workflow is to never use āOpen in IDEā¦ā or the exporter button.
What I usually do is:
- start Visual Studio from its shortcut on the taskbar (created by āPin to taskbarā)
- open the solution Iām interested in (either from the list of recent projects or by browsing)
- in Projucer, use āSave Projectā (Ctrl+P) anytime I change some project settings
- in Visual Studio, click on āReload Allā to make sure that everything is up-to-date (and also to avoid clicking on āReloadā for each project)
Itās quite stable, though I canāt guarantee that Iāve never experienced a crash. But itās Windows, itās kind of expected 
1 Like
I usually just close VS Studio, modify the Projucer project, then reopen VS Studio using āOpen in IDEā¦ā in Projucer.
Iām using Windows 10 for 3 years now and havenāt had a single crash, so I wouldnāt expect any.