Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI ,
I am using StructureMap and i had to create a StructureMap.Config file
Here is the code of that file:

XML
<?xml version="1.0" encoding="utf-8" ?>

<configuration>
<StructureMap>
  <DefaultInstance PluginType="Example.IUser, Example" PluggedType="Example.NewUser, Example" Scope="Singleton" />
</StructureMap>
</configuration>



Im not getting an error "StructureMap" element not declared but
i get an Message like this..(im using Visual Studio)

Could not find schema information for the element 'StructureMap'.
Could not find schema information for the element 'PluginType'.
Could not find schema information for the element 'PluggedType'.
Could not find schema information for the element 'Scope'.
Could not find schema information for the element 'DefaultInstance'.

Someone help me!

Thank you.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900