views:

44

answers:

2

Hi!

Does this file exists? I'm tired of the 'Could not find schema information for attribute' messages.

Thanks

+1  A: 

There is no EntLib XSD file. Producing one is tricky as config is dynamic. See discussion here.

http://entlib.codeplex.com/Thread/View.aspx?ThreadId=10712

Ade Miller
Thanks for the late response and for the link!
vIceBerg
Sorry for the late accepted answer
vIceBerg
A: 

One does exist for Entlib 5.0 - it gets installed as part of Entlib 5. Since the Entlib elements don't have XML namespaces, you'll need to explicitly turn it on in VS though (right click on the config file, select "Properties", click on the "Schemas" field, and you'll be able to turn on the schema validation.)

It won't work on everything - Entlib has a highly customizable configuration schema and not everything is representable in XSD, but it's about as good as you're going to get.

Chris Tavares