XML Transform for App.Config Files
I have an application that as an artifact I would like to handle an XML Transform, just like what is done with the Web.config files for ASP.NET projects. I had it working locally by manually including the ASP.NET Stuff to do it, but that fails in AppVeyor.
Do you have any suggestions?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 29 Dec, 2015 07:17 AM
Usually, web.config transform occurs during app publishing (packaging in AppVeyor).
Could you please clarify what you're trying to do? What do you mean under "manually including stuff"?
2 Posted by msellers on 29 Dec, 2015 07:19 AM
I am looking to do the same transforms, but on an executable. (Specifically a Console Application)
I've found a few workarounds, but they cause errors in AppVeyor builds.
Mitchel Sellers
Microsoft C# MVP, DNN MVP
________________________________
Support Staff 3 Posted by Feodor Fitsner on 29 Dec, 2015 07:21 AM
How do you do those transforms locally?
4 Posted by msellers on 29 Dec, 2015 07:24 AM
The local attempt, was to pull in the Web Transform tasks that were used by the ASP.NET solution. But that resulted in an error message in AppVeyor about a missing Publish Profile.
I'm open to options
Mitchel Sellers
Microsoft C# MVP, DNN MVP
________________________________
Support Staff 5 Posted by Feodor Fitsner on 29 Dec, 2015 07:28 AM
You can disable automatic packaging and use command to package app and publish artifact: https://gist.github.com/FeodorFitsner/e33f629c8a10becd1efd
6 Posted by msellers on 29 Dec, 2015 07:31 AM
I don't want to change the way the Web projects work, they work wonderfully.
This is for another project, as part of the total solution, that is a separate artifact.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.