Robert Q Johnson
05.05.2011
Hi Robert ,
Yes, for some reason your project still refers to version 10.2.3. Please try to open any form's designer, change something in its layout, and rebuild the project. This should help.
If not, please make sure that you are not using the Assembly Binding Redirection mechanism.
Does this information help?
Thanks
Dimitros
I opened one of the project's forms and deleted a control and saved the change. I was prompted to change the licenses.licx file and chose 'Yes.'
I Built the solution and it compiled cleanly. But at run time it still raises the same exception.
The licenses.licx file now contains:
DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit, DevExpress.XtraEditors.v10.2, Version=10.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v10.2, Version=10.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
and the .bak version has:
DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v10.2, Version=10.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v10.2, Version=10.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v10.2, Version=10.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
None of these reference DevExpress.Utils, but I'm guessing that's OK.
I thought that maybe I should also try opening the xtraReport in the project in design mode and making a change there. But when I selected it in Solution Explorer and clicked the design button, VS 2008 disappeared and gave focus back to Internet Explorer
When I look on the References page of the MyProject window, I can plainly see the reference to Utils. Here's the info there - hope it's useful:
Reference Name: DevExpress.Utils.v10.2
Type: .NET
Version: 10.2.8.0
Copy Local: False
Path: C:\Program Files(x86)\DevExpress 2010.2\Components\Sources\DevExpress.DLL\DevExpress.Utils.v10.2.dll
I thought I might try opening the project's xtraReport designer and saving a change. But when I selected it in the Solution window and clicked the design button, VS 2008 just disappeared! It left no trace in the Applications window of Task Manager and I dont' see any process names that I would think to associate with it. Certainly the one with "Dev" in it isn't present. When I re-opened VS, it didn't "remember" that the MyProject window was open. But it was able to open the xtraReport (the first thing I attempted).
I made a change and saved and was prompted for the change to licenses.licx again (and chose 'Yes' again). Now it unsurprisingly contains a third line:
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v10.2, Version=10.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
It still fails to run, though. I'm attaching the error message in case there's something about it that's different from yesterday's.
The only thing that confuses me is that it seems to be complaining that it didn't find the file while looking in the project's bin\debug folder (which of course doesn't have any of the DevExpress files). Why would it look there when CopyLocal is false?
Sorry about the previous post. To eliminate confusion please note that I typed the following text in the wrong location in the reply:
I thought that maybe I should also try opening the xtraReport in the project in design mode and making a change there. But when I selected it in Solution Explorer and clicked the design button, VS 2008 disappeared and gave focus back to Internet Explorer
So when you come to that, ignore it.
(After VS crashed and disappeared and I returned to the post here, I started typing in the wrong place. Apparently your edit window has a hard time keeping the focus at the very bottom of entered text. I went back to restart VS and returned here but couldn't find the text and thought it had been lost somehow. So I made sure and went to the bottom of the post and started that part of the message again - having not realized that it still appeared, but in the wrong place.)
Sure, I'll be happy to give you whatever you need. When you say "give you the project", do you mean just the vbproj file? Or would you like to have all the files in the project's folder (but NOT the sub folders). Or do you want the project folder AND sub folder contents?
Q
I am attaching the zip file that has the whole UI project. It references other projects in the same solution, but none have user interface elements. If you need the whole solution, just let me know.
Thanks,
Q
Hi Robert,
Thank you for providing this project. Having examined it, I found no references to the DevExpress.Utils.v10.2 (Version=10.2.3.0) assembly. However, some references are present in the project's cache files. Therefore, I recommend that you remove older files from the project's Bin and Obj folders before rebuilding it. Does this help?
Regards,
Serge
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.
Facebook
Twitter
Google+