diff --git a/examples/Demo/Server/FluentUI.Demo.Server.csproj b/examples/Demo/Server/FluentUI.Demo.Server.csproj index fc620976b9..c7ec13c313 100644 --- a/examples/Demo/Server/FluentUI.Demo.Server.csproj +++ b/examples/Demo/Server/FluentUI.Demo.Server.csproj @@ -1,7 +1,7 @@ - net8.0; net9.0 + net8.0;net9.0 enable enable latest diff --git a/examples/Demo/Server/Program.cs b/examples/Demo/Server/Program.cs index 6832796564..16b511b39c 100644 --- a/examples/Demo/Server/Program.cs +++ b/examples/Demo/Server/Program.cs @@ -30,7 +30,11 @@ app.UseHttpsRedirection(); +#if NET8_0 app.UseStaticFiles(); +#else +app.MapStaticAssets(); +#endif app.UseRouting(); diff --git a/examples/Demo/Shared/FluentUI.Demo.Shared.csproj b/examples/Demo/Shared/FluentUI.Demo.Shared.csproj index 256eca3593..2536c6b629 100644 --- a/examples/Demo/Shared/FluentUI.Demo.Shared.csproj +++ b/examples/Demo/Shared/FluentUI.Demo.Shared.csproj @@ -1,6 +1,6 @@ - net8.0; net9.0 + net8.0;net9.0 enable enable latest