Skip to content

Commit 1cd85c3

Browse files
Fix SiteExtension build and warning (dotnet#21131)
1 parent f3e4eba commit 1cd85c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SiteExtensions/LoggingBranch/Directory.Build.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@
2222
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
2323
</PropertyGroup>
2424

25-
<!-- No code in this project to compile. -->
26-
<Target Name="Compile" />
27-
2825
</Project>

src/SiteExtensions/LoggingBranch/LB.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<IncludeSymbols>false</IncludeSymbols>
1717
<NoSemVer20>true</NoSemVer20>
1818
<IsShippingPackage>false</IsShippingPackage>
19+
20+
<!-- No source files -->
21+
<NoWarn>$(NoWarn);CS2008</NoWarn>
1922
</PropertyGroup>
2023

2124
<ItemGroup>

0 commit comments

Comments
 (0)