Need help badly. I am getting the below error when publishing to folder.
With the below publish setting
The solution works perfectly fine when run. Only getting this error when publishing.
Im so stuck. Don't know what I am missing. I already tried to create new solution then publish it right away. Same error occurred.
It turns out, I need to relocate my solution to "(username)/source/repos" folder path. No need to downgrade or upgrade .Net framework. I stay using .Net 5. From there, I am able to publish my solution perfectly. No error occurred.