com.unity.ide.visualstudio@2.0.1

## [2.0.1] - 2020-03-19

When Visual Studio installation is compatible with C# 8.0, setup the language version to not prompt the user with unsupported constructs. (So far Unity only supports C# 7.3).
Use Unity's TypeCache to improve project generation speed.
Properly check for a managed assembly before displaying a warning regarding legacy PDB usage.
Add support for selective project generation (embedded, local, registry, git, builtin, player).
This commit is contained in:
Unity Technologies
2020-03-19 00:00:00 +00:00
parent fb1154211c
commit ad189f9be4
19 changed files with 650 additions and 333 deletions

View File

@@ -31,6 +31,20 @@ namespace Microsoft.Unity.VisualStudio.Editor
}
}
public bool SupportsCSharp8
{
get
{
if (VisualStudioEditor.IsWindows)
return Version >= new Version(16, 0);
if (VisualStudioEditor.IsOSX)
return Version >= new Version(8, 2);
return false;
}
}
private static string ReadRegistry(RegistryKey hive, string keyName, string valueName)
{
try