Interface ISolutionFolder
- Assembly
- SunamoDevCode.dll
Interface for solution folder operations
public interface ISolutionFolder
- Extension Methods
Properties
ProjectsGetCsprojs
Gets or sets the list of csproj file paths in this solution.
List<string> ProjectsGetCsprojs { get; set; }
Property Value
ProjectsInSolution
Gets or sets the list of project names referenced in the solution file.
List<string> ProjectsInSolution { get; set; }
Property Value
TypeProjectFolder
Gets or sets the project type classification for the folder.
ProjectsTypes TypeProjectFolder { get; set; }
Property Value
Methods
ExeToRelease(SolutionFolder, string, bool, bool, bool)
Returns the path to the release executable for this solution.
string? ExeToRelease(SolutionFolder sln, string projectDistinction, bool isStandaloneSlnForProject, bool isAddingProtectedWhenSelling = false, bool isPublishing = false)
Parameters
slnSolutionFolderSolution folder reference.
projectDistinctionstringProject distinction identifier.
isStandaloneSlnForProjectboolWhether this is a standalone sln for a single project.
isAddingProtectedWhenSellingboolWhether to add protection when selling.
isPublishingboolWhether this is for a publish operation.
Returns
- string
Path to the release executable.
HaveGitFolder()
Determines whether this solution folder contains a .git directory.
bool HaveGitFolder()
Returns
- bool
True if a .git folder exists.
ToString()
Returns a string representation of the solution folder.
string ToString()
Returns
- string
String representation.
UpdateModules(ILogger, PpkOnDriveDC)
Updates git submodules for this solution.
void UpdateModules(ILogger logger, PpkOnDriveDC toSelling)
Parameters
loggerILoggerLogger instance.
toSellingPpkOnDriveDCPackage configuration.