ThisAssembly.Git exception when project has Git submodule #303
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the Bug
ThisAssembly.Git produces a build error when solution has Git submodules
ThisAssembly.Git.targets(71,7): error MSB4184: The expression "[System.IO.File]::ReadAllText(/path/;/path/anotherpath/.git/HEAD)" cannot be evaluated. Could not find a part of the path '/path/;/path/anotherpath/.git/HEAD'
Issue is in ThisAssembly.Git.targets line 71
$([System.IO.File]::ReadAllText
I believe because
@(SourceRoot)
will also return submodule informationThe text was updated successfully, but these errors were encountered: