Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to Visual studio application publish.
There can be some compatibility issue between Visual studio 2013 and 2019 and also Window server 2012 to server 2019 as We cannot directly upgrade VS 2013 to VS 2019. They are compatible and work side by side though.
Also , There is no screenshots or attachment of What exact issue you are facing.
--If the reply is helpful, please Upvote and Accept as answer--