Closed bernardnormier closed 1 month ago
The problem is that for the MSBuild tools packages, we have to target netstanard2.0, when we do:
It doesn't find the actual files because the IceRpc.ProtocGen
project uses a different target framework (.NET 8 or .NET 9)
I wonder if we can replace $(TargetFramework) with
**` like:
<!-- Use the compilers from this source build. -->
<None Include="../IceRpc.ProtocGen/bin/$(Configuration)/**/*"
Exclude="../IceRpc.ProtocGen/bin/$(Configuration)/**/*.exe">
A second option would be to not set TargetFramwork directly in IceRpc.Versions.props
and use an intermediary variable, that we can use in the non-tools projects to set the target framework.
I can give it a try if you want.
Yes, go ahead!
The updates to the IceRpc.Protobuf.Tools files are bogus. It's not immediately clear how to do it properly.