Need More Info
Last Updated: 26 Oct 2022 12:07 by ADMIN
Kasim
Created on: 17 Oct 2022 10:50
Category: Installer and VS Extensions
Type: Bug Report
3
An error occurred while running the wizard
Error executing custom action Telerik.Blazor.VSX.Actions.UpdateMasterPageAction: System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Blazor.VSX.ProjectWrappers.ProjectWrap.<SetIsRootProject>b__30_0()
   at Telerik.VSX.Internal.VisualStudio.VisualStudioThreadHelper.<>c__DisplayClass1_0`1.<<RunInMainThread>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
   at Telerik.VSX.Internal.VisualStudio.VisualStudioThreadHelper.RunInMainThread[T](Func`1 func)
   at Telerik.Blazor.VSX.ProjectWrappers.ProjectWrap..ctor(Project dteProject)
   at Telerik.Blazor.VSX.ProjectManagement.ProjectWrapFactory.<>c.<.cctor>b__5_0(Project p)
   at Telerik.VSX.Internal.ProjectManagement.ProjectWrapFactoryBase`1.GetForProjects(IList`1 projects)
   at Telerik.Blazor.VSX.Actions.UpdateMasterPageAction.GetProjectWrapsForSolution(IProjectWrap projectWrap)
   at Telerik.Blazor.VSX.Actions.UpdateMasterPageAction.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap projectWrap)
   at Telerik.VSX.WizardEngine.ActionManager.ExecActions()
4 comments
ADMIN
Nikolay Mishev
Posted on: 26 Oct 2022 12:07

Hi Kasim,

While we are investigating can I ask you to provide us with a Visual Studio Activity log as it might shed some more light on the issue. Here is an article describing the steps.

Looking forward to your response.

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

Kasim
Posted on: 24 Oct 2022 09:56

[ContractProgressIntegration.Server]

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="6.0.0" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\Client\ContractProgressIntegration.Client.csproj" />
    <ProjectReference Include="..\Shared\ContractProgressIntegration.Shared.csproj" />
  </ItemGroup>

</Project>

[ContractProgressIntegration.Client]

<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <UseRazorSourceGenerator>false</UseRazorSourceGenerator>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0" />
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0" PrivateAssets="all" />
    <PackageReference Include="System.Net.Http.Json" Version="6.0.0" />
    <PackageReference Include="Telerik.UI.for.Blazor" Version="3.6.1" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Shared\ContractProgressIntegration.Shared.csproj" />
  </ItemGroup>
</Project>

[ContractProgressIntegration.Shared]

<Project Sdk="Microsoft.NET.Sdk">
  
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
  </ItemGroup>
  
</Project>

 

    
ADMIN
Nikolay Mishev
Posted on: 21 Oct 2022 08:30

Hello Kasim,

Thank you for reaching us.

We could not reproduce the issue on our side and with that said I would ask you to provide us with some information so we can investigate.

We have narrowed the issue to the point where we are traversing the projects within solution, and it seems that the issue might be caused by a specific, uncommon project type that is causing our logic to fail. So with that said I would ask you to share your solution but if it is too big at least the .csproj files of the projects in your solution. This will help us narrow down the issue.

I'm looking forward to your response.

Regards,
Nikolay Mishev
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.

Kasim
Posted on: 17 Oct 2022 10:55

Error occurred while creating a new project using Telerik Wizard.