Recently the workflow analyzer has been super buggy and reporting alot of false positives.
There are a couple of topics regarding it claiming it cannot convert from JObject to JObject but its also doesn’t work properly yet with Coded workflows and frequently complains on an issue that doesn’t exist as the code will compile and run.
As a workaround I have found I either need to build on a machine on a lower version before whatever changes were made to the analyzer broke it or to use the build activity from the Build Pipelines packages and build my project that way.
Both of these prove the workflow analyzer is just not working correctly and my code can infact compile. It also often misses things meaning you get the error during compile.
I propose you add an option that when you try to publish the analyzer can of course run but if it gets an error you give me the option to say ‘ok, but try to build/publish anyway’.
This would prevent me needing these annoying workarounds to defeat the buggy analyzer.