Visual Studio 2022 Projucer says "invalid paths"

I’ve compiled sucessfully on macOS a lot of times. Now beginning to work on Windows. I did suceed a month ago but now I get absolutely nowhere. Projucer says module paths are invalid when trying to save/open in IDE but they are not invalid.

I’ve checked 10 times and reselected the global paths many times. I use the default locations C:\JUCE and C:\JUCE\modules. Also tried local paths.

If I scan the path (“re-scan JUCE modules”) nothing happens.
Also I can not open any examples, it says “Set path to JUCE” but that path is correct.

Do I have to enter some kind of development/admin mode in Windows or why is this happening. There was some complaint about “Defender unknown program” first time I opened Juce…?

I can open a template project (like PluginBasic) in Visual Studio 2022 but when I compile I get hundreds of errors seems it find nothing juce related.

I trashed the whole JUCE folder and replaced it with a fresh one from the downloaded zip and now it works again. :grinning:

I have no clue why the paths (which are stil the same) did not work properly in the trashed version. It was the same download.

How strange.

I keep having similar issues. It either cant find V143 or it updates MSVS 2022 and 2019 to v143. Then when i try to build, it fails to link to modules. I re-scan to folders then select make local copies of the modules and it seems to work.

Should I be making local copies and do local copies effect end product size, if I deiced I want to share my desktop or mobile app with other people?