G
Guest
Thanks for your test, but it still doesn't work.
These are my steps:
remeber that I'm using a C# Web Site
In VS, right click App_Code and then "Add New Item"
selected Dataset in the templates window, and wrote "Foo.DataSet1.xsd"
instead od "DataSet1.xsd"
The result is a class with Namespace called Foo, but the class name is
called Foo too!!
This is the vs generated code of the DataSet:
namespace Foo {
using System;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[System.Xml.Serialization.XmlRootAttribute("Foo")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class Foo : System.Data.DataSet {
..
..
..
2. This confirms that Vs2005 Web sites don't support namespaces
These are my steps:
remeber that I'm using a C# Web Site
In VS, right click App_Code and then "Add New Item"
selected Dataset in the templates window, and wrote "Foo.DataSet1.xsd"
instead od "DataSet1.xsd"
The result is a class with Namespace called Foo, but the class name is
called Foo too!!
This is the vs generated code of the DataSet:
namespace Foo {
using System;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[System.Xml.Serialization.XmlRootAttribute("Foo")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class Foo : System.Data.DataSet {
..
..
..
2. This confirms that Vs2005 Web sites don't support namespaces