问题
We have asp.net application using DevExpress 9.3 version and we have to upgrade to 12.1, what is the best way to upgrade ?
回答1:
Use the Project Converter tool for this purpose.
See the Upgrade Notes topic for details.
回答2:
Generally you just install the new version, then open the solution in the newer version, that's how Visual Studio, etc. works. They should run in parallel and make backups, so trying won't be of any harm.
回答3:
- In Visual studio, click
DevExpress
->Project Converter
->Project Converter v15.2
- This will open up the project converter window
- There is no special need for fidgeting with the Advanced Settings
- Click Upgrade
- The
Project converter
tool might ask for confirmation about updating the read-only files - Click Yes to All, to make sure that the tool doesn't disturb you for every next file
- To save the conversion log, click Save Log (optional)
- Click Finish
Visual Studio might get confused with some elements:
'XYZ' is an ambiguous reference between 'namespace ABC' and 'namespace DEF'
A few examples are:
- Replace
SelectedItemCollection
withDevExpress.Web.SelectedItemCollection
- Replace
Collection
withSystem.Collections.ObjectModel.Collection
- Clear the
Bin
andObj
folders as stated on DevExpress' knowledge base
来源:https://stackoverflow.com/questions/13241683/how-to-upgrade-devexpress-from-9-3-to-12-1-asp-net