Skip to content

Not Generated Controller Action in New Visual Studeio Version 17.1.6 #170

Description

@rbsdotnet

Hi,

When Update Visual Studeio To Version 17.1.6 , Not Generated Any Action in Controllers in the Area.

R4Mvc Generator Tool v1.0.0-alpha2-00395
Using: Visual Studio Enterprise 2022 - 17.1.32421.90

Creating Workspace ...
Loading project ...
Compiling project ...
Detected MVC version: 6.0.0.0

Processing controller SamanArya.UHIS.WebApplication.Areas.Panel.Controllers.DashboardController

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at R4Mvc.Tools.Services.ControllerGeneratorService.GetControllerArea(INamedTypeSymbol controllerSymbol) at R4Mvc.Tools.Services.ControllerRewriterService.RewriteControllers(CSharpCompilation compiler) in C:\projects\r4mvc\src\R4Mvc.Tools\Services\ControllerRewriterService.cs:line 58 at R4Mvc.Tools.Commands.GenerateCommand.Runner.<Run>d__9.MoveNext() in C:\projects\r4mvc\src\R4Mvc.Tools\Commands\GenerateCommand.cs:line 112 --- 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 R4Mvc.Tools.Program.<Main>d__0.MoveNext() in C:\projects\r4mvc\src\R4Mvc.Tools\Program.cs:line 52 --- 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 R4Mvc.Tools.Program.<Main>(String[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions