I need to change the PublishUrl property in the csproj file of an Excel VSTO project in order to control which publication URL is used based on the configuration set in the configuration manager. This should happen regardless of whether the developer enters the publishing wizard or the project properties window. I really need to control it at the time of publication based on a set of configuration. I have not found solutions that work, and it seems that this will be more common than I find.
source share