Class UniqueCsprojs
- Namespace
- SunamoDevCode.Data
- Assembly
- SunamoDevCode.dll
EN: Loads all csproj in directory, can convert from path to name and vice versa CZ: Načte všechny csproj v dir, umí převádět z cesty na název a vice versa
public static class UniqueCsprojs
- Inheritance
-
UniqueCsprojs
- Inherited Members
Methods
AddFromSlnFolder(CsprojsInSolution)
Populates the dictionary with csproj names and paths from the given solution if not already populated.
public static void AddFromSlnFolder(CsprojsInSolution csprojsInSolution)
Parameters
csprojsInSolutionCsprojsInSolutionSolution containing csproj paths to add.
ToName(string)
Converts a csproj file path to its project name (file name without extension).
public static string ToName(string csprojPath)
Parameters
csprojPathstringFull path to the csproj file.
Returns
- string
Project name extracted from the path.
ToPath(string)
EN: Converts to csproj path, not to folder path CZ: Převede na csproj path, nikoliv na cestu ke složce
public static string ToPath(string projectName)
Parameters
projectNamestring