Skip to content
Discussion options

You must be logged in to vote

Closing the loop here: With the latest update to 1.6.5 and making the following changes to my CSPROJ, MSbuild is generating the files just as the source generator would 🙂

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <!-- Needed because Microsoft.OpenApi doesn't support OpenAPI 3.1.0+ Yet -->
        <!-- See: https://github.com/microsoft/OpenAPI.NET/issues/795 -->
        <RefitterSkipValidation>true</RefitterSkipValidation>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="Refit.HttpClientFactory" Version="8.0.0" />
 …

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@christianhelle
Comment options

@christianhelle
Comment options

@david-pw
Comment options

@david-pw
Comment options

Answer selected by david-pw
Comment options

You must be logged in to vote
2 replies
@david-pw
Comment options

@christianhelle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants