-
Notifications
You must be signed in to change notification settings - Fork 269
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
Feature request: Dafny project file #1546
Comments
Note also this is follow-up from #1426, as having a project file that declared the supported Dafny version would have prevented the plugin from "silently" (or at least fairly quietly) upgrading Dafny. |
@jaybosamiya also had some relevant thoughts on how this could impact the |
I feel this ticket specifies a 'how' (use a project file) instead of 'what' (Enable a more standard build system for Dafny). I think the benefits mentioned in the issue can be gotten by script file with a Dafny CLI call as well, given changes to the Dafny CLI. However, I can think of one thing that a project file can do that a script file with a Dafny CLI call can not, which is to provide an interface for sharing Dafny configuration between different Dafny tools, for example the CLI and the language server. This benefit isn't listed in this issue, but I think it's the most important reason to introduce a project file for Dafny. A secondary reason for introducing a project file is I think to improve the UX of configuring a Dafny project. Configuration files allows specifying complex configuration in a readable way through textual tree structures, while specifying such information through the CLI can look clunky. More discussion can be found here. |
Completed with PR 3851 |
This has come up in several contexts and I think the time is ripe to figure this out. The benefits include but are not limited to:
/definiteAssignment:3
is particularly critical)The
dafny.msbuild
task provides some of this functionality, but I suspect it's worth defining a separate if similar format rather than permanently squatting on a .NET-specific (or at least C#-specific)*.csproj
file format.The text was updated successfully, but these errors were encountered: