MSDataSetGenerator generates code which references the wrong names

  • Thread starter Thread starter Pat Moran
  • Start date Start date
P

Pat Moran

I have a project whose default name space is Wearther and a form in the
project
which is in this default namespace. I have also generated a dataset and
adapters to access a table in a database. I am using as a datasource this
dataset via the generated DatasetBindingSource.

The problem is that the code the designer generates includes the lines

this.wEATHERDETAILSTableAdapter = new
Weather._WeatherDetailsDataSetTableAdapters.WEATHERDETAILSTableAdapter();
this._WeatherDetailsDataSet = new Weather._WeatherDetailsDataSet();

which explicitly specify the Weather namespace although the class is
actually in this namespace and so the compilation fails unless I remove the
namespace qualification by hand.

How do I stop the designer from setting the namespace explicitly.
 
Did you ever get a fix for this? I am having the exact same problem, and it is driving me crazy, so any pointer you have got would be helpful.
 
Back
Top