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

with unity 2018, last modified date is empty #46

Closed
@unitycoder

Description

@unitycoder

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions