Reputation: 665
I create a simple class library which I want to transform in xsd. The content of the class library:
using System;
namespace XSDTest
{
public class Class1
{
private string firstName;
private string lastName;
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
public string LastName
{
get { return lastName; }
set { lastName = value; }
}
public Class1()
{
}
}
}
When I rebuild app I have an assembly, and now I want to convert it to XSD using XML Schema Definition Tool. I have the following problem:
Upvotes: 0
Views: 720
Reputation: 111581
You have a space in the path to the DLL. Rename the directory to eliminate the space, or quote/escape the path so that the xsd.exe
command sees it as a single argument, not two, space-separated arguments.
Upvotes: 1