I created my first nuget package for Umbraco. I realized afterwards the installation difference between nuget style vs umbraco style.
Anyway, I played with "config transform feature" during a nuget installation MSDN link here. This is really handy and helped me add additional information. In my case, an entry in config/dashboard.config.
The only problem being the umbraco xml config files don't have a default namespace. During the installation process, package manager would fail for that reason.
For the time being I added a default one such as the one below.
Default xml namespace for config file
Hey there,
I created my first nuget package for Umbraco. I realized afterwards the installation difference between nuget style vs umbraco style.
Anyway, I played with "config transform feature" during a nuget installation MSDN link here. This is really handy and helped me add additional information. In my case, an entry in config/dashboard.config.
The only problem being the umbraco xml config files don't have a default namespace. During the installation process, package manager would fail for that reason.
For the time being I added a default one such as the one below.
With such configuration, I can play with install/uninstall xdt features
This would require me to ask specifically to developpers to add such namespace beforehand installing my package.
So my question: wouldn't it nice to have some sort of default namespace for each xml configuration file ?
Thanks for your review and feedback
is working on a reply...