Skip to content

Commit 963540a

Browse files
authored
Exclude NoTargets projects from SlnGen consideration (#641)
1 parent 0d2dbdd commit 963540a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NoTargets/Sdk/Sdk.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656

5757
<!-- Disable Visual Studio's Fast Up-to-date Check and rely on MSBuild to determine -->
5858
<DisableFastUpToDateCheck Condition="'$(DisableFastUpToDateCheck)' == ''">true</DisableFastUpToDateCheck>
59+
60+
<!-- Exclude from SlnGen consideration since NoTargets projects do not need to be seen nor built in VS. -->
61+
<IncludeInSolutionFile>false</IncludeInSolutionFile>
5962
</PropertyGroup>
6063

6164
<ItemDefinitionGroup Condition=" '$(NoTargetsDoNotReferenceOutputAssemblies)' != 'false' ">

0 commit comments

Comments
 (0)