I've just upgraded my multi project winforms C# solution from dotnet 2.0 to 4.5. In the process, I also upgraded from visual studio 2010 to 2015.
I'm having some troubles with my app.config. After upgrading, I got a whole bunch of messages, along the lines of
"Could not find schema information for the element 'loggingConfiguration'"
.
Some searching found the solution to be to generate a new schema (How to fix Error: "Could not find schema information for the attribute/element" by creating schema).
This did clear up that issue, but now I'm getting warnings when I open the app.config when I mouse over blue lines, like
"Imported schema for namespace 'urn:schemas-microsoft-com:asm.v1' was not resolved"
and
"The global element 'configuration' has already been declared"
The schemas for my app.config are:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\xml\Schemas\DotNetConfig45.xsd" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\xml\Schemas\EntityFrameworkConfig_6_1_0.xsd" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\xml\Schemas\RazorCustomSchema.xsd" "C:\xml\App.xsd"
I'll include a few images in the hope it makes my ramblings clearer:
Mouse over message once "could not find schema" message went away
Any assistance would be appreciated. Been working on this for hours now.