File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ Copyright (c) .NET Foundation. All rights reserved.
1717 in case there is a solution/project in the current directory. -->
1818 <EnableDefaultItems Condition =" '$(EnableDefaultItems)' == '' And
1919 '$(DisableDefaultItemsInProjectFolder)' == 'true' And
20- ('$([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), " *.sln" ))' != '' Or
21- $([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), " *.slnx" )) != '' Or
22- $([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), " *.*proj" )) != '')" >false</EnableDefaultItems >
20+ ('$([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), " *.sln" ).Length )' != '0 ' Or
21+ ' $([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), " *.slnx" ).Length)' != '0 ' Or
22+ ' $([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), " *.*proj" ).Length)' != '0 ')" >false</EnableDefaultItems >
2323
2424 <EnableDefaultItems Condition =" '$(EnableDefaultItems)' == '' " >true</EnableDefaultItems >
2525 <EnableDefaultCompileItems Condition =" '$(EnableDefaultCompileItems)' == '' " >true</EnableDefaultCompileItems >
You can’t perform that action at this time.
0 commit comments