Skip to content

Commit a6f667b

Browse files
authored
Add SkipAnalyzers=true to component declaration compilation (#25736)
* Update to latest SDK * React to platform compatibility analyzer warnings * React to new warnings * Add platform compatibility attributes * Add SkipAnalyzers=true to component declaration compilation Fixes #25365 * Update eng/Version.Details.xml * Update Versions.props * Update Version.Details.xml * Update Versions.props * Update Version.Details.xml
1 parent 6c29f44 commit a6f667b

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

eng/Version.Details.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
-->
1010
<Dependencies>
1111
<ProductDependencies>
12-
<Dependency Name="Microsoft.AspNetCore.Components.WebAssembly.Runtime" Version="3.2.0">
13-
<Uri>https://github.com/dotnet/blazor</Uri>
14-
<Sha>cc449601d638ffaab58ae9487f0fd010bb178a12</Sha>
15-
</Dependency>
1612
<Dependency Name="dotnet-ef" Version="5.0.0-rc.2.20462.2">
1713
<Uri>https://github.com/dotnet/efcore</Uri>
1814
<Sha>56c241b562cbf75673cfd56dd496d72cfce32dfe</Sha>
@@ -324,9 +320,9 @@
324320
<Uri>https://github.com/dotnet/arcade</Uri>
325321
<Sha>91470b0b14ba016c1fb78211b12775287c17b34e</Sha>
326322
</Dependency>
327-
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="3.8.0-2.20403.2" Pinned="true">
323+
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="3.8.0-3.20458.6" Pinned="true">
328324
<Uri>https://github.com/dotnet/roslyn</Uri>
329-
<Sha>b6a07e61473ed8a804de465f7c1cb5c17f80732d</Sha>
325+
<Sha>b446afd34759150c2ea3b86ab794104e12e64db1</Sha>
330326
</Dependency>
331327
</ToolsetDependencies>
332328
</Dependencies>

eng/Versions.props

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
-->
6363
<PropertyGroup Label="Automated">
6464
<!-- Packages from dotnet/roslyn -->
65-
<MicrosoftNetCompilersToolsetPackageVersion>3.8.0-2.20403.2</MicrosoftNetCompilersToolsetPackageVersion>
65+
<MicrosoftNetCompilersToolsetPackageVersion>3.8.0-3.20458.6</MicrosoftNetCompilersToolsetPackageVersion>
6666
<!-- Packages from dotnet/runtime -->
6767
<MicrosoftExtensionsDependencyModelPackageVersion>5.0.0-rc.2.20462.5</MicrosoftExtensionsDependencyModelPackageVersion>
6868
<MicrosoftNETCoreAppInternalPackageVersion>5.0.0-rc.2.20462.5</MicrosoftNETCoreAppInternalPackageVersion>
@@ -130,8 +130,6 @@
130130
<SystemWindowsExtensionsPackageVersion>5.0.0-rc.2.20462.5</SystemWindowsExtensionsPackageVersion>
131131
<!-- Only listed explicitly to workaround https://github.com/dotnet/cli/issues/10528 -->
132132
<MicrosoftNETCorePlatformsPackageVersion>5.0.0-rc.2.20462.5</MicrosoftNETCorePlatformsPackageVersion>
133-
<!-- Packages from dotnet/blazor -->
134-
<MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion>3.2.0</MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion>
135133
<!-- Packages from dotnet/efcore -->
136134
<dotnetefPackageVersion>5.0.0-rc.2.20462.2</dotnetefPackageVersion>
137135
<MicrosoftEntityFrameworkCoreInMemoryPackageVersion>5.0.0-rc.2.20462.2</MicrosoftEntityFrameworkCoreInMemoryPackageVersion>

src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Component.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ Copyright (c) .NET Foundation. All rights reserved.
234234
ResponseFiles="$(CompilerResponseFile)"
235235
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
236236
SharedCompilationId="$(SharedCompilationId)"
237+
SkipAnalyzers="true"
237238
SkipCompilerExecution="$(SkipCompilerExecution)"
238239
Sources="@(_RazorComponentDeclaration);@(Compile)"
239240
SubsystemVersion="$(SubsystemVersion)"

0 commit comments

Comments
 (0)