Current filter:
                                You should refresh the page.
                                0
                                  • Hi,
                                     
                                    I have upgraded to the latest release of win forms, code rush and refractor pro. All of my code that uses table adaptors are showing a red line where highlighted in the example below.
                                    Me.TBLpaymentTermsTableAdapter.Fill(Me.PaymentTermsDataSet.TBLpaymentTerms)
                                    Is this a bug, I have run the project update tool and all shows ok.
                                    This was not happening before I upgraded.
                                    I am running Visual Studio Pro SP1
                                    Windows 7 64 bit
                                    If you require any other info let me know.
                                    Barry Robbins

                                0

                                Hi Barry,

                                Thank you for this information. This problem can happen because of the old CodeRush cache version. Could you please clear the solution cache by deleting the "%AppData%\CodeRush for VS .NET\1.1\SolutionCache" folder? Note that this path can be changed via the DXCore options window (go to its Core\Settings page and take the third input's value).

                                If this is not the cause, please check whether the problem is peculiar to a particular project/solution or you can reproduce it with a brand new project (e.g. a new ClassLibrary/WebSite). In the former case, it would be great if you could provide us with a copy of the problematic project, so that we can try to reproduce the problem locally.

                                Thanks, Dmitry O

                                0

                                I have done as you suggested and created a small app to test if problem still exists. It does!
                                I will try and explain;
                                I have set up a new solution. (VB.net win forms application)
                                I have created a form
                                I have created a dataset that connects to a SQL 2008 R2 Express database.
                                I drag the dataset onto the form to show a details view. (text boxes are created on form)
                                When I go to code view the "fill" in the statement is underlined in red; see actual code below from test app.

                                Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

                                        Me.TBLcompanyDetailsTableAdapter.Fill(Me.DCMSDataSet.TBLcompanyDetails)

                                    End Sub

                                When I hover over the red bar it tells me there is an undeclared element

                                In previous versions this has not happened.

                                I am quite happy to send the application I am working on but it is 536Mb in size not sure if I can send with the attachment method above so have attached the sample app I created to see if the problem still exists.

                                WindowsApplication1.sln
                                0

                                Hi Barry,

                                Thank you for the report. We reproduced this problem and I decided to convert your question to a bug report. We will notify you of this once it is fixed.

                                Thanks, Dmitry O

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.