473,320 Members | 1,978 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,320 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 26051
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.