переименовании падает. Что-то он пытается найти несуществующий сгенерированный C# в F# проекте 😄
Создать репродукцию и зарепортить?
System.Exception : The file 'C:\Users\Andrii\Dev\SkillGro\App\Marketplace\Server\Pages\Error.cshtml.reAnT4S4KLCYARJg.ide.g.cs' was not part of the project. Did you call InvalidateConfiguration when the list of files in the project changed?
at FSharp.Compiler.CodeAnalysis.IncrementalBuilder.GetSlotOfFileName(String fileName)
at FSharp.Compiler.CodeAnalysis.IncrementalBuilder.GetParseResultsForFile(String fileName)
at <StartupCode$FSharp-Compiler-Service>.$Service.GetBackgroundParseResultsForFileInProject@545-2.Invoke(Tuple`2 _arg13)
at FSharp.Compiler.BuildGraph.Bind@61-1.Invoke(T x)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt,b result1,FSharpFunc`2 userCode)
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.WorkspaceExtensions.Project-FindFSharpReferencesAsync@325-11[a](<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.WorkspaceExtensions.Project-FindFSharpReferencesAsync@326-33(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.WorkspaceExtensions.Project-FindFSharpReferencesAsync@286[a](<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.SymbolHelpers.getSymbolUsesInProjects@86-3(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.SymbolHelpers.getSymbolUsesInProjects@79-1(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.SymbolHelpers.findSymbolUses@97(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.SymbolHelpers.getSymbolUses@147(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.VisualStudio.FSharp.Editor.SymbolHelpers.getSymbolUsesInSolution@159(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at <StartupCode$FSharp-Editor>.$InlineRenameService.FindRenameLocationsAsync@155-4.Invoke(ResumableStateMachine`1& sm)
at <StartupCode$FSharp-Editor>.$InlineRenameService.FindRenameLocationsAsync@154-26.MoveNext(ResumableStateMachine`1& sm)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.ExternalAccess.FSharp.Editor.FSharpInlineRenameInfo.Microsoft-CodeAnalysis-Editor-IInlineRenameInfo-FindRenameLocationsAsync(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.InlineRenameSession.<>c__DisplayClass44_0.<UpdateReferenceLocationsTask>b__0(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.InlineRenameSession.<>c__DisplayClass76_0.<UpdateConflictResolutionTask>b__0(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.InlineRenameSession.CommitCoreAsync(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.InlineRenameSession.CommitWorkerAsync(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
Да, но я пока не понимаю. Переименование в каком проекте?
Обсуждают сегодня