Skip to content
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

[2.4.x] add note on .NET installation to README #205

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

cdisselkoen
Copy link
Contributor

Adds a note to the README about installation of .NET which is required for Dafny.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@cdisselkoen cdisselkoen requested a review from khieta January 24, 2024 15:59
Comment on lines 16 to +17
* Install Dafny 4.0, following the instructions [here](https://github.com/dafny-lang/dafny/wiki/INSTALL). Our proofs expect Z3 version 4.12.1, so if you have another copy of Z3 installed locally, you may need to adjust your PATH.
* Note that our Makefile also expects the .NET SDK and `dotnet` executable, version 6.0.x, available on your PATH. You can download the .NET SDK 6.0 from [here](https://dotnet.microsoft.com/en-us/download/dotnet/6.0).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Install Dafny 4.0, following the instructions [here](https://github.com/dafny-lang/dafny/wiki/INSTALL). Our proofs expect Z3 version 4.12.1, so if you have another copy of Z3 installed locally, you may need to adjust your PATH.
* Note that our Makefile also expects the .NET SDK and `dotnet` executable, version 6.0.x, available on your PATH. You can download the .NET SDK 6.0 from [here](https://dotnet.microsoft.com/en-us/download/dotnet/6.0).
* Install Dafny and its dependencies, following the instructions [here](https://github.com/dafny-lang/dafny/wiki/INSTALL). Note that our proofs expect Z3 version 4.12.1, so if you have another copy of Z3 installed locally, you may need to adjust your PATH.

Just noticed that the linked installation instructions say to install .NET.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but the linked installation instructions don't specify that you need the .NET SDK (not just the .NET runtime) and don't specify that the dotnet executable must be on your PATH. Although possibly we should just submit that patch to the linked instructions rather than here

@khieta khieta merged commit c9d86ca into release/2.4.x Feb 12, 2024
2 checks passed
@khieta khieta deleted the cdisselkoen/dafny-readme-note branch February 12, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants