Skip to content

Commit 71ac9b8

Browse files
author
terry
committed
Fixed Git submodule issue in ThisAssembly.Git.targets
1 parent 8491381 commit 71ac9b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ThisAssembly.Git/ThisAssembly.Git.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555

5656
<!-- Add SourceRoot as a project property too -->
5757
<ItemGroup>
58-
<_ThisAssemblyGitSourceRoot Include="@(SourceRoot -> WithMetadataValue('SourceControl', 'git'))" />
58+
<_ThisAssemblyGitSourceRoot Include="@(SourceRoot -> WithMetadataValue('SourceControl', 'git'))"
59+
Exclude="@(SourceRoot -> HasMetadata('NestedRoot'))" />
5960
</ItemGroup>
6061

6162
<PropertyGroup>

0 commit comments

Comments
 (0)