Last Updated: 06 Dec 2021 13:22 by ADMIN
Created on: 02 Dec 2021 18:35
Category: Installer and VS Extensions
Type: Bug Report
Visual studio extension 2019-2022 bug

When you want to do the Upgrade Wizard, the following error appears: Failed to execute command. System.IO.DirectoryNotFoundException: Could not find a part of the path 'c: \ users \ quinteju \ appdata \ local \ microsoft \ visualstudio \ 16.0_c92db9cd \ extensions \ pfzn5mj3.wxk \ ProjectManagement \ Upgrade \ ScenarioDefinition.xml'. at System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init (String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHostPath) at System.IO.FileStream..ctor (String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream (Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) at System.Xml.XmlUrlResolver.GetEntity (Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate (Object xmlResolver) at System.Threading.CompressedStack.runTryCode (Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup (TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run (CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl () at System.Xml.XmlTextReaderImpl.Read () at System.Xml.XmlLoader.Load (XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load (XmlReader reader) at System.Xml.XmlDocument.Load (String filename) at Telerik.VSX.WizardEngine.Configuration.ScenarioDefinition.Deserialize (String fileName) at Telerik.VSX.ProjectConfiguration.ProjectConfigurationTypeSelectorBase.GetScenario (ProjectManagementScenarioPath path) at Telerik.WinControls.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.ProjectUpgrade (IPropertyDataDictionary additionalPreWizardData) at Telerik.WinControls.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartUpgradeWizard () at Telerik.WinControls.VSPackage.CommandExecutor.Execute (UInt32 commandId) at Telerik.VSX.VSPackage.PackageBase.CommandCallback (Object sender, EventArgs e) 


I already reinstalled three times and it doesn't work in any way.  :(


1 comment
Nikolay Mishev
Posted on: 06 Dec 2021 13:22

Hi David,

Thank you for reporting this to us. This is a known issue that occurs rarely. The problem is related to shared resources across multiple Telerik extensions. In your case most likely they are Progress Telerik UI for WinForms Extension and Progress Telerik WinForms Converter. To workaround the problem you can disable or remove the Telerik WinForms Converter extension from Extensions -> Manage Extensions -> Installed.

Please, let me know if this is a valid workaround for you until we fix the problem

Nikolay Mishev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.