Last Updated:
07 Jun 2024 15:19
by ADMIN
Upgrade Wizard crashes with FileNotFoundException if there is an empty folder in the Updates folder
When there is empty folder under "%appdata%\Telerik\Updates" the WinForms Upgrade wizard fails with
System.IO.FileNotFoundException: C:\Users\mstefanov\AppData\Roaming\Telerik\Updates\Telerik_UI_For_WinForms_2022_3_1109_Dev_dlls\BinNetCore\Telerik.WinControls.dll
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Telerik.VSX.Internal.FileSystem.FileVersionInfoWrap.get_FileVersion()
at Telerik.WinControls.VSX.AssemblyDiscovery.WFCoreFileBasedDistributionSearcher.CheckFolderContainsDistribution(String folderPath)
at Telerik.VSX.DistributionListing.DistributionDiscovery.FileBasedDistributionSearcher.GetPackageDistributions(String packageFolder, Func2 fileBasedDistributionTokenCreator) at Telerik.VSX.DistributionListing.DistributionDiscovery.DistributionSearcher.PopulateFileBasedDistributions(IList1 distributions, IList1 foldersToSearch, Func2 distributionTokenCreator)
at Telerik.VSX.DistributionListing.DistributionDiscovery.DistributionSearcher.GetDistributions()
at Telerik.WinControls.VSX.WFDistributionSearcher.GetDistributions()
at Telerik.VSX.ViewModels.DistributionChooserViewModelBase1.get_AllDistributions() at Telerik.WinControls.VSX.Wizards.ViewModels.WFDistributionChooserUpgradeViewModel.GetDistributions() at Telerik.VSX.ViewModels.DistributionChooserViewModelBase1.get_Distributions()
at Telerik.VSX.ViewModels.DistributionChooserViewModelBase1.get_CurrentDistribution() at Telerik.WinControls.VSX.Wizards.UpgradeProjectWizardBase2.TryGetDistributionToken(Version targetFramework)
at Telerik.WinControls.VSX.Wizards.UpgradeProjectWizardBase`2.TryGetMainLoadInformation(Version targetFramework)
at Telerik.VSX.WizardEngine.Controls.WizardControlBase.PopulateCollectedValues(IPropertyDataDictionary gatheredData)
at Telerik.VSX.WizardFramework.Pages.DynamicPageController.GetData()
at Telerik.WizardFramework.Wizard.GetCurrentPageData()
at Telerik.WizardFramework.Wizard.UpdateNavigation()
at Telerik.WizardEngine.Helpers.EventHelper.CatchExceptionAndSendReport(Action action)