mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:25:43 +00:00
build: conditionally reference dotCover (fixes #75)
For CI runs, this package must not be referenced, or symbol validation will fail.
This commit is contained in:
parent
da220c2242
commit
cb48dd2551
@ -95,4 +95,11 @@
|
||||
<ProjectReference Include="..\X10D.SourceGenerator\X10D.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(GITHUB_ACTIONS)' != 'true'">
|
||||
<PackageReference Include="JetBrains.dotCover.MSBuild" Version="1.0.5-alpha">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user