Class ProjectGeneration
Inheritance
ProjectGeneration
Assembly: Unity.VSCode.Editor.dll
Syntax
public class ProjectGeneration : IGenerator
Constructors
ProjectGeneration(string)
Declaration
public ProjectGeneration(string tempDirectory)
Parameters
| Type |
Name |
Description |
| string |
tempDirectory |
|
ProjectGeneration(string, IAssemblyNameProvider, IFileIO, IGUIDGenerator)
Declaration
public ProjectGeneration(string tempDirectory, IAssemblyNameProvider assemblyNameProvider, IFileIO fileIO, IGUIDGenerator guidGenerator)
Parameters
Fields
MSBuildNamespaceUri
Declaration
public static readonly string MSBuildNamespaceUri
Field Value
Properties
ProjectDirectory
Declaration
public string ProjectDirectory { get; }
Property Value
Methods
GenerateAll(bool)
Declaration
public void GenerateAll(bool generateAll)
Parameters
| Type |
Name |
Description |
| bool |
generateAll |
|
GenerateAndWriteSolutionAndProjects()
Declaration
public void GenerateAndWriteSolutionAndProjects()
ProjectFile(Assembly)
Declaration
public string ProjectFile(Assembly assembly)
Parameters
Returns
SolutionExists()
Declaration
public bool SolutionExists()
Returns
SolutionFile()
Declaration
public string SolutionFile()
Returns
Sync()
Declaration
SyncIfNeeded(List<string>, string[])
Syncs the scripting solution if any affected files are relevant.
Declaration
public bool SyncIfNeeded(List<string> affectedFiles, string[] reimportedFiles)
Parameters
| Type |
Name |
Description |
| List<string> |
affectedFiles |
A set of files whose status has changed
|
| string[] |
reimportedFiles |
A set of files that got reimported
|
Returns
| Type |
Description |
| bool |
Whether the solution was synced.
|
Implements