icerpc / icerpc-csharp

A C# RPC framework built for QUIC, with bidirectional streaming, first-class async/await, and Protobuf support.
https://docs.icerpc.dev
Apache License 2.0
101 stars 13 forks source link

Remove TargetFramework -linux etc in example projects #3912

Closed bernardnormier closed 7 months ago

bernardnormier commented 7 months ago

We have this in a few example project files for QUIC:

     <TargetFramework>net8.0-linux</TargetFramework>
    <TargetFramework>net8.0-macos</TargetFramework>
    <TargetFramework>net8.0-windows</TargetFramework>

This results in the binary going into net8.0-windows on all platforms, which is odd.

A better solution is to disable CA1416: Validate platform compatibility for the examples.