feat: upgrade to net9.0
This commit is contained in:
@@ -31,14 +31,14 @@ Target.create "Bundle" (fun _ ->
|
||||
modules
|
||||
|> List.iter (fun m ->
|
||||
let src = modPath m
|
||||
run dotnet $"publish -c Release -o \"{distPath}/{m}\" -f net8.0" src)
|
||||
run dotnet $"publish -c Release -o \"{distPath}/{m}\" -f net9.0" src)
|
||||
)
|
||||
|
||||
Target.create "BundleDebug" (fun _ ->
|
||||
modules
|
||||
|> List.iter (fun m ->
|
||||
let src = modPath m
|
||||
run dotnet $"publish -c Debug -o \"{distPath}/{m}\" -f net8.0" src)
|
||||
run dotnet $"publish -c Debug -o \"{distPath}/{m}\" -f net9.0" src)
|
||||
)
|
||||
|
||||
Target.create "Pack" (fun _ ->
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0
|
||||
|
||||
# Add keys and sources lists
|
||||
RUN apt-get update && apt-get install -y ca-certificates gnupg
|
||||
@@ -16,12 +16,6 @@ RUN apt-get autoremove -y \
|
||||
&& apt-get clean -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install dotnet tools
|
||||
RUN dotnet tool install paket -g
|
||||
|
||||
# Trouble brewing
|
||||
RUN rm /etc/ssl/openssl.cnf
|
||||
|
||||
# add dotnet tools to path to pick up fake and paket installation
|
||||
ENV PATH="/root/.dotnet/tools:${PATH}"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include=".build/Helpers.fs" />
|
||||
|
||||
@@ -2,24 +2,24 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0</TargetFrameworks>
|
||||
<IsPackable>true</IsPackable>
|
||||
<Version>2.0.3</Version>
|
||||
<PackageId>Fable.SignalR.AspNetCore</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Server.fs"/>
|
||||
<Compile Include="WebSocketsMiddleware.fs"/>
|
||||
<Compile Include="AspNetCore.fs"/>
|
||||
<Compile Include="Server.fs" />
|
||||
<Compile Include="WebSocketsMiddleware.fs" />
|
||||
<Compile Include="AspNetCore.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Fable.SignalR.Shared\Fable.SignalR.Shared.fsproj"/>
|
||||
<ProjectReference Include="..\Fable.SignalR.Shared\Fable.SignalR.Shared.fsproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Fable.Remoting.Json" Version="2.24.0"/>
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="8.0.7"/>
|
||||
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="8.0.7"/>
|
||||
<PackageReference Include="Fable.Remoting.Json" Version="2.25.0" />
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="9.0.0" />
|
||||
<PackageReference Include="System.Text.Encodings.Web" Version="9.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0</TargetFrameworks>
|
||||
<IsPackable>true</IsPackable>
|
||||
<Version>2.0.3</Version>
|
||||
<PackageId>Fable.SignalR.DotNet.Elmish</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Elmish.fs"/>
|
||||
<Compile Include="Elmish.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Fable.SignalR.DotNet\Fable.SignalR.DotNet.fsproj"/>
|
||||
<ProjectReference Include="..\Fable.SignalR.DotNet\Fable.SignalR.DotNet.fsproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Elmish" Version="4.2.0"/>
|
||||
<PackageReference Include="Fable.Remoting.Json" Version="2.24.0"/>
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.7"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="8.0.7"/>
|
||||
<PackageReference Include="Elmish" Version="4.2.0" />
|
||||
<PackageReference Include="Fable.Remoting.Json" Version="2.25.0" />
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -2,23 +2,23 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0</TargetFrameworks>
|
||||
<IsPackable>true</IsPackable>
|
||||
<Version>2.0.3</Version>
|
||||
<PackageId>Fable.SignalR.DotNet</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Common.fs"/>
|
||||
<Compile Include="HubConnection.fs"/>
|
||||
<Compile Include="SignalR.fs"/>
|
||||
<Compile Include="Common.fs" />
|
||||
<Compile Include="HubConnection.fs" />
|
||||
<Compile Include="SignalR.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Fable.SignalR.Shared\Fable.SignalR.Shared.fsproj"/>
|
||||
<ProjectReference Include="..\Fable.SignalR.Shared\Fable.SignalR.Shared.fsproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Fable.Remoting.Json" Version="2.24.0"/>
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.7"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="8.0.7"/>
|
||||
<PackageReference Include="Fable.Remoting.Json" Version="2.25.0" />
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<IsPackable>true</IsPackable>
|
||||
<PackageId>Fable.SignalR</PackageId>
|
||||
<Version>2.0.3</Version>
|
||||
|
||||
@@ -2,25 +2,25 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Version>2.0.3</Version>
|
||||
<PackageId>Fable.SignalR.Feliz</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Feliz.fs"/>
|
||||
<Compile Include="Feliz.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Fable.SignalR\Fable.SignalR.fsproj"/>
|
||||
<ProjectReference Include="..\Fable.SignalR\Fable.SignalR.fsproj" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<NpmDependencies>
|
||||
<NpmPackage Name="@microsoft/signalr" Version="gte 8.0.7 lt 9" ResolutionStrategy="max"/>
|
||||
<NpmPackage Name="@microsoft/signalr" Version="gte 8.0.7 lt 9" ResolutionStrategy="max" />
|
||||
</NpmDependencies>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="*.fsproj; *.fs" PackagePath="fable/"/>
|
||||
<Content Include="*.fsproj; *.fs" PackagePath="fable/" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Feliz" Version="2.8.0"/>
|
||||
<PackageReference Include="Feliz" Version="2.9.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0</TargetFrameworks>
|
||||
<IsPackable>true</IsPackable>
|
||||
<Version>2.0.3</Version>
|
||||
<PackageId>Fable.SignalR.Saturn</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Saturn.fs"/>
|
||||
<Compile Include="Saturn.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Fable.SignalR.AspNetCore\Fable.SignalR.AspNetCore.fsproj"/>
|
||||
<ProjectReference Include="..\Fable.SignalR.AspNetCore\Fable.SignalR.AspNetCore.fsproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.7"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="8.0.7"/>
|
||||
<PackageReference Include="Saturn" Version="0.17.0"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="9.0.0" />
|
||||
<PackageReference Include="Saturn" Version="0.17.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0</TargetFrameworks>
|
||||
<Version>2.0.3</Version>
|
||||
<IsPackable>true</IsPackable>
|
||||
<PackageId>Fable.SignalR.Shared</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Types.fs"/>
|
||||
<Compile Include="MemoryCache.fs"/>
|
||||
<Compile Include="MsgPack.fs"/>
|
||||
<Compile Include="Types.fs" />
|
||||
<Compile Include="MemoryCache.fs" />
|
||||
<Compile Include="MsgPack.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="8.0.7"/>
|
||||
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1"/>
|
||||
<PackageReference Include="Fable.Remoting.MsgPack" Version="1.24.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="9.0.0" />
|
||||
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Version>2.0.3</Version>
|
||||
<PackageId>Fable.SignalR</PackageId>
|
||||
<IsPackable>true</IsPackable>
|
||||
|
||||
Reference in New Issue
Block a user