There is a project. It uses xsd-dataset. The project is not published (function publish), just copying does not allow to raise the project. At assembly in studio swears on dsAdmin.xsd as though it is with s a file for the line <?xml version

A namespace doesn’t directly contain members

Expected class delegate enum interface or struct

In properties, xsd is filled as follows:

 Build action = Compile Copy to = Do not copy Custom tool = MSDataSetGenerator CustomToolNamesp= пусто FileName = dsAdmin.xsd 

Files cs xsc xss generated. Studio 2005. What could be the problem?

    1 answer 1

    You specified Build action = Compile so it tries to compile. Specify None or Resource.

    • Yes, it is .. .. nick_n_a