File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 99 <Import Project =" ..\build\SmallSharp.targets" />
1010
1111 <Target Name =" ImplicitPackageReferenceFromStartupFile"
12- BeforeTargets =" _GenerateProjectRestoreGraphPerFramework;ResolvePackageAssets;CompileDesignTime;CollectUpToDateCheckInputDesignTime"
12+ BeforeTargets =" _GenerateProjectRestoreGraphPerFramework;ResolvePackageAssets;CompileDesignTime;CollectUpToDateCheckInputDesignTime;CollectPackageReferences "
1313 DependsOnTargets =" StartupFile"
1414 Condition =" '$(StartupFile)' != '' and Exists('$(StartupFile)')" >
1515
2121 <ItemGroup >
2222 <_PkgLines Include =" @(_StartupFileLines)"
2323 Condition =" $([MSBuild]::ValueOrDefault('%(Identity)', '').StartsWith('#:package '))" />
24+ </ItemGroup >
2425
26+ <ItemGroup Condition =" '@(_PkgLines)' != ''" >
2527 <_PkgReference Include =" $([MSBuild]::ValueOrDefault('%(_PkgLines.Identity)', '').Substring(10))" />
2628
2729 <PackageReference Condition =" '@(_PkgReference)' != ''" Include =" $([MSBuild]::ValueOrDefault('%(_PkgReference.Identity)', '').Split('@')[0])" >
You can’t perform that action at this time.
0 commit comments