Error] System.ArgumentException: Illegal characters in path MS Test when testing with Dot Net Core 2.2 Solution: Check in your Enviroment Variables and move any variables with "dotnet" to front of the variables path. Move the variables using a "Move UP" button.