Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packages / net version #1

Open
daz10000 opened this issue Jan 25, 2023 · 0 comments
Open

Update packages / net version #1

daz10000 opened this issue Jan 25, 2023 · 0 comments

Comments

@daz10000
Copy link

I'm getting the google auth example running for net6, and the newer breakdown of all the giraffe packages (at least the google auth example). Are you interested in a PR if I get a cleaned up version? (or is there a better place to start). Thanks in advance.

So far had to

  • Add in open Giraffe.ViewEngine (replacing open Giraffe.GiraffeViewEngine)
  • Simplified the project file a little, bumped it to net6
  • Added package reference to Giraffe.ViewEngine Version="2.0.0-alpha-1
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="HttpsConfig.fs" />
    <Compile Include="Program.fs" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Giraffe" Version="6.0.0" />
    <PackageReference Include="Giraffe.ViewEngine" Version="2.0.0-alpha-1" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="6.0.13"/>
  </ItemGroup>

</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant