# PR: A fix for the two most annoying issues in the ProJucer

**URL:** <https://forum.juce.com/t/pr-a-fix-for-the-two-most-annoying-issues-in-the-projucer/63754>\
**Category:** The Projucer\
**Created:** [October 8, 2024, 7:56pm UTC](https://forum.juce.com/t/pr-a-fix-for-the-two-most-annoying-issues-in-the-projucer/63754 "2024-10-08T19:56:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [October 8, 2024, 7:56pm UTC](https://forum.juce.com/t/pr-a-fix-for-the-two-most-annoying-issues-in-the-projucer/63754/1 "2024-10-08T19:56:30Z")

</div>

I mainly work on macOS, but every time I go to my Windows machine there are two things that drive me insane.

1. If you click “Save and Open in IDE” button and you have multiple version of Visual Studio installed, often the incorrect VS version will launch.
2. If you already have the solution open in VS and then you go back to ProJucer and make a few changes and press “Save and Open in IDE” again, it launches a second copy of VS with solution, unlike on macOS where it just resaves the project and Xcode then reloads it.

The follow PR fixes these issues by checking if the solution is already open before launching and using vswhere.exe to find the correct version of Visual Studio. vswhere.exe is installed with VS 2017 and later.

> <https://github.com/juce-framework/JUCE/pull/1439>
>
> Fixes the 2 most annoying ProJucer bugs on Windows
> 
> 1. If you click "Save and …Open in IDE" often the wrong version of Visual Studio will launch
> 2. If you click "Save and Open in IDE" and Visual Studio is already running, it will open a second copy instead of just letting Visual Studio reload the existing project.
> 
> This change brings the behaviour of the Windows ProJucer in line with the macOS version.

The 3rd annoyance is that is the ProJucer drops support for your VS Exporter it just silently drops it from the project. There should be an upgrade path where it optionally upgrades it to the latest VS version. There should be an upgrade path for exporters on old VS versions as well. I don’t have a fix for this, but I probably will the next time I need to upgrade the VS version of the plugin pack I work on.

---

<div class="post-metadata">

**Author:** ![pflugshaupt](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pflugshaupt/32/13206_2.png) [@pflugshaupt](https://forum.juce.com/u/pflugshaupt)\
**Post date:** [October 9, 2024, 8:47am UTC](https://forum.juce.com/t/pr-a-fix-for-the-two-most-annoying-issues-in-the-projucer/63754/2 "2024-10-09T08:47:42Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![dave96](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/dave96/32/8487_2.png) [@dave96](https://forum.juce.com/u/dave96)\
**Post date:** [October 9, 2024, 8:55am UTC](https://forum.juce.com/t/pr-a-fix-for-the-two-most-annoying-issues-in-the-projucer/63754/3 "2024-10-09T08:55:31Z")

</div>

I agree this is annoying but you know you can just save the project (`ctrl + p`?) and it should reload?

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [October 9, 2024, 9:42am UTC](https://forum.juce.com/t/pr-a-fix-for-the-two-most-annoying-issues-in-the-projucer/63754/4 "2024-10-09T09:42:14Z")

</div>

The Projucer will just use whatever default app is configured on the OS when launching a project. To make it use the VS version selector automatically, without making any changes to the program, just right-click on a .sln file, choose “open with” → “choose another app”, then select “Visual Studio Version Selector” and click the “Always” button.
