chore: make custom target not depend on build

This commit is contained in:
Stevan Freeborn
2026-06-18 22:33:43 -05:00
parent 8051e628f2
commit fd6eebb26d
@@ -39,7 +39,7 @@
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup> </ItemGroup>
<Target Name="IncludeCodeFixInPackage" BeforeTargets="GenerateNuspec" DependsOnTargets="Build"> <Target Name="IncludeCodeFixInPackage" BeforeTargets="GenerateNuspec">
<ItemGroup> <ItemGroup>
<_PackageFiles Include="$(MSBuildProjectDirectory)\..\$(MSBuildProjectName).CodeFixes\bin\$(Configuration)\$(TargetFramework)\$(MSBuildProjectName).CodeFixes.dll"> <_PackageFiles Include="$(MSBuildProjectDirectory)\..\$(MSBuildProjectName).CodeFixes\bin\$(Configuration)\$(TargetFramework)\$(MSBuildProjectName).CodeFixes.dll">
<PackagePath>analyzers/dotnet/cs</PackagePath> <PackagePath>analyzers/dotnet/cs</PackagePath>