More Group Sites
School Rankings
Jobless Net
Better Home
Enviro++


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

How to resolve "Could not find schema information for the element..." Options · View
hong
Posted: Wednesday, August 10, 2011 10:17:42 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 335
Points: 711
Location: Australia
After upgrading Visual Studio or .NET framework, app.config or web.config file may generate the message "Could not find schema information for the element..." upon building the project. This means the schema needs to be upgraded too. Follow the steps below to resolve the issue.

Create a new schema based on app.config. open app.config file, from menu XML>Create Schema or toolbar button "Create Schema", Visual Studio will create a xsd schema.

Check the "Properties" tab of the app.config where there is a property named Schemas. Find out the path of the current schema file. Save the new schema in an appropriate place. Change the property Schemas to the new schema path. Click on the edit button "..." or menu XML>Schemas to show XML Schema dialog. You will find both the original dotnetconfig schema and your own newly created one are selected. Note that you can use multiple schema files by selecting "Use this schema" in Column "Use" in XML Schema dialog.
Sponsor
Posted: Wednesday, August 10, 2011 10:17:42 PM
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.051 seconds.