diff --git a/src/Components/WebAssembly/Sdk/integrationtests/WasmBuildLazyLoadTest.cs b/src/Components/WebAssembly/Sdk/integrationtests/WasmBuildLazyLoadTest.cs index 424caeda2d..e3925465bb 100644 --- a/src/Components/WebAssembly/Sdk/integrationtests/WasmBuildLazyLoadTest.cs +++ b/src/Components/WebAssembly/Sdk/integrationtests/WasmBuildLazyLoadTest.cs @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests project.AddProjectFileContent( @" - + "); @@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests project.AddProjectFileContent( @" - + "); @@ -97,7 +97,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests project.AddProjectFileContent( @" - + "); @@ -135,7 +135,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests project.AddProjectFileContent( @" - + "); diff --git a/src/Components/WebAssembly/Sdk/src/GenerateBlazorWebAssemblyBootJson.cs b/src/Components/WebAssembly/Sdk/src/GenerateBlazorWebAssemblyBootJson.cs index 81cb6ecb96..ae784010fd 100644 --- a/src/Components/WebAssembly/Sdk/src/GenerateBlazorWebAssemblyBootJson.cs +++ b/src/Components/WebAssembly/Sdk/src/GenerateBlazorWebAssemblyBootJson.cs @@ -88,7 +88,7 @@ namespace Microsoft.NET.Sdk.BlazorWebAssembly var assetType = resource.GetMetadata("AssetType"); var resourceName = $"{fileName}{extension}"; - if (IsLazyLoadedAssembly(fileName)) + if (IsLazyLoadedAssembly(resourceName)) { resourceData.lazyAssembly ??= new ResourceHashesByNameDictionary(); resourceList = resourceData.lazyAssembly; diff --git a/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj b/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj index 122d4bacff..13f08442bf 100644 --- a/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj +++ b/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj @@ -30,8 +30,8 @@ - - + +