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

@@ -15,9 +15,9 @@ namespace Microsoft.Unity.VisualStudio.Editor
private static readonly Regex PropertiesDeclaration = new Regex(@"GlobalSection\((?<name>[\w]+Properties)\)\s+=\s+(?<type>(?:post|pre)Solution)(?<entries>.*?)EndGlobalSection", RegexOptions.Singleline | RegexOptions.ExplicitCapture);
private static readonly Regex PropertiesEntryDeclaration = new Regex(@"^\s*(?<key>.*?)=(?<value>.*?)$", RegexOptions.Multiline | RegexOptions.ExplicitCapture);
public static Solution ParseSolutionFile(string filename)
public static Solution ParseSolutionFile(string filename, IFileIO fileIO)
{
return ParseSolutionContent(File.ReadAllText(filename));
return ParseSolutionContent(fileIO.ReadAllText(filename));
}
public static Solution ParseSolutionContent(string content)