-
Notifications
You must be signed in to change notification settings - Fork 263
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
DafnyRuntime not compatible with .NET frameworks earlier than .NET 6.0 #2779
Comments
Abusing |
I believe this was resolved by #2604. It uses a slightly different set of target frameworks than https://github.com/aws/aws-encryption-sdk-dafny, but my understanding is that it's a compatible set. |
@atomb I'm not sure either. But I think we need to add |
|
…2795) Fixes #2779. Another attempt after the previous attempt (#2604) had to be reverted (#2710). I tried this with a fresh clone and didn't run into the Rider problem described in #2710 - I'm relatively confident the `<TargetFramework>net6.0</TargetFramework>` I've removed from `Directory.Build.props` was to blame, and/or just needing to thoroughly clean `bin` and `obj` directories. Note that I am partially relying on post-hoc testing of the nightly build packages after this is merged, to ensure the `net452` build actually works on Windows. Note also that the packaging warnings I refer to in one of the commit messages are an existing, orthogonal issue: #3069 <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Was this closed on the PR merge or a release of the Runtime to nuget? |
On the PR merge, but we are already working towards getting a release out in a matter of days. |
On November 26th,
Running Sample Error:
I can do more digging, but it appears that |
Using C# @ 10, I encountered another error,
I can work around this by adding
With that, my project builds for Frameworks Again, |
Ahh... I a may have been too quick to speak.
in my |
Result of being too restrictive in the DafnyRuntime.csproj configuration. Blocks adoption by projects that need to support earlier versions such as https://github.com/aws/aws-encryption-sdk-dafny.
The text was updated successfully, but these errors were encountered: