Skip to content

Commit 4baa37a

Browse files
committed
Fix EmptyUseServerAndWebAssemblyWithIndividualAuth baseline
1 parent e08525c commit 4baa37a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/ProjectTemplates/Web.ProjectTemplates/BlazorWeb-CSharp.csproj.in

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@
99
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">BlazorWeb-CSharp</RootNamespace>
1010
<AssemblyName Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">`$(AssemblyName.Replace(' ', '_'))</AssemblyName>
1111
</PropertyGroup>
12-
<!--#if (UseWebAssembly || IndividualLocalAuth) -->
1312

13+
<!--#if (IndividualLocalAuth && !UseLocalDB) -->
14+
<ItemGroup>
15+
<None Update="app.db" CopyToOutputDirectory="PreserveNewest" ExcludeFromSingleFile="true" />
16+
</ItemGroup>
17+
18+
<!--#endif -->
19+
<!--#if (UseWebAssembly || IndividualLocalAuth) -->
1420
<ItemGroup>
1521
<ProjectReference Include="..\BlazorWeb-CSharp.Client\BlazorWeb-CSharp.Client.csproj" Condition="'$(UseWebAssembly)' == 'True'" />
1622
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="${MicrosoftAspNetCoreComponentsWebAssemblyServerVersion}" Condition="'$(UseWebAssembly)' == 'True'" />
@@ -20,6 +26,6 @@
2026
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="${MicrosoftEntityFrameworkCoreSqlServerVersion}" Condition="'$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' == 'True'" />
2127
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="${MicrosoftEntityFrameworkCoreToolsVersion}" Condition="'$(IndividualLocalAuth)' == 'True'" />
2228
</ItemGroup>
23-
<!--#endif -->
2429

30+
<!--#endif -->
2531
</Project>

src/ProjectTemplates/test/Templates.Tests/template-baselines.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,8 @@
11881188
"{ProjectName}/Components/Identity/LogoutForm.razor",
11891189
"{ProjectName}/Components/Identity/ShowRecoveryCodes.razor",
11901190
"{ProjectName}/Components/Identity/StatusMessage.razor",
1191+
"{ProjectName}/Components/Layout/MainLayout.razor",
1192+
"{ProjectName}/Components/Layout/MainLayout.razor.css",
11911193
"{ProjectName}/Components/Layout/ManageLayout.razor",
11921194
"{ProjectName}/Components/Layout/ManageNavMenu.razor",
11931195
"{ProjectName}/Components/Pages/Home.razor",

0 commit comments

Comments
 (0)