Skip to content

Commit

Permalink
Remove SponsorLink code and bring back analyzers
Browse files Browse the repository at this point in the history
The existing analyzers are super helpful for authoring projects. When we removed the CodeAnalysis project entirely to remove SponsorLink, we also lost all authoring analyzers :(

Fixes #462
  • Loading branch information
kzu committed Nov 29, 2023
1 parent 0ff3f4c commit c7432ac
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 44 deletions.
1 change: 0 additions & 1 deletion src/CodeAnalysis/CodeAnalysis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<PackageReference Include="ThisAssembly.AssemblyInfo" Version="1.4.1" PrivateAssets="all" />
<PackageReference Include="ThisAssembly.Strings" Version="1.4.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" Pack="false" />
<PackageReference Include="Devlooped.SponsorLink" Version="0.11.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions src/CodeAnalysis/NuGetizer.CodeAnalysis.targets
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@
</ItemGroup>
</Target>

<ItemGroup Label="SponsorLink">
<SponsorablePackageId Include="NuGetizer" />
</ItemGroup>

</Project>
38 changes: 0 additions & 38 deletions src/CodeAnalysis/SponsorLinker.cs

This file was deleted.

2 changes: 1 addition & 1 deletion src/NuGetizer.Tasks/NuGetizer.Tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ItemGroup>

<ItemGroup>
<!--<ProjectReference Include="..\CodeAnalysis\CodeAnalysis.csproj" ReferenceOutputAssembly="false" />-->
<ProjectReference Include="..\CodeAnalysis\CodeAnalysis.csproj" ReferenceOutputAssembly="false" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit c7432ac

Please sign in to comment.