Repository: godot
Issue: Godot cannot find MSBuild.exe with the Visual Studio 2019 Preview
Labels: bug,topic:dotnet

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
v3.1.1 stable mono x64


**OS/device including version:**
Windows 10 Pro 64-bit (10.0.17763)
NVIDIA RTX 2080 Ti (Driver Version: 430.86)


**Issue description:**
Godot is unable to find MSBuild, when only using VS 2019 Preview.
This issue is closely releated to #27269
The problem occures, because the vswhere executable is executed with _-release_, but VS 2019 Preview requires _-prerelease_ to be detected.


**Steps to reproduce:**

1. Uninstall all Visual Studio versions
2. Install VS 2019 Preview
3. Try to run any godot solution, that has an C# script.


**Example output**
```
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild
```
->
```
Visual Studio Locator version 2.6.7+91f4c1d09e [query version 2.1.1046.44959]
Copyright (C) Microsoft Corporation. All rights reserved.
```

```
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -prerelease -products * -requires Microsoft.Component.MSBuild
```
->
```
Visual Studio Locator version 2.6.7+91f4c1d09e [query version 2.1.1046.44959]
Copyright (C) Microsoft Corporation. All rights reserved.

instanceId: 2425be05
installDate: 28/05/2019 19:30:23
installationName: VisualStudioPreview/16.2.0-pre.1.0+28917.182
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview
installationVersion: 16.2.28917.182
productId: Microsoft.VisualStudio.Product.Enterprise
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe
state: 4294967295
isComplete: 1
isLaunchable: 1
isPrerelease: 1
isRebootRequired: 0
displayName: Visual Studio Enterprise 2019
description: Microsoft DevOps solution for productivity and coordination across teams of any size
channelId: VisualStudio.16.Preview
channelUri: https://aka.ms/vs/16/pre/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660894#16.2.0-pre.1.0
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660909
updateDate: 2019-05-28T17:30:23.8501785Z
catalog_buildBranch: d16.2
catalog_buildVersion: 16.2.28917.182
catalog_id: VisualStudioPreview/16.2.0-pre.1.0+28917.182
catalog_localBuild: build-lab
catalog_manifestName: VisualStudioPreview
catalog_manifestType: installer
catalog_productDisplayVersion: 16.2.0 Preview 1.0
catalog_productLine: Dev16
catalog_productLineVersion: 2019
catalog_productMilestone: Preview
catalog_productMilestoneIsPreRelease: True
catalog_productName: Visual Studio
catalog_productPatchVersion: 0
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productSemanticVersion: 16.2.0-pre.1.0+28917.182
catalog_requiredEngineVersion: 2.2.10.34532
properties_campaignId:
properties_channelManifestId: VisualStudio.16.Preview/16.2.0-pre.1.0+28917.182
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe
```