Skip to content

Commit

Permalink
[blazor] Disable dotnet.js fingerprinting for .NET 8 (#31829)
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf authored May 29, 2023
1 parent 60502d0 commit 3fec5f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ Copyright (c) .NET Foundation. All rights reserved.
<_AggressiveAttributeTrimming Condition="'$(_AggressiveAttributeTrimming)' == ''">true</_AggressiveAttributeTrimming>
<DebuggerSupport Condition="'$(DebuggerSupport)' == '' and '$(Configuration)' != 'Debug'">false</DebuggerSupport>
<BlazorCacheBootResources Condition="'$(BlazorCacheBootResources)' == ''">true</BlazorCacheBootResources>
<WasmFingerprintDotnetJs>true</WasmFingerprintDotnetJs>


<_TargetingNET80OrLater>$([MSBuild]::VersionGreaterThanOrEquals('$(TargetFrameworkVersion)', '8.0'))</_TargetingNET80OrLater>
<WasmFingerprintDotnetJs>true</WasmFingerprintDotnetJs>
<WasmFingerprintDotnetJs Condition="'$(_TargetingNET80OrLater)' == 'true'">false</WasmFingerprintDotnetJs>
<WasmEnableWebcil Condition="'$(WasmEnableWebcil)' == '' and ('$(TargetFrameworkIdentifier)' != '.NETCoreApp' or '$(_TargetingNET80OrLater)' != 'true')">false</WasmEnableWebcil>

<!-- Don't generate a NETSDK1151 error if a non self-contained Exe references a Blazor Exe -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -881,8 +881,6 @@
"${OutputPath}\\wwwroot\\_framework\\dotnet.js.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.wasm",
"${OutputPath}\\wwwroot\\_framework\\dotnet.wasm.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,6 @@
"${OutputPath}\\wwwroot\\_framework\\dotnet.js.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.wasm",
"${OutputPath}\\wwwroot\\_framework\\dotnet.wasm.gz",
"${OutputPath}\\wwwroot\\_framework\\dotnet.js",
Expand Down

0 comments on commit 3fec5f5

Please sign in to comment.