Upgrade Wizard - Failed to handle solution references.

4 posts, 0 answers
  1. Joel Palmer
    Joel Palmer avatar
    164 posts
    Member since:
    May 2009

    Posted 09 Sep 2014 Link to this post

    On 9/5 I installed the latest "Telerik WPF VSExtensions" update (2014.3.820.0).  Sense then, it has not worked.  I've sent this to you many times (using the Wizard) but haven't heard back.  I need to know what to do here.  Do you have a previous version that I could roll back to?


    Failed to handle solution references.System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.VSX.SolutionManagement.SolutionDistribution.GetSourceDistributionAdditionalPaths()
       at Telerik.VSX.SolutionManagement.SolutionDistribution.get_SourceDistributionAdditionalPaths()
       at Telerik.VSX.SolutionManagement.SolutionReferenceManager.CheckIsReferenceFromAdditionalPath(String reference, SolutionDistribution distribution)
       at Telerik.VSX.SolutionManagement.SolutionReferenceManager.GetSolutionBasedReferences(IList`1 assemblyReferences, SolutionDistribution distribution)
       at Telerik.VSX.SolutionManagement.SolutionReferenceManager.CreateSolutionBasedReferences(IAssemblyWrap rootAssembly, IList`1 assemblyReferences, DistributionInfo distributionInfo, Guid projectGuid)
       at Telerik.VSX.Actions.UpdateReferencesAction.HandleSolutionReferences(IProjectWrapUIComponents projectWrap, IList`1& assemblyReferences)
       at Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents projectWrap)
  2. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 10 Sep 2014 Link to this post

    Hello Joel,

    Thank you for opening this thread.

    We apologize for the inconvenience caused as the described case is a problem in the current version of the VSExtensions and it will be fixed in our next release which you can expect soon.

    Meanwhile, I can recommend you to apply the following steps on each of your solutions that contains projects using Telerik UI for WPF:
    1. Using Windows Explorer navigate to [SOLUTIONDIRECTORY]\lib\RCWPF\ if exists . There you can find all Telerik UI for WPF distributions copied when you created/converted Telerik WPF project and checked "Add referenced assemblies to solution" (screenshot attached)
    2. For each distribution in the folder do the following
      1. Delete the distribution folder
      2. Open the solution in Visual Studio
      3. Launch the Upgrade Wizard (Telerik menu -> UI for WPF -> Upgrade Wizard)
      4. Check for upgrade only the projects that use the deleted distribution (screenshot attached)
      5. Make sure that the "Add referenced assemblies to solution" option is checked (screenshot attached)
      6. In the distribution chooser select a version to upgrade to that is equal to the version that the selected projects use (screenshot attached)
      7. Finish the upgrade process

    These steps should fix the issues you have described.

    Please let me know in case the issue still occurs.

    Regards,

    Ventsi
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Joel Palmer
    Joel Palmer avatar
    164 posts
    Member since:
    May 2009

    Posted 10 Sep 2014 in reply to Ventsi Link to this post

    Thanks.  That works.  But, looking forward to the fix.
  5. Ventsi
    Admin
    Ventsi avatar
    46 posts

    Posted 14 Sep 2014 Link to this post

    Hi Joel,

    I am glad to hear that the issue is resolved.

    The fix will be included in the next version which will be released soon. I would recommend to check for any updates notifications in your Visual Studio.

    I will now set this thread as closed. Feel free to reopen it in case any questions arise.

    Regards,
    Ventsi
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top