Description
Describe the bug
Using VS2022 17.6.2, if you try to add a service reference to any C# library project that references an F# library project, you will get the following error message:
The Connected Services component 'Microsoft WCF Web Service Reference Provider' failed: The specified parameter value '..\Swyfft.Services.AddressProcessor\Swyfft.Services.AddressProcessor.fsproj' is not valid. Parameter name: 'filePath'.
To Reproduce
Steps to reproduce the behavior:
-
Either open the attached .zip file, or alternatively, create a .NET 6.0 solution with a C# library project referencing an F# library project.
-
In Visual Studio 2022, right-click on the C# library project, choose "Add", and then "Service Reference".
-
In the "Add Service Reference" modal, choose "WCF Web Service" and click "Next".
-
Instead of the next screen in the wizard, I get this error message:
Expected behavior
I would expect to see the next screen in the wizard.
Screenshots
See above.
Additional context
See the attached solution.
Scratch.zip