Hi @Jay O'Brien ,
From my point of view,you mean that your Web.config is modified when you public this project,
I think it may be some content in Web.Debug.config
and Web.Release.config
under Web.config to be replaced,
you can show Take a look at your Web.Debug.config and Web.Release.config code, this will give me more information to help you troubleshoot.
The following documents will help you better learn this knowledge, you can refer to it.
https://devblogs.microsoft.com/dotnet/asp-net-web-projects-web-debug-config-web-release-config
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.