Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Help Needed in xml File reference

$
0
0

Hi,

I am working in asp.net core 2.2. i using swagger for documentation and am able to configure and make it work. i am having one issue. i have included the xml comments  for the propertied in of my class and its located in different class library project. i have referenced this class library assembly of my asp.net core api project.  but how do i refer the xml file which is getting generated in my class library project? when i run the api, i can't see the swagger document. 

To test it,  i copied the xml file manually to the AppContext.BaseDirectory location, its showing. But i want this to happen automatically. please help me on referencing the class library project generated xml file in api project automatically. 


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>