giraffe-fsharp / giraffe-template

A dotnet new template for Giraffe web applications.
Apache License 2.0
37 stars 22 forks source link

Raised version of .fsproj files to .NET 6.0 #43

Closed Samo8 closed 2 months ago

Samo8 commented 2 years ago

After installing Giraffe and running dotnet run while having .NET 6+ I run to issue: .NET 6: The framework 'Microsoft.AspNetCore.App', version '5.0.0' was not found I had to change .NET version to 6.0 in .fsproj file.

jcmrva commented 2 years ago

It would be great to get this in.

ilog2000 commented 2 years ago

I believe if you update framework to v6, it's also necessary to update giraffe itself, like

    <PackageReference Include="Giraffe" Version="6.0.0" />
    <PackageReference Include="Giraffe.ViewEngine" Version="1.4.*" />

and Ply reference is not needed anymore.

Banashek commented 1 year ago

@Samo8 would you be up for making the changes mentioned above?

If not I'm happy to write it up