referring to our discussion here a few tiny questions:
Do you plan to release the System.Activity and Workflow.Foundation classes for dotNET 6 independently from your release 22.4? This would give us a chance to build packages in advance and make them available with the upcoming release that supports dotNET 6.
Would you recommend building packages that support dotNET 6 right now?
From your perspective, is it necessary to support dotNET 5 and dotNET 6 in the future so that packages can also be used from the release 21.10? Or how long do you think we should support packages for the release >= 21.10 until full dotNET 6 support?
this morning I tried to build a cross-plattform activity for Windows and Mac OS X but I got a lot of warnings, the compatibility of the platform was checked and not passed (CA1416).
Warning CA1416: This call site is reachable on: 'Windows' all versions. 'OutArgument<string>.Set(ActivityContext, string)' is only supported on: 'Windows' 7.0 and later.
Warning CA1416: This call site is reachable on: 'macOS/OSX'. 'OutArgument<string>.Set(ActivityContext, string)' is only supported on: 'Windows' 7.0 and later.
Warning CA1416: This call site is reachable on: 'Linux'. 'OutArgument<string>.Set(ActivityContext, string)' is only supported on: 'Windows' 7.0 and later.
Warning CA1416: This call site is reachable on all platforms. 'OutArgument<string>.Set(ActivityContext, string)' is only supported on: 'Windows' 7.0 and later.
As far as I can see is the library System.Activities.dll, which contains the OutArgument class, only for the target platform Windows7.0. So I would like to add one more to my questions above:
When do you plan to release your System.Activities library for the net5.0 respectively net6.0 target platform?
@StefanSchnell you got it right we are heading to .NET 6 as a LTS version
Yes, System.Activity and Workflow.Foundation are independent of 22.4 release, we plan to have them available ahead. Most likely we will have something in January - February next year.
You can plan ahead but until we deliver the first port of Studio/Robot you will not benefit from the new activities
We will provide a patch for 21.10 with NET6 so in the future having just NET6 should also cover this usecase. We don’t have a timeline yet, but it will happen early next year.
What version of System.Activities are you using? It should also work for cross-platform with net5.0.
If I compile the activity with the mac OS X Assistant’s System.Activity.dll, it works without any problems. With the Windows library I get the errors mentioned above. And the manifest of the Windows library shows that the TargetPlatform and the SupportedOSPlatform attributes are Windows7.0.
I had this thread in my backlog for a while. Sorry for the late reply.
As we are a few days away from releasing the Stable & Enterprise for 2022.4 Release that brings .NET 6.0 runtime support please find the list of dependencies if you want to create a .NET 6.0 activity package: