Skip to main content
added 60 characters in body
Source Link
Alex
  • 33
  • 5

AddTo prevent the build error, you can add the following to a property group in your .csproj:

<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.OpenApi.Generated</InterceptorsNamespaces>   

That's whatSource: I got the same error message directsas you to do and it fixedfollowed the issue for meinstructions, which resolved the problem

Add the following to a property group in your .csproj:

<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.OpenApi.Generated</InterceptorsNamespaces>   

That's what the error message directs you to do and it fixed the issue for me

To prevent the build error, you can add the following to a property group in your .csproj:

<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.OpenApi.Generated</InterceptorsNamespaces>   

Source: I got the same error message as you and followed the instructions, which resolved the problem

Source Link
Alex
  • 33
  • 5

Add the following to a property group in your .csproj:

<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.OpenApi.Generated</InterceptorsNamespaces>   

That's what the error message directs you to do and it fixed the issue for me