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

with unity 2018, last modified date is empty #46

Closed
unitycoder opened this issue Mar 22, 2018 · 0 comments
Closed

with unity 2018, last modified date is empty #46

unitycoder opened this issue Mar 22, 2018 · 0 comments

Comments

@unitycoder
Copy link
Owner

unitycoder commented Mar 22, 2018

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

@unitycoder unitycoder changed the title 2018, last modified date is empty with unity 2018, last modified date is empty Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant