AspNetWebStack icon indicating copy to clipboard operation
AspNetWebStack copied to clipboard

AddVersionedApiExplorer not working in Asp.Versioning?

Open Philxm opened this issue 1 year ago • 0 comments

Hi,

I have installed

  1. Asp.Versioning.Mvc
  2. Asp.Versioning.Mvc.ApiExplorer,

Also, I am using the following at the beginning of the code:

using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Asp.Versioning;
using Asp.Versioning.ApiExplorer;
using Microsoft.OpenApi.Models;

However, it still shows Compiler Error CS1061 on AddVersionedApiExplorer below,

}Q)MC00WCA5~LEDCRJNKR27

Can you help with any solution?

Thanks,

Phil

Philxm avatar Feb 27 '24 02:02 Philxm