473,396 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Visual Studio DataSet designer doesn't regenerate designer.cs code

I have inherited an project, which has some datasets in it. I find
that when I edit datasets with new SQL, adding columns, tableadapters
etc, that the designer.cs class is not regenerated, and therefore I
can't access them in code.

Is there any way of forcing the regeneration (saving doesn't do it),
or is there a particular cause that I could remove to let it start
working again (maybe a subtle issue around partial class naming/
inheritance etc)?

I could really do with some help on this one.

Aug 20 '07 #1
3 26077
I've heard of other people with this problem, so I can't be on my
own. Can anyone help?
On 20 Aug, 18:07, Barney <shipcr...@gmail.comwrote:
I have inherited an project, which has some datasets in it. I find
that when I edit datasets with new SQL, adding columns, tableadapters
etc, that the designer.cs class is not regenerated, and therefore I
can't access them in code.

Is there any way of forcing the regeneration (saving doesn't do it),
or is there a particular cause that I could remove to let it start
working again (maybe a subtle issue around partial class naming/
inheritance etc)?

I could really do with some help on this one.

Aug 20 '07 #2
On Aug 20, 6:58 pm, Barney <shipcr...@gmail.comwrote:
I've heard of other people with this problem, so I can't be on my
own. Can anyone help?

On 20 Aug, 18:07, Barney <shipcr...@gmail.comwrote:
I have inherited an project, which has some datasets in it. I find
that when I edit datasets with new SQL, adding columns, tableadapters
etc, that the designer.cs class is not regenerated, and therefore I
can't access them incode.
Is there any way of forcing the regeneration (saving doesn't do it),
or is there a particular cause that I could remove to let it start
working again (maybe a subtle issue around partial class naming/
inheritance etc)?
I could really do with some help on this one.
I've just run across this problem myself. Did you ever find a
solution to this problem?

Oct 15 '07 #3
On Mon, 15 Oct 2007 06:29:16 -0700, Tino <sl*******@yahoo.comwrote:
>On Aug 20, 6:58 pm, Barney <shipcr...@gmail.comwrote:
>I've heard of other people with this problem, so I can't be on my
own. Can anyone help?

On 20 Aug, 18:07, Barney <shipcr...@gmail.comwrote:
I have inherited an project, which has some datasets in it. I find
that when I edit datasets with new SQL, adding columns, tableadapters
etc, that the designer.cs class is not regenerated, and therefore I
can't access them incode.
Is there any way of forcing the regeneration (saving doesn't do it),
or is there a particular cause that I could remove to let it start
working again (maybe a subtle issue around partial class naming/
inheritance etc)?
I could really do with some help on this one.

I've just run across this problem myself. Did you ever find a
solution to this problem?
Try the following:

1) Click on the XSD file in the solution explorer
2) Click on the properties tab and check the Custom Tool Property. In
there you should find MSDataSetGenerator. If it's not there, type it
there
3) Once done right click the XSD file and click the menu item Run
Custom Tool.

--
http://bytes.thinkersroom.com
Oct 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ricardo Dias Marques | last post by:
Hi, I have a development machine with Visual Studio .Net 2003 which, as far as I know, targets the 1.1 .Net Framework. Now I need to open some solutions that were created in another machine...
4
by: Andy | last post by:
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically...
0
by: d d | last post by:
Hi, I'm using Visual Studio 7 (.NET 2003) to debug JS code and find that code that was written into a script block dynamically doesn't show up. Whenever any of that code executes, there's no...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 recently stopped generating the *.designer.vb files for my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe I did anything differently than normal prior to...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 unexpectedly stopped generating the *.designer.vb files for *.aspx and *.ascx files. After a few days of frustration trying to fix this, I noticed that it had the following...
0
by: Nathan Sokalski | last post by:
I have several UserControls (*.ascx files) that I register in my Web.config file under the <system.web><pages><controlselement. If I mistype the src attribute in the Web.config file, the pages that...
1
by: Nathan | last post by:
Hello, I have a programming assignment due for my programming class. Basically, I have to code the program in visual studio..then I have to paste the code and the output into microsoft...
1
by: arc111 | last post by:
Hi, I am using VS 2008 and when I am debugging the code, it jumps out of the code after it hits the break point. F10 or even F11 doesnt go to the next line. I will have to keep adding break...
12
Bangonkali
by: Bangonkali | last post by:
First I actually thought there was something wrong with my programming skills. But after I compiled the same code using Visual Studio, it worked. So here's the code that doesn't seem to be working...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.