How to get the last part of $(MSBuildProjectDirectory)

Posted by Sean on Stack Overflow See other posts from Stack Overflow or by Sean
Published on 2010-04-20T20:53:00Z Indexed on 2010/04/23 0:53 UTC
Read the original article Hit count: 564

Can't figure out how to get the last part of

$(MSBuildProjectDirectory)

For example, if the value was "c:\development\projects\project_branch" then, I want just the last part "project_branch".

Any ideas?

Thanks,

Sean

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about msbuild-task