mirror of
https://github.com/microsoft/playwright-dotnet.git
synced 2026-10-29 14:11:20 +08:00
chore: enable Microsoft.CodeAnalysis.NetAnalyzers (#2639)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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')" />
|
||||
|
||||
Reference in New Issue
Block a user