2
0
Эх сурвалжийг харах

Merge pull request #27854 from dotnet-maestro-bot/merge/release/5.0-to-master

[automated] Merge branch 'release/5.0' => 'master'
msftbot[bot] 5 жил өмнө
parent
commit
940dcb0aba

+ 2 - 0
src/SiteExtensions/Sdk/HostingStartup/HostingStartup.csproj

@@ -4,6 +4,8 @@
     <TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
     <OutputType>Exe</OutputType>
     <DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
+    <!-- No need to track public APIs of this tool. -->
+    <AddPublicApiAnalyzers>false</AddPublicApiAnalyzers>
   </PropertyGroup>
 
   <ItemGroup>

+ 0 - 4
src/SiteExtensions/Sdk/HostingStartup/PublicAPI.Shipped.txt

@@ -1,4 +0,0 @@
-#nullable enable
-Program
-Program.Program() -> void
-static Program.Main() -> void

+ 0 - 1
src/SiteExtensions/Sdk/HostingStartup/PublicAPI.Unshipped.txt

@@ -1 +0,0 @@
-#nullable enable

+ 1 - 0
src/SiteExtensions/Sdk/SiteExtension.targets

@@ -42,6 +42,7 @@
 
     <ItemGroup>
       <_TemplateFiles Include="$(MSBuildThisFileDirectory)\HostingStartup\*.cs*" />
+      <_TemplateFiles Include="$(MSBuildThisFileDirectory)\HostingStartup\PublicAPI.*.txt*" />
       <!--
         Always use Major.Minor.0 so that if we have to produce a new SiteExtension during a patch build it will still work for non-patch runtimes.
         i.e. 3.0.0 dotnet will search for 3.0.0 and below and wouldn't find a 3.0.1 folder path