When I create an INSERT query using DataSet Designer, it deletes the .Designer.cs file, makes a broken .cs file in its place and gives me an error:
Error1Custom tool error: Failed to generate code. Failed to generate code. Object reference not set to an instance of an object. Object reference not set to an instance of an object.
The weird .cs file that it makes looks like this:
namespace Test
{
}
namespace Test {
public partial class DataSet1 {
}
}
I've tried making an empty database with one table and one field in the table; same result. I even tried reinstalling VS2005. Is this a bug?