Does anyone know why I might be getting an XmlSchemaExcept ion in App.config
configured as below to use the UIP Application Block?
I get the following error for every element, sub-element and attribute
within the <uipConfigurati on> element:
Message 1 Could not find schema information for the element
'uipConfigurati on'.
Message 2 Could not find schema information for the element 'objectTypes'.
Message 3 Could not find schema information for the element 'iViewManager'.
.... etc. etc.
My App.config file:
<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<configSections >
<section name="uipConfig uration"
type="Microsoft .ApplicationBlo cks.UIProcess.U IPConfigHandler ,
Microsoft.Appli cationBlocks.UI Process,
Version=1.0.1.0 ,
Culture=neutral ,
PublicKeyToken= null"
/>
</configSections>
<uipConfigurati on>
<objectTypes>
<iViewManager
name="WindowsFo rmViewManager"
type="Microsoft .ApplicationBlo cks.UIProcess.W indowsFormViewM anager,
Microsoft.Appli cationBlocks.UI Process,
Version=1.0.1.0 ,
Culture=neutral ,
PublicKeyToken= null"
/>
<state
name="TestState "
type="BusinessL ayer.TestState, BusinessLayer,
Version=null,
Culture=neutral ,
PublicKeyToken= null"
/>
<controller
name="TestContr oller"
type="Presentat ionLayer.Contro llers.TestContr oller,
SBMPresentation Layer,
Version=1.0.1.0 ,
Culture=neutral ,
PublicKeyToken= null"
/>
<statePersisten ceProvider
name="IsolatedS toragePersisten ce"
type="Microsoft .ApplicationBlo cks.UIProcess.I solatedStorageP ersistence,
Microsoft.Appli cationBlocks.UI Process,
Version=1.0.1.0 ,
Culture=neutral ,
PublicKeyToken= null"
/>
</objectTypes>
<views>
<view
name="TestView"
type="Presentat ionLayer.Views. TestView,
PresentationLay er,
Version=null,
Culture=neutral ,
PublicKeyToken= null"
controller="Tes tController"
stayOpen="true"
floatable="true "
/>
</views>
<!--
<sharedTransiti ons>
</sharedTransitio ns>
-->
<!--
<navigationGrap h>
</navigationGraph >
-->
<!--
<uipWizard>
</uipWizard>
-->
<!--
<userControls >
</userControls>
-->
</uipConfiguratio n>
<system.diagnos tics>
<sources>
<!-- This section defines the logging configuration for
My.Application. Log -->
<source name="DefaultSo urce" switchName="Def aultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log
-->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSw itch" value="Informat ion" />
</switches>
<sharedListener s>
<add name="FileLog"
type="Microsoft .VisualBasic.Lo gging.FileLogTr aceListener,
Microsoft.Visua lBasic, Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, processorArchit ecture=MSIL"
initializeData= "FileLogWri ter"/>
<!-- Uncomment the below section and replace APPLICATION_NAM E with the
name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Di agnostics.Event LogTraceListene r"
initializeData= "APPLICATION_NA ME"/> -->
</sharedListeners >
</system.diagnost ics>
</configuration>
Thanks