You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when trying to use dotnet format on a .slnx file, I get the following error:
Unhandled exception: System.IO.FileNotFoundException: The file 'TrafficGenerator.slnx' does not appear to be a valid project or solution file.
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindFile(String workspacePath)
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.FormatCommandCommon.ParseWorkspaceOptions(ParseResult parseResult, FormatOptions formatOptions)
at Microsoft.CodeAnalysis.Tools.Commands.RootFormatCommand.FormatCommandDefaultHandler.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
I didn't find any issue mentioning it, so I thought it would be helpful to create this issue.
The text was updated successfully, but these errors were encountered:
Currently, when trying to use
dotnet format
on a .slnx file, I get the following error:I didn't find any issue mentioning it, so I thought it would be helpful to create this issue.
The text was updated successfully, but these errors were encountered: