-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Description
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.
ownerer, conanthedev, si618, virzak, Frulfump and 7 more
Metadata
Metadata
Assignees
Labels
No labels