2023-03-28 13:24:16 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.Unity.VisualStudio.Editor
|
|
|
|
|
{
|
|
|
|
|
internal class ProjectProperties
|
|
|
|
|
{
|
|
|
|
|
public string ProjectGuid { get; set; } = string.Empty;
|
|
|
|
|
public string LangVersion { get; set; } = "latest";
|
|
|
|
|
public string AssemblyName { get; set; } = string.Empty;
|
|
|
|
|
public string RootNamespace { get; set; } = string.Empty;
|
|
|
|
|
public string OutputPath { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
// Analyzers
|
|
|
|
|
public string[] Analyzers { get; set; } = Array.Empty<string>();
|
|
|
|
|
public string RulesetPath { get; set; } = string.Empty;
|
2023-05-07 18:43:11 -04:00
|
|
|
|
public string AnalyzerConfigPath { get; set; } = string.Empty;
|
|
|
|
|
// Source generators
|
|
|
|
|
public string[] AdditionalFilePaths { get; set; } = Array.Empty<string>();
|
2023-03-28 13:24:16 -04:00
|
|
|
|
|
|
|
|
|
// RSP alterable
|
|
|
|
|
public string[] Defines { get; set; } = Array.Empty<string>();
|
|
|
|
|
public bool Unsafe { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
// VSTU Flavouring
|
|
|
|
|
public string FlavoringProjectType { get; set; } = string.Empty;
|
|
|
|
|
public string FlavoringBuildTarget { get; set; } = string.Empty;
|
|
|
|
|
public string FlavoringUnityVersion { get; set; } = string.Empty;
|
|
|
|
|
public string FlavoringPackageVersion { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|