I am playing around with the new Web Deployment Projects.I have defined a custom config section:
<
configSectons>
<section name="Portal" type="Microsoft.ApplicationBlocks.ConfigurationManagement.XmlSerializerSectionHandler,SystemFrameworks"/>
...
<
Portal>
<XmlSerializerSection type="ITERGO.eVIA.Web.Configuration.PortalConfig,PortalFramework, Version=*, Culture=neutral, PublicKeyToken=null">
.....
Now I want to replace the content of this custom section. So I use the "web.config section replacement" funtion and I specify "portal=portal.config". I also want to use the "Enforce matching section replacement" feature.
When I turn it on, the build fails with the following error message:
Error 69 An error occurred creating the configuration section handler for Portal: Could not load file or assembly 'SystemFrameworks' or one of its dependencies. The system cannot find the file specified. (E:\OfflineTp\eVIAOfflineWeb_Dev_Victoria\Debug\web.config line 10)
Is this a bug or is this by design?
Marius Filipowski
(mcad, mcsd)