Everyone’s favorite Visual Studio Feature! LINKED ITEMS! 😊
I literally generated a client using the ‘Add REST API Client’ in the .NET Framework project and the PCL project and then linked them into a .NET Standard project and neither codebases threw compiler errors.
However, this is no reason for the good folks on the Visual Studio tooling for Azure team not to update the ‘REST API Client’ wizard to support .NET Standard assemblies. Clearly it would be very, very close to a recompile.
You just need to add a few NuGet packages and you’re all set!
- Microsoft.Rest.ClientRuntime v2.3.10
- Newtonsoft.Json v.10.0.3