Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Jul 10, 2024
1 parent 0a61106 commit 3d41553
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ProjectTemplates/ShinyApp/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#if (useconfig)
global using Microsoft.Extensions.Configuration;
#endif
#if (localization)
global using Microsoft.Extensions.Localization;
#endif
#if shinyframework
global using ReactiveUI;
global using ReactiveUI.Fody.Helpers;
Expand Down
3 changes: 3 additions & 0 deletions ProjectTemplates/ShinyApp/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
#if camera
using Camera.MAUI;
#endif
if shinyframework || communitytoolkit || mediaelement
using CommunityToolkit.Maui;
#endif
#if useblazor
#if mudblazor
using MudBlazor.Services;
Expand Down
2 changes: 1 addition & 1 deletion ProjectTemplates/ShinyApp/ShinyApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
<!--#endif-->
<!--#endif-->
<!--#if (remoteconfig)-->
<PackageReference Include="Shiny.Extensions.Configuration.Remote.Maui" Version="1.0.0-pre-0006" />
<PackageReference Include="Shiny.Extensions.Configuration.Remote.Maui" Version="1.0.0-pre-0008" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<!--#endif-->
<!--#if (bindablegenerator)-->
Expand Down
3 changes: 3 additions & 0 deletions ProjectTemplates/ShinyApp/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
//#if (usehttp)
"ApiUri": "https://yourdomain.com",
//#endif
//#if (remoteconfig)
"ConfigurationUri": "https://yourdomain.com",
//#endif
//#if (usemsal)
"Msal": {
"ClientId": "{MSAL_CLIENT_ID}",
Expand Down

0 comments on commit 3d41553

Please sign in to comment.