0
devteambiz created
when i set this config in appsettings.json "Swagger": { "ShowSummaries": true } I open web path "/swagger/index.html" I found this error,"FileNotFoundException: Could not find file 'C:\Works\web_source\sdb\SuperApp\src\SuperApp.Web.Mvc\bin\Debug\net8.0\SuperApp.Web.Mvc.xml'" How to gen *.Web.Mvc.xml ? thank you.
2 Answer(s)
-
0
Hi
The default conditions must be changed correctly to generate the documentation file.
Here,
*.Mvc.csproj
,*.Application.csproj
and*.Web.Core.csproj
should also be marked as True. After opening the files with .csproj extension, you can change them to True as shown in the screenshot below.You need to make this change in the .csproj extension files of 3 projects.
-
0
thank you.