Closed KrauseT closed 1 year ago
This will be tested / if needed fixed in the release 12
Hi @KrauseT, I have tested on the release 12 and it works. I propose t redo the test when I have release it.
This issue seems to be fixed with the new version.
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior The further controllers are generated as the first one. And the generation of the interface project should not know anything about the facade.
Screenshots
Desktop:
Additional context CallStackd4.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 Community.VisualStudio.Toolkit.BaseCommand.<>cDisplayClass8_0.<b0>d.MoveNext()
System.InvalidOperationException: Folder already exists with the name 'Dto'
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProjectItems.<>cDisplayClass2_0.<b0>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.ProjectSystem.VS.Implementation.Package.Automation.OAProject.<>cDisplayClass72_0
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\PRJ\git\PlaygroundTilo\BE\GameStore\PlaygroundTilo.GameStore.**Facade**\Dto\StoreDto.cs'. at GuidanceCore.Extensions.ProjectExtension.GetClasses(Project project) at GuidanceCore.Extensions.ProjectExtension.GetClassesImplementing(Project project, String interfaceString) at GuidanceCore.Commands.AddFacadeRestApiClassCommand.<OnExecuteAsync>d__2.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 GuidanceCore.Commands.BaseGuidanceCommand
1.1.<<Mutate>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.ProjectSystem.VS.Implementation.Package.ProjectNode.<>c__DisplayClass577_0.<<Mutate>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.ProjectSystem.ProjectMultiThreadedService.ExecuteSynchronously(Func
1 asyncAction) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProject.Mutate[T](Func1 asyncAction, Boolean includesFileSystemChange, String telemetryActivity) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProjectItems.AddFolder(String name, String kind) at GuidanceCore.Extensions.PhysicalFolderExtensions.<GetOrAddFolderAsync>d__3.MoveNext()