Skip to content

Commit

Permalink
Allow specifying a property to ignore the use of build-time packages …
Browse files Browse the repository at this point in the history
…for versioning and analysis
  • Loading branch information
baronfel authored and patriksvensson committed Jan 3, 2024
1 parent 7cf7e84 commit e7ce6a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup Label="Package References">

<!-- Allow folks to build with minimal dependencies (though they will need to provide their own Version data) -->
<ItemGroup Label="Build Tools Package References" Condition="'$(UseBuildTimeTools)' != 'false'">
<PackageReference Include="MinVer" PrivateAssets="All" Version="4.2.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.1.1" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435">
Expand Down

0 comments on commit e7ce6a6

Please sign in to comment.