Skip to content

Commit 713ebba

Browse files
committed
Cleanup
1 parent 9d9f317 commit 713ebba

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,21 +1316,17 @@ Copyright (c) .NET Foundation. All rights reserved.
13161316
</Target>
13171317

13181318
<Target Name="ValidateExecutableReferences"
1319-
Condition="'$(ValidateExecutableReferencesMatchSelfContained)' != 'false'">
1319+
DependsOnTargets="_CalculateIsVSTestTestProject"
1320+
AfterTargets="_GetProjectReferenceTargetFrameworkProperties">
13201321

13211322
<ValidateExecutableReferences
1323+
Condition="'$(ValidateExecutableReferencesMatchSelfContained)' != 'false'"
13221324
SelfContained="$(SelfContained)"
13231325
IsExecutable="$(_IsExecutable)"
13241326
ReferencedProjects="@(_MSBuildProjectReferenceExistent)"
13251327
UseAttributeForTargetFrameworkInfoPropertyNames="$(_UseAttributeForTargetFrameworkInfoPropertyNames)"/>
13261328
</Target>
13271329

1328-
<Target Name="ValidateExecutableReferencesCore"
1329-
DependsOnTargets="_CalculateIsVSTestTestProject;ValidateExecutableReferences"
1330-
AfterTargets="_GetProjectReferenceTargetFrameworkProperties">
1331-
1332-
</Target>
1333-
13341330
<!--
13351331
============================================================
13361332
Command Line Configuration Validation

0 commit comments

Comments
 (0)