You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've never seen a project put version in Directory.Build.targets before (I normally see it in Directory.Build.props), but if that's an actual use case, I suppose it would be easy to add (basically the same as this commit to support *.props files).
We'd be happy to add the targets file as a supported extension. But in your example snippet it still wouldn't work because Versionize only works with explicit version numbers (e.g. 1.2.3); not evaluated ones e.g. $(VersionPrefix). This is because Versionize is responsible for writing the updated version back to the file where it read from.
I had defined the
Version
prop in theDirectory.Build.targets
file in the project root folder, but it seemed it's not foundhttps://github.com/WeihanLi/dotnet-exec/blob/4a918d632944c4093fc688e26ad802497c78e6ee/Directory.Build.targets
The text was updated successfully, but these errors were encountered: