Completed
Last Updated: 25 Sep 2024 10:40 by ADMIN
Joe
Created on: 08 Dec 2022 12:37
Category: Installer and VS Extensions
Type: Bug Report
0
upgrade wizard

Hi,

I am getting the following error message when trying to upgrade from 3.6.1 to 3.7.0. I tried multiple times without success.

===========================================================

An error occurred while running the wizard.

Error executing custom action Telerik.Blazor.VSX.Actions.MultiProjectUpdateMasterPageAction: System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Telerik.Blazor.VSX.Actions.AdvancedUpdateMasterPageAction.RetrieveMasterPageSettingsUpgradeInfo(IPropertyDataDictionary arguments, IProjectWrap project)
   at Telerik.Blazor.VSX.Actions.UpdateMasterPageAction.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap projectWrap)
   at Telerik.VSX.Actions.MultiProjectActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.ActionManager.ExecActions()

===========================================================

Thank you

Joe Walsh

Attached Files:
8 comments
ADMIN
Nikola
Posted on: 13 Dec 2022 06:50

Hello Joe,

I am glad that the configuration worked out and that you are able to restore packages.

Thank you for the details about the project structure too. I have logged an item in our backlog to improve project detection when projects are placed in solution folders. A fix should be provided with one of the next releases of the Telerik UI for Blazor VS Extension

In case you have any other questions, do not hesitate to get back to us.

Regards,
Nikola
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Joe
Posted on: 12 Dec 2022 14:52

Also, 

I added the proxy setting to the nuget.config and it worked!

AWESOME!

Thank you!

Joe
Posted on: 12 Dec 2022 14:22
Oops, forgot to upload this one, too.
Joe
Posted on: 12 Dec 2022 14:15

Nikola,

I attached our project structure. Note that there is a folder named "src" at the top-level. We have another top-level folded for our tests.

Thanks,

Joe

ADMIN
Nikola
Posted on: 12 Dec 2022 14:00

Hi Joe,

The initial issue was caused by the Upgrade Wizard not being able to determine the structure of your project. We rely on the project containing a wwwroot folder with a css folder within to determine which is the "root" project in case there are multiple. It appears that the solution you launched the wizard on doesn't have such. Would you provide a bit more details about the project, so we could improve the wizard behavior?

As for the issue with the NuGet feed, if you have configured the feed with the credentials saved in the global NuGet.config as described in the article, there would be no credential prompt. The proxy could affect the package download, so you will have to add configuration for that too. This blog post and this MSDN forum post outline what has to be done to allow NuGet packages to be downloaded behind a proxy.  

Please try that and lets us know if the issue still persists. I am looking forward to your reply.

Regards,
Nikola
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/.

Joe
Posted on: 09 Dec 2022 20:20

Our enterprise network administrators recently locked down our ability to change our Windows desktop Proxy settings which we suspect may becausing the problem.

1. I wonder why it works when I download the packages outside of Visual Studio, though!???

2. Any ideas?

Joe
Posted on: 09 Dec 2022 20:17

So the following process works:

 

1. Attempt to install via Visual Studio Package Manager. This will fail but yields a bunch of links for each failed download/install.

2. Click on each link (in Visual Studio), for example "https://nuget.telerik.com/v3/package/telerik.documents.spreadsheetstreaming/2022.3.1108/telerik.documents.spreadsheetstreaming.2022.3.1108.nupkg"

3. Enter required username and password

4. Save the downloaded file to a foler.

5. Create a new Visual Studio Package Source that points to that folder

6. Install the package.

7. Do this for each Telerik package as required.

Joe
Posted on: 08 Dec 2022 14:06

Btw...

1. (continuation from original bug report) When using the Progress Upgrade Wizard, I am not prompted with the Windows Authentication dialog at any time. (REF: Adding the Private Telerik NuGet Feed to Visual Studio - Telerik Reporting)

2. I also am not able to upgrade via NuGet. My feed source is "https://api.nuget.org/v3/index.json". The attached file shows the Visual Studio 2022 Output window results (403 status code).

Thanks

Joe

Attached Files: