Skip to content

Commit

Permalink
chore: enable Microsoft.CodeAnalysis.NetAnalyzers (#2639)
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau authored Jul 14, 2023
1 parent db21766 commit b768b4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/Common/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.2.32">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down
2 changes: 0 additions & 2 deletions src/Playwright/Playwright.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
<None Include="build\**" Pack="true" PackagePath="buildTransitive" />
<None Include="build\**" Pack="true" PackagePath="build" />
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
<None Remove="Roslynator.Analyzers" />
<None Remove="Microsoft.VisualStudio.Threading.Analyzers" />
</ItemGroup>
<Target Name="EnsurePrerequisitsRan" BeforeTargets="DedupeDriver">
<Error Text="Playwright prerequisites are missing. Ensure you've ran `dotnet run --project ./src/tools/Playwright.Tooling/Playwright.Tooling.csproj -- download-drivers --basepath .`" Condition="!Exists('$(MSBuildProjectDirectory)\.drivers')" />
Expand Down

0 comments on commit b768b4d

Please sign in to comment.