Skip to content

Commit

Permalink
Add missing check for NuGetizer.props import from scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Aug 8, 2024
1 parent aab95bd commit fe05ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGetizer.Tests/Scenarios/Scenario.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
<Compile Include="$(MSBuildThisFileDirectory)_._" />
</ItemGroup>

<Import Project="$(NuGetTargetsPath)\NuGetizer.props" Condition="'$(NuGetizerPropsImported)' != 'true'" />
<Import Project="$(NuGetTargetsPath)\NuGetizer.props" Condition="'$(NuGetizerPropsImported)' != 'true' and Exists('$(NuGetTargetsPath)\NuGetizer.props')" />
</Project>

0 comments on commit fe05ff5

Please sign in to comment.