cs2php
cs2php copied to clipboard
Unhandled Exception: System.IO.FileNotFoundException: ... System.Threading.Tasks.Dataflow
I was able to compile cs2php, but when I run it to try to convert a C# application to PHP, I get an error from cs2php, and it crashes. See screenshot:

I used MS VS 2019. Exact details:

Any ideas?
Seems to be similar to https://github.com/Microsoft/msbuild/issues/2423
What version of Visual Studio do you run? (I was getting this error on VS2019 on Windows 7.) Does it only work with VS2015?
Add nuget System.Threading.Tasks.Dataflow to Lang.Cs2Php