Hi
How are config file transformations during package installation done in Composite C1?
I cannot find any XSLT files that would do the transformations.
Furthermore I assume it is not XDTs (Xml Document Transformations), because they are for deployment only (publish) and mostly for web application projects.
The problem is in version 4 beta 2 web.config comes with:
thx
mel
How are config file transformations during package installation done in Composite C1?
I cannot find any XSLT files that would do the transformations.
Furthermore I assume it is not XDTs (Xml Document Transformations), because they are for deployment only (publish) and mostly for web application projects.
The problem is in version 4 beta 2 web.config comes with:
<buildProviders>
<add extension=".cshtml" type="System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor" />
</buildProviders>
So after adding CompositeC1Contrib.RazorFunctions package web.config looks like:<buildProviders>
<add extension=".cshtml" type="System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor" />
<add extension=".cshtml" type="CompositeC1Contrib.RazorFunctions.CompositeC1RazorBuildProvider, CompositeC1Contrib.RazorFunctions" />
</buildProviders>
So the obvious solution is to remove/uncomment first entry:<buildProviders>
<!--
<add extension=".cshtml" type="System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor" />
-->
<add extension=".cshtml" type="CompositeC1Contrib.RazorFunctions.CompositeC1RazorBuildProvider, CompositeC1Contrib.RazorFunctions" />
</buildProviders>
How are replacements and deletions of nodes handled during package installation?thx
mel