HarvDotNet posted on Thursday, June 22, 2006
[assembly: AssemblyVersion("2.0.0.0")]
When I compile the application, it says it builds successfully,
and there are no errors, warnings or messages.
However, if I open the App.Config file I get a number of warnings and messages as follows:
Warnings
The 'requirePermission' attribute is not declared.
Messages
Could not find schema information for the element 'applicationSettings'.
Could not find schema information for the element 'Csla.Properties.Settings'.
Could not find schema information for the element 'setting'.
Could not find schema information for the attribute 'name'.
Could not find schema information for the attribute 'serializeAs'.
Could not find schema information for the element 'value'.
I was able to resolove the Warning by replacing the DotNetConfig.xsd file
located here "\Program Files\Microsoft Visual Studio 8\Xml\Schemas"
This link explaing things
http://www.peterritchie.com/Hamlet/Downloads/74.aspx
I do not see how to fix the "Messages"
I have the same problem in the VB version of CSLA
There are several more "Messages" --- 18 in all
Any help resolving these two would be appreciated.
Lastly, why do the warnings and messages only appear when I open the App.Config file?
It seems to me they should show up even when all VS - IDE windows are closed.
TIA
Harvey Sather
Saskatoon, Canada
david.wendelken replied on Wednesday, June 28, 2006
HarvDotNet:
Warnings
The 'requirePermission' attribute is not declared.
This is a comment from the DotNetNuke web.config file.
<!--
the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
Apparently the xsd that some?? versions of Visual Studio provide isn't up-to-date.
I also get spurious warnings on html files when I turn on the accessibility checking, messages like:
Unrecognized tag or prefix filter 'asp' .
Give a loud raspberry to the programmer and QC staff that let this one slip thru!