Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8281355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:00:04+00:00 2026-06-08T10:00:04+00:00

I am trying to create an XML schema to be serialized/deserilized using visual studio

  • 0

I am trying to create an XML schema to be serialized/deserilized using visual studio 2010, but it looks really complicated having an xml file and another xml schema file, I didn’t get how it should be done. I rememeber in visual studio 2005 it was much simpler by just creating xml file and open it with the xml designer then draw the schema, then generate the serializable code out of the schema. Any hint/ link that would help in doing the same using Visual Studio 2010 professional.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:00:08+00:00Added an answer on June 8, 2026 at 10:00 am

    Let me try to answer this:

    1. open your VS project.
    2. open the XML on your project.
    3. On VS, go to the menu tab and click on create schema
    4. save the schema file and added to your project.

    Then you can create your own class for the serialize/deserialize process or use xsd.exe

    I used the last one. In my case I can found the tool in the \Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\xsd.exe.

    Then you can open CMD or the Visual Studio command window and write something like:
    xsd.exe [THE XSD FILE] /c /l:c# /o:[DIRECTORY WHERE YOU WANT TO SAVE THE .CS]

    I hope this works for you or answer your question. Pretty much I used the same approach with VS 2008 and 2010.

    Here are related topics just in case:

    XSD tool: https://learn.microsoft.com/en-us/dotnet/standard/serialization/xml-schema-definition-tool-xsd-exe

    XML Serialization and Schema without xsd.exe

    Generate classes from XSD

    if you don’t have the Microsoft SDK you can get it from:
    https://learn.microsoft.com/en-us/dotnet/core/sdk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create an xml entry that looks like this using python and
I am trying to create a Xml schema for a xml file that looks
I am trying to use the Visual Studio editor to create XML files in
I'm trying to create an XML schema that can capture XML that looks something
I'm trying to create XML Schema using lxml. For the begining something like this:
I am trying to create an XSD schema which will validate the following xml.
I am trying to create an XML file, but the XML file needs to
I'm trying to create an XML sitemap using CakePHP, from a table which has
I have been trying to create an XML using the simplexml library (v2.6.2) http://simple.sourceforge.net/home.php
I am trying to dynamically create an XML file using php like this: header

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.