You've already forked com.unity.ide.cursor
mirror of
https://github.com/boxqkrtm/com.unity.ide.cursor.git
synced 2026-05-14 22:30:10 +00:00
## [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).
21 lines
688 B
C#
21 lines
688 B
C#
namespace Microsoft.Unity.VisualStudio.Editor
|
|
{
|
|
public interface IGUIDGenerator
|
|
{
|
|
string ProjectGuid(string projectName, string assemblyName);
|
|
string SolutionGuid(string projectName, ScriptingLanguage scriptingLanguage);
|
|
}
|
|
|
|
class GUIDProvider : IGUIDGenerator
|
|
{
|
|
public string ProjectGuid(string projectName, string assemblyName)
|
|
{
|
|
return SolutionGuidGenerator.GuidForProject(projectName + assemblyName);
|
|
}
|
|
|
|
public string SolutionGuid(string projectName, ScriptingLanguage scriptingLanguage)
|
|
{
|
|
return SolutionGuidGenerator.GuidForSolution(projectName, scriptingLanguage);
|
|
}
|
|
}
|
|
} |