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.
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.
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
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
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.
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.