Winforms Update to Q2 2010 SP2

4 posts, 1 answers
  1. Marcel Härry
    Marcel Härry avatar
    28 posts
    Member since:
    Jul 2009

    Posted 13 Oct 2010 Link to this post

    After Upgrade VS 10 told me about duplicate assemblys, one in GAC and others in c:\Users\Roaming\blabla...
    VS Forms Designer was freezed, and so on...

    i'm sure i messed it up myself but no idea when. Maybe it was a bad idea to copy some telerik assemblys to the bin folder
    of my project (for simple later xcopy deployment).

    what's best practices for update, should i uninstall and reinstall outside visual studio
    or is it save/same functionality to use upgrade wizard inside VS.

    (I use the upgrade wizard for asp.net ajax about more than a year now and havent had ever any issues)
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 13 Oct 2010 Link to this post

    Hi,

    What I usually do (and have never had any issues) is to:
    * Uninstall current installation
    * Reboot
    * ReInstall new version
    * Reboot
    * Launch the upgrade project utility and upgrade my projects
    * Open the project and change any code that has been depricated

    This always works for me.
    There is also a blog post about upgrading too

    Hope that helps
    richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Marcel Härry
    Marcel Härry avatar
    28 posts
    Member since:
    Jul 2009

    Posted 16 Oct 2010 Link to this post

    Yes thanks, that helps, it's all working again now. I'm just a bit curios about this warning...

    Warnung 1 "Telerik.WinControls.UI.GridSortField.FieldAlias" ist veraltet: "This property will be removed or next release." D:\hae\webs\matrix\matrixforms\matrixforms\frmMain.cs 1249 13 matrixforms

    if i remove the line : gridSortField1.FieldAlias = null;  manually in frmMain.cs it's all ok,
    but if i change anything by designer it's inserted again.

    Sure, it's not a big problem but i d'ont have bigger ones...
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 16 Oct 2010 Link to this post

    Hi,

    Don't worry too much about that. As the warning suggests, the property is still there at the moment but it doesn't do anything now and so will be removed. Because it is still one of the properties that can be assigned a value the designer will keep adding it until you next upgrade and the property is removed (then the designer will let you know that the property no longer exists)

    Glad you have it all working
    Regards,
    Richard
Back to Top