This is a migrated thread and some comments may be shown as answers.

Upgrade Wizard - Failed to handle solution references.

3 Answers 176 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Joel Palmer
Top achievements
Rank 2
Joel Palmer asked on 09 Sep 2014, 05:53 PM
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)

3 Answers, 1 is accepted

Sort by
0
Ventsi
Telerik team
answered on 10 Sep 2014, 02:24 PM
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.
 
0
Joel Palmer
Top achievements
Rank 2
answered on 10 Sep 2014, 03:02 PM
Thanks.  That works.  But, looking forward to the fix.
0
Ventsi
Telerik team
answered on 14 Sep 2014, 04:18 PM
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.
 
Tags
Installer and Visual Studio Extensions
Asked by
Joel Palmer
Top achievements
Rank 2
Answers by
Ventsi
Telerik team
Joel Palmer
Top achievements
Rank 2
Share this question
or