-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial - "Error: Failed to get test method '' from assembly 'ClientServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' " #542
Comments
I tried this again with the output DLL and it errored out. I tried to compile all the tutorials and they all had errors. Most had output similar to the below.
|
I am able to get this to work on a different computer. I am assuming there is something wrong with my local setup. I am closing this issue. Thank you. |
I had similar issue on my Mac with the "Could not load type" errors when running the 'coyote test' command. In the end the problem was that the Coyote was installed for different version of dotnet (in my case 6.0.11) than the version which was used to build the P tutorials. If you follow the installation guide by running
then the dotnet framework will be 3.1. You can see which version the Coyote tries to use in the output when running 'coyote test':
I resolved the issue by:
I am putting my solution here just in case someone stumbles on the same issue. @ankushdesai This issue could be a common problem for folks using Macs who have already a specific version of dotnet framework installed on their machine. We could improve the Would such change make sense? Please let me know what you think. If yes, I'll create a PR. Thank you. |
@martinHornacek I am using Debian/Linux, but I think your point holds about conflicting versions. Another way to work around this:
It's been a minute since I found this workaround, so some of these instructions may not be correct, but it does leave the global versions of |
Trying to run the tutorial, I have run into another issue. I have multiple versions of
dotnet
but I installed Coyote locally and am using a global.json file to specify 3.1. Any help is appreciated!The text was updated successfully, but these errors were encountered: