This repository was archived by the owner on May 19, 2021. It is now read-only.

Description
probably filename have changed etc.
*actually just need to add projectname.sln check, adding for next build..
|
string csprojFile = Path.Combine(projectPath, projectName + ".csproj"); |
|
|
|
// editor only project |
|
if (File.Exists(csprojFile) == false) |
|
{ |
|
csprojFile = Path.Combine(projectPath, projectName + ".Editor.csproj"); |
|
} |
|
|
|
// maybe 4.x project |
|
if (File.Exists(csprojFile) == false) |
|
{ |
|
csprojFile = Path.Combine(projectPath, "Assembly-CSharp.csproj"); |
|
} |
|
|
|
// get last modified date |
|
DateTime? lastUpdated = Tools.GetLastModifiedTime(csprojFile); |