Skip to content

Commit d940e9c

Browse files
Fix dependency
Fix Microsoft.CodeAnalysis.PublicApiAnalyzers being incorrectly included as a dependency of projects consuming the package.
1 parent 08ffee7 commit d940e9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MartinCostello.BrowserStack.Automate/MartinCostello.BrowserStack.Automate.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" VersionOverride="8.0.0" />
2828
</ItemGroup>
2929
<ItemGroup>
30-
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" />
30+
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="All" />
3131
</ItemGroup>
3232
<ItemGroup>
3333
<AdditionalFiles Include="PublicAPI\PublicAPI.Shipped.txt" />

tests/MartinCostello.BrowserStack.Automate.Tests/MartinCostello.BrowserStack.Automate.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Description>Tests for MartinCostello.BrowserStack.Automate.</Description>
44
<IsPackable>false</IsPackable>
55
<IsTestProject>true</IsTestProject>
6-
<NoWarn>$(NoWarn);CA1707;CA2007;SA1600;RS0016;RS0037</NoWarn>
6+
<NoWarn>$(NoWarn);CA1707;CA2007;SA1600</NoWarn>
77
<RootNamespace>MartinCostello.BrowserStack.Automate</RootNamespace>
88
<TargetFramework>net8.0</TargetFramework>
99
<UserSecretsId>MartinCostello.BrowserStack.Automate</UserSecretsId>

0 commit comments

Comments
 (0)