Skip to content

Commit

Permalink
feat: build and test with .net 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-tihon committed Mar 12, 2024
1 parent a11e58b commit f25b41e
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 95 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dotnet: [6.0.413]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- name: Setup .NET 6.0 SDK (for FAKE)
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet }}
dotnet-version: 6.0.x
- name: Setup .NET 8.0 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x
- name: Install local tools
run: dotnet tool restore
- name: Paket Restore
Expand Down
6 changes: 3 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let webApiInputStream = StreamRef.Empty
Target.create "StartServer" (fun _ ->
Target.activateFinal "StopServer"

CreateProcess.fromRawCommandLine "dotnet" "tests/Swashbuckle.WebApi.Server/bin/Release/net6.0/Swashbuckle.WebApi.Server.dll"
CreateProcess.fromRawCommandLine "dotnet" "tests/Swashbuckle.WebApi.Server/bin/Release/net8.0/Swashbuckle.WebApi.Server.dll"
|> CreateProcess.withStandardInput(CreatePipe webApiInputStream)
|> Proc.start
|> ignore
Expand All @@ -113,9 +113,9 @@ Target.create "BuildTests" (fun _ -> dotnet "build" "SwaggerProvider.TestsAndDoc
let runTests assembly =
dotnet "test" $"{assembly} -c Release --no-build"

Target.create "RunUnitTests" (fun _ -> runTests "tests/SwaggerProvider.Tests/bin/Release/net6.0/SwaggerProvider.Tests.dll")
Target.create "RunUnitTests" (fun _ -> runTests "tests/SwaggerProvider.Tests/bin/Release/net8.0/SwaggerProvider.Tests.dll")

Target.create "RunIntegrationTests" (fun _ -> runTests "tests/SwaggerProvider.ProviderTests/bin/Release/net6.0/SwaggerProvider.ProviderTests.dll")
Target.create "RunIntegrationTests" (fun _ -> runTests "tests/SwaggerProvider.ProviderTests/bin/Release/net8.0/SwaggerProvider.ProviderTests.dll")

Target.create "RunTests" ignore

Expand Down
3 changes: 3 additions & 0 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 2.1.0-beta1 - Mar 12, 2024
- Build and test with .NET 8.0

#### 2.0.1 - Mar 12, 2024
- fix: update ProvidedTypes.fs (#235)
- FSharp.Data utilities update (#238)
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.413",
"version": "8.0.201",
"rollForward": "minor"
}
}
11 changes: 4 additions & 7 deletions paket.dependencies
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
version 7.2.1
version 8.0.3
source https://api.nuget.org/v3/index.json
frameworks: net6.0, netstandard2.0
frameworks: net8.0, netstandard2.0

nuget FSharp.Core ~> 6 // We need task{} CE from F# 6.0
nuget System.Text.Json ~> 6
nuget FSharp.SystemTextJson
nuget Microsoft.OpenApi.Readers
nuget NETStandard.Library.NETFramework

nuget System.Text.Encodings.Web ~> 6
nuget Microsoft.Bcl.AsyncInterfaces ~> 6

# delete when we drop custom parser for v2
nuget YamlDotNet

Expand All @@ -23,7 +20,7 @@ github fsprojects/FSharp.Data:main src/FSharp.Data.Runtime.Utilities/NameUtils.f

group Server
source https://api.nuget.org/v3/index.json
framework: net6.0
framework: net8.0

nuget Microsoft.AspNetCore
nuget Microsoft.AspNetCore.Mvc
Expand All @@ -34,7 +31,7 @@ group Server

group Test
source https://api.nuget.org/v3/index.json
frameworks: net6.0
frameworks: net8.0

nuget FSharp.Compiler.Service
nuget FSharp.Core
Expand Down
118 changes: 49 additions & 69 deletions paket.lock
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
RESTRICTION: || (== net6.0) (== netstandard2.0)
RESTRICTION: || (== net8.0) (== netstandard2.0)
NUGET
remote: https://api.nuget.org/v3/index.json
FSharp.Core (6.0.7)
FSharp.SystemTextJson (1.2.42)
FSharp.Core (>= 4.7)
System.Text.Json (>= 6.0)
Microsoft.Bcl.AsyncInterfaces (6.0)
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0)
Microsoft.OpenApi (1.6.10)
Microsoft.OpenApi.Readers (1.6.10)
Microsoft.OpenApi (>= 1.6.10)
SharpYaml (>= 2.1)
Microsoft.Bcl.AsyncInterfaces (6.0) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
Microsoft.OpenApi (1.6.14)
Microsoft.OpenApi.Readers (1.6.14)
Microsoft.OpenApi (>= 1.6.14)
SharpYaml (>= 2.1.1)
NETStandard.Library.NETFramework (2.0.0-preview2-25405-01)
SharpYaml (2.1)
System.Buffers (4.5.1) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Memory (4.5.5) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.0)
System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net6.0) (< netcoreapp2.0)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= uap10.1)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.0)
System.Numerics.Vectors (4.5) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
SharpYaml (2.1.1)
System.Buffers (4.5.1) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Memory (4.5.5) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net8.0) (< netcoreapp2.0)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
System.Numerics.Vectors (4.5) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (6.0)
System.Text.Encodings.Web (6.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Memory (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Memory (>= 4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Json (6.0.8)
Microsoft.Bcl.AsyncInterfaces (>= 6.0) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Memory (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Numerics.Vectors (>= 4.5) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Text.Json (6.0.9)
Microsoft.Bcl.AsyncInterfaces (>= 6.0) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Memory (>= 4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Numerics.Vectors (>= 4.5) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encodings.Web (>= 6.0)
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Threading.Tasks.Extensions (4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (< netstandard1.0)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= wp8)) (== netstandard2.0)
YamlDotNet (13.7.1)
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Threading.Tasks.Extensions (4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.0)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= wp8)) (== netstandard2.0)
YamlDotNet (15.1.2)
GITHUB
remote: fsprojects/FSharp.TypeProviders.SDK
src/ProvidedTypes.fs (48abfa531a90a42a7f62a7cbfd0027741e83b9da)
src/ProvidedTypes.fsi (48abfa531a90a42a7f62a7cbfd0027741e83b9da)
src/ProvidedTypes.fs (6149ed507f15caa68a475808bcf5b3c2f52a4d34)
src/ProvidedTypes.fsi (6149ed507f15caa68a475808bcf5b3c2f52a4d34)
remote: fsprojects/FSharp.Data
src/FSharp.Data.Runtime.Utilities/NameUtils.fs (8a6688f34abede0a80306e6c802601ef74edf473)
src/FSharp.Data.Runtime.Utilities/Pluralizer.fs (8a6688f34abede0a80306e6c802601ef74edf473)
GROUP Server
RESTRICTION: == net6.0
RESTRICTION: == net8.0
NUGET
remote: https://api.nuget.org/v3/index.json
FSharp.Core (7.0.401)
FSharp.Core (8.0.200)
Microsoft.AspNetCore (2.2)
Microsoft.AspNetCore.Diagnostics (>= 2.2)
Microsoft.AspNetCore.HostFiltering (>= 2.2)
Expand Down Expand Up @@ -104,9 +104,7 @@ NUGET
Microsoft.Extensions.Hosting.Abstractions (>= 7.0)
Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
Microsoft.Extensions.Options (>= 7.0.1)
Microsoft.Win32.Registry (>= 5.0)
System.Security.Cryptography.Xml (>= 7.0.1)
System.Security.Principal.Windows (>= 5.0)
Microsoft.AspNetCore.DataProtection.Abstractions (7.0.13)
Microsoft.AspNetCore.Diagnostics (2.2)
Microsoft.AspNetCore.Diagnostics.Abstractions (>= 2.2)
Expand Down Expand Up @@ -431,7 +429,6 @@ NUGET
Microsoft.Extensions.Logging.Abstractions (>= 7.0)
Microsoft.Extensions.Logging.Configuration (>= 7.0)
Microsoft.Extensions.Options (>= 7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Json (>= 7.0)
Microsoft.Extensions.Logging.Debug (7.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0)
Expand All @@ -443,7 +440,6 @@ NUGET
Microsoft.Extensions.Logging.Abstractions (>= 7.0)
Microsoft.Extensions.Options (>= 7.0)
Microsoft.Extensions.Primitives (>= 7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Json (>= 7.0)
Microsoft.Extensions.ObjectPool (7.0.13)
Microsoft.Extensions.Options (7.0.1)
Expand All @@ -456,18 +452,13 @@ NUGET
Microsoft.Extensions.Options (>= 7.0)
Microsoft.Extensions.Primitives (>= 7.0)
Microsoft.Extensions.Primitives (7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
Microsoft.Extensions.WebEncoders (7.0.13)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0)
Microsoft.Extensions.Options (>= 7.0.1)
System.Text.Encodings.Web (>= 7.0)
Microsoft.Net.Http.Headers (2.2.8)
Microsoft.Extensions.Primitives (>= 2.2)
System.Buffers (>= 4.5)
Microsoft.OpenApi (1.6.10)
Microsoft.Win32.Registry (5.0)
System.Security.AccessControl (>= 5.0)
System.Security.Principal.Windows (>= 5.0)
Microsoft.OpenApi (1.6.14)
Newtonsoft.Json (13.0.3)
Newtonsoft.Json.Bson (1.0.2)
Newtonsoft.Json (>= 12.0.1)
Expand All @@ -483,18 +474,15 @@ NUGET
Swashbuckle.AspNetCore.SwaggerUI (6.5)
System.Buffers (4.5.1)
System.Collections.Immutable (7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.ComponentModel.Annotations (5.0)
System.Diagnostics.DiagnosticSource (7.0.2)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Formats.Asn1 (7.0)
System.IO.Pipelines (7.0)
System.Memory (4.5.5)
System.Numerics.Vectors (4.5)
System.Reflection.Metadata (7.0.2)
System.Collections.Immutable (>= 7.0)
System.Runtime.CompilerServices.Unsafe (6.0)
System.Security.AccessControl (6.0)
System.Security.Cryptography.Cng (5.0)
System.Formats.Asn1 (>= 5.0)
System.Security.Cryptography.Pkcs (7.0.3)
Expand All @@ -503,68 +491,60 @@ NUGET
System.Security.Cryptography.Pkcs (>= 7.0)
System.Security.Principal.Windows (5.0)
System.Text.Encodings.Web (7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Json (7.0.3)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encodings.Web (>= 7.0)
System.Threading.Tasks.Extensions (4.5.4)

GROUP Test
RESTRICTION: == net6.0
RESTRICTION: == net8.0
NUGET
remote: https://api.nuget.org/v3/index.json
FSharp.Compiler.Service (43.7.401)
FSharp.Core (7.0.401)
FSharp.Compiler.Service (43.8.200)
FSharp.Core (8.0.200)
System.Buffers (>= 4.5.1)
System.Collections.Immutable (>= 7.0)
System.Diagnostics.DiagnosticSource (>= 7.0.2)
System.Memory (>= 4.5.5)
System.Reflection.Emit (>= 4.7)
System.Reflection.Metadata (>= 7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
FSharp.Core (7.0.401)
FSharp.Core (8.0.200)
FSharp.SystemTextJson (1.2.42)
FSharp.Core (>= 4.7)
System.Text.Json (>= 6.0)
FsUnit.Xunit (5.5)
FsUnit.Xunit (6.0)
FSharp.Core (>= 5.0.2)
NHamcrest (>= 3.3 < 4.0)
xunit (>= 2.5.3 < 2.6)
Microsoft.CodeCoverage (17.7.2)
Microsoft.NET.Test.Sdk (17.7.2)
Microsoft.CodeCoverage (>= 17.7.2)
Microsoft.TestPlatform.TestHost (>= 17.7.2)
NHamcrest (>= 3.4)
xunit (>= 2.5.3)
Microsoft.CodeCoverage (17.9)
Microsoft.NET.Test.Sdk (17.9)
Microsoft.CodeCoverage (>= 17.9)
Microsoft.TestPlatform.TestHost (>= 17.9)
Microsoft.NETCore.Platforms (7.0.4)
Microsoft.OpenApi (1.6.10) - redirects: force
Microsoft.OpenApi.Readers (1.6.10) - redirects: force
Microsoft.OpenApi (>= 1.6.10)
SharpYaml (>= 2.1)
Microsoft.TestPlatform.ObjectModel (17.7.2)
NuGet.Frameworks (>= 6.5)
Microsoft.OpenApi (1.6.14) - redirects: force
Microsoft.OpenApi.Readers (1.6.14) - redirects: force
Microsoft.OpenApi (>= 1.6.14)
SharpYaml (>= 2.1.1)
Microsoft.TestPlatform.ObjectModel (17.9)
System.Reflection.Metadata (>= 1.6)
Microsoft.TestPlatform.TestHost (17.7.2)
Microsoft.TestPlatform.ObjectModel (>= 17.7.2)
Microsoft.TestPlatform.TestHost (17.9)
Microsoft.TestPlatform.ObjectModel (>= 17.9)
Newtonsoft.Json (>= 13.0.1)
NETStandard.Library (2.0.3)
Microsoft.NETCore.Platforms (>= 1.1)
Newtonsoft.Json (13.0.3)
NHamcrest (3.4)
NuGet.Frameworks (6.7)
SharpYaml (2.1) - redirects: force
SharpYaml (2.1.1) - redirects: force
System.Buffers (4.5.1)
System.Collections.Immutable (7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Diagnostics.DiagnosticSource (7.0.2)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Memory (4.5.5)
System.Reflection.Emit (4.7)
System.Reflection.Metadata (7.0.2)
System.Collections.Immutable (>= 7.0)
System.Runtime.CompilerServices.Unsafe (6.0)
System.Text.Encodings.Web (7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Json (7.0.3)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encodings.Web (>= 7.0)
xunit (2.5.3)
xunit.analyzers (>= 1.4)
Expand Down
8 changes: 4 additions & 4 deletions src/Common/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("SwaggerProvider")>]
[<assembly: AssemblyProductAttribute("SwaggerProvider")>]
[<assembly: AssemblyDescriptionAttribute("F# Type Provider for Swagger & Open API")>]
[<assembly: AssemblyVersionAttribute("2.0.1")>]
[<assembly: AssemblyFileVersionAttribute("2.0.1")>]
[<assembly: AssemblyVersionAttribute("2.1.0")>]
[<assembly: AssemblyFileVersionAttribute("2.1.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "SwaggerProvider"
let [<Literal>] AssemblyProduct = "SwaggerProvider"
let [<Literal>] AssemblyDescription = "F# Type Provider for Swagger & Open API"
let [<Literal>] AssemblyVersion = "2.0.1"
let [<Literal>] AssemblyFileVersion = "2.0.1"
let [<Literal>] AssemblyVersion = "2.1.0"
let [<Literal>] AssemblyFileVersion = "2.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<Optimize>true</Optimize>
<Tailcalls>true</Tailcalls>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
Expand Down Expand Up @@ -58,4 +58,4 @@
</PackageReference>
</ItemGroup>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/SwaggerProvider.Runtime/SwaggerProvider.Runtime.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</ItemGroup>
<Target Name="BeforeBuild">
<MSBuild Projects="..\SwaggerProvider.DesignTime\SwaggerProvider.DesignTime.fsproj" Targets="Restore" />
<MSBuild Projects="..\SwaggerProvider.DesignTime\SwaggerProvider.DesignTime.fsproj" Targets="Build" Properties="Configuration=$(Configuration);TargetFramework=net6.0" />
<MSBuild Projects="..\SwaggerProvider.DesignTime\SwaggerProvider.DesignTime.fsproj" Targets="Build" Properties="Configuration=$(Configuration);TargetFramework=net8.0" />
<MSBuild Projects="..\SwaggerProvider.DesignTime\SwaggerProvider.DesignTime.fsproj" Targets="Build" Properties="Configuration=$(Configuration);TargetFramework=netstandard2.0" />
</Target>
<Target Name="AfterBuild">
Expand Down
2 changes: 1 addition & 1 deletion src/SwaggerProvider.Runtime/paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description
files
bin/Release/netstandard2.0/SwaggerProvider.Runtime.* ==> lib/netstandard2.0
bin/Release/typeproviders/fsharp41/netstandard2.0/*.dll ==> typeproviders/fsharp41/netstandard2.0
bin/Release/typeproviders/fsharp41/net6.0/*.dll ==> typeproviders/fsharp41/net6.0
bin/Release/typeproviders/fsharp41/net8.0/*.dll ==> typeproviders/fsharp41/net8.0
references
SwaggerProvider.Runtime.dll
dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
Expand Down
Loading

0 comments on commit f25b41e

Please sign in to comment.