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

Update to .NET 8 #5322

Merged
merged 28 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
13593d4
Try building with .NET 8.0
atomb Apr 15, 2024
80eef37
Update CI to install .NET 8.0
atomb Apr 15, 2024
929e8d5
Use .NET 8.0 when executing generated C# code
atomb Apr 15, 2024
9a4b7c2
Update installation docs to use .NET 8.0
atomb Apr 15, 2024
d468f1d
Make pre-commit hook match CI checks
atomb Apr 15, 2024
c584c06
Update formatting of DafnyRuntimeSystemModule
atomb Apr 15, 2024
8032f1d
Remove warnings with .NET 8.0
atomb Apr 15, 2024
e19bc59
Fix message coming from .NET standard libraries
atomb Apr 15, 2024
b0d5543
Fix fragile test output
atomb Apr 15, 2024
b2bae1e
Disable lowercase class name warnings
atomb Apr 15, 2024
66d1327
Merge remote-tracking branch 'origin/master' into net8.0
keyboardDrummer Nov 4, 2024
4981f2a
Update Tomlyn
keyboardDrummer Nov 5, 2024
19ae7d7
Update fuel test
keyboardDrummer Nov 6, 2024
5b21870
Update patch file
keyboardDrummer Nov 6, 2024
b991205
Merge remote-tracking branch 'origin/master' into net8.0
keyboardDrummer Dec 19, 2024
74d5512
Switch Fuel.legacy to the new CLI, and update its expect file to remo…
keyboardDrummer Dec 19, 2024
403d224
Merge remote-tracking branch 'origin/master' into net8.0
keyboardDrummer Jan 7, 2025
053a32e
Update test to use new CLI
keyboardDrummer Jan 7, 2025
f08c197
Updates
keyboardDrummer Jan 7, 2025
1a70cae
Refactoring
keyboardDrummer Jan 7, 2025
2dd37d1
Merge branch 'net8.0' of github.com:keyboardDrummer/dafny into net8.0
keyboardDrummer Jan 7, 2025
4628124
Ran formatter
keyboardDrummer Jan 7, 2025
209530f
Update expect files
keyboardDrummer Jan 7, 2025
7651291
Simplify CI files, update doc-test expect file
keyboardDrummer Jan 7, 2025
33a8670
Update expect files
keyboardDrummer Jan 7, 2025
4925fe2
Use Directory.Build.props
keyboardDrummer Jan 7, 2025
a13764f
Fix
keyboardDrummer Jan 8, 2025
b9a2c9b
Update DafnyRuntimeSystemModule.cs
keyboardDrummer Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/doc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# If we do not also install .NET 6 as well, then our doc-tests fail for an unknown reason
# Failing run: https://github.com/dafny-lang/dafny/actions/runs/12276984671/job/34255376460
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Checkout Dafny
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
default: ""

env:
dotnet-version: 6.0.x # SDK Version for building Dafny
dotnet-version: 8.0.x # SDK Version for building Dafny

jobs:
# This job is used to dynamically calculate the matrix dimensions.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:


env:
dotnet-version: 6.0.x # SDK Version for building Dafny
dotnet-version: 8.0.x # SDK Version for building Dafny

jobs:
check-deep-tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
required: false

env:
dotnet-version: 6.0.x # SDK Version for building Dafny
dotnet-version: 8.0.x # SDK Version for building Dafny

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'v*'

env:
dotnet-version: 6.0.x # SDK Version for building Dafny
dotnet-version: 8.0.x # SDK Version for building Dafny

jobs:
deep-integration-tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/refman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Checkout Dafny
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-downloads-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
workflow_dispatch:

env:
dotnet-version: 6.0.x # SDK Version for running Dafny (TODO: should this be an older version?)
dotnet-version: 8.0.x # SDK Version for running Dafny (TODO: should this be an older version?)
z3BaseUri: https://github.com/dafny-lang/solver-builds/releases/download/snapshot-2023-08-02

concurrency:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/runtime-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# If we do not also install .NET 6 as well, then our doc-tests fail for an unknown reason
# Failing run: https://github.com/dafny-lang/dafny/actions/runs/12276984671/job/34255376460
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Set up JDK 18
uses: actions/setup-java@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/xunit-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Install dependencies
run: |
dotnet restore ${{env.solutionPath}}
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Subsequent CI runs should pick up the successful `deep-tests` run and make the `
### How can I write portions of Dafny in Dafny itself?

Since https://github.com/dafny-lang/dafny/pull/2399, it is possible to add \*.dfy files next to other source files.
The plugin `dafny-msbuild` takes all the dafny files and compiles them into a single file `Source/DafnyCore/obj/Debug/net6.0/GeneratedFromDafny.cs`
The plugin `dafny-msbuild` takes all the dafny files and compiles them into a single file `Source/DafnyCore/obj/Debug/net8.0/GeneratedFromDafny.cs`
that is automatically included in the build process. This file contains also the Dafny run-time in C#.
One example of such file is `Source/DafnyCore/AST/Formatting.dfy`, and you can use it as a starting point.

Expand Down
2 changes: 1 addition & 1 deletion Scripts/use-local-boogie.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ BOOGIE_PATH="boogie/"
allDlls=("Boogie.AbstractInterpretation.dll" "Boogie.BaseTypes.dll" "Boogie.CodeContractsExtender.dll" "Boogie.Concurrency.dll" "Boogie.Core.dll" "Boogie.ExecutionEngine.dll" "Boogie.Graph.dll" "Boogie.Houdini.dll" "Boogie.Model.dll" "Boogie.Predication.dll" "Boogie.Provers.SMTLib.dll" "Boogie.VCExpr.dll" "Boogie.VCGeneration.dll" "BoogieDriver.dll" "System.Configuration.ConfigurationManager.dll" "System.Runtime.Caching.dll" "System.Security.Cryptography.ProtectedData.dll" "System.Security.Permissions.dll")
for t in "${allDlls[@]}"
do
cp "${BOOGIE_PATH}Source/BoogieDriver/bin/Release/net6.0/${t}" Binaries/
cp "${BOOGIE_PATH}Source/BoogieDriver/bin/Release/net8.0/${t}" Binaries/
done
1 change: 0 additions & 1 deletion Source/AutoExtern.Test/AutoExtern.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion Source/AutoExtern.Test/Minimal/Library.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/AutoExtern.Test/Tutorial/ClientApp/ClientApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<NoWarn>CS3021; CS0162</NoWarn>
<NoWarn>CS8981; CS3021; CS0162</NoWarn>
<!-- <Nullable>enable</Nullable> -->
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Source/AutoExtern.Test/Tutorial/Library/Library.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/AutoExtern/AutoExtern.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
3 changes: 1 addition & 2 deletions Source/Dafny/Dafny.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<AssemblyName>Dafny</AssemblyName>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<DefineConstants>TRACE</DefineConstants>
<TargetFramework>net6.0</TargetFramework>
<RollForward>Major</RollForward>
<OutputPath>..\..\Binaries\</OutputPath>
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
Expand All @@ -16,7 +15,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RollForward>Major</RollForward>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
1 change: 0 additions & 1 deletion Source/DafnyCore.Test/DafnyCore.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore.Test/GeneratedFromDafny/DefsCoverage.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore.Test/GeneratedFromDafny/RASTCoverage.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/AST/SystemModuleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public byte[] MyHash {
Concat(TotalArrowTypeDecls.Keys.OrderBy(x => x)).
Concat(tupleInts.OrderBy(x => x));
var bytes = ints.SelectMany(BitConverter.GetBytes).ToArray();
hash = HashAlgorithm.Create("SHA256")!.ComputeHash(bytes);
hash = SHA256.Create()!.ComputeHash(bytes);
}

return hash;
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/Backends/CSharp/CsharpBackend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public override string GetCompileName(bool isDefaultModule, string moduleName, s
<PropertyGroup>
<OutputType>{outputType}</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<NoWarn>CS8600;CS8603;CS8604;CS8605;CS8625;CS8629;CS8714;CS8765;CS8769;CS8981</NoWarn>
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/Backends/CSharp/CsharpCodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected override void EmitHeader(Program program, ConcreteSyntaxTree wr) {
wr.WriteLine("// Dafny program {0} compiled into C#", program.Name);
wr.WriteLine("// To recompile, you will need the libraries");
wr.WriteLine("// System.Runtime.Numerics.dll System.Collections.Immutable.dll");
wr.WriteLine("// but the 'dotnet' tool in net6.0 should pick those up automatically.");
wr.WriteLine("// but the 'dotnet' tool in .NET should pick those up automatically.");
wr.WriteLine("// Optionally, you may want to include compiler switches like");
wr.WriteLine("// /debug /nowarn:162,164,168,183,219,436,1717,1718");
wr.WriteLine();
Expand Down
7 changes: 4 additions & 3 deletions Source/DafnyCore/DafnyCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputPath>..\..\Binaries\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<TargetFramework>net6.0</TargetFramework>
<RollForward>Major</RollForward>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

<NoWarn>$(NoWarn);NU5104</NoWarn> <!-- Required because System.CommandLine is in beta. -->
<NoWarn>$(NoWarn);NU5104;CS8981</NoWarn>
<!-- NU5104 required because System.CommandLine is in beta. -->
<!-- CS8981 required because Dafny code can use lowercase type names -->
<IsPackable>true</IsPackable>
</PropertyGroup>

Expand All @@ -35,7 +36,7 @@
<PackageReference Include="System.Runtime.Numerics" Version="4.3.0" />
<PackageReference Include="System.Collections.Immutable" Version="1.7.1" />
<PackageReference Include="Boogie.ExecutionEngine" Version="3.4.3" />
<PackageReference Include="Tomlyn" Version="0.16.2" />
<PackageReference Include="Tomlyn" Version="0.17.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/DafnyGeneratedFromDafny.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# 1. Delete the file GeneratedFromDafny.cs
# 2. Add a dependency to
# <PackageReference Include="dafny.msbuild" Version="1.0.0" />
# That's it! The same file will now be automatically generated as obj/Debug/net6.0/GeneratedFromDafny.cs
# That's it! The same file will now be automatically generated as obj/Debug/net8.0/GeneratedFromDafny.cs
# 3. Remove the following dependencies that are being taken care by dafny-msbuild
# <PackageReference Include="Microsoft.Build.Framework" Version="16.5.0" PrivateAssets="All" />
# <PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.5.0" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/D2DPrettyPrinter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/DAST.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/DAST_Format.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/DCOMP.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/Defs.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/Formatting.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/FuncExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyCore/GeneratedFromDafny/RAST.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dafny program the_program compiled into C#
// To recompile, you will need the libraries
// System.Runtime.Numerics.dll System.Collections.Immutable.dll
// but the 'dotnet' tool in net6.0 should pick those up automatically.
// but the 'dotnet' tool in .NET should pick those up automatically.
// Optionally, you may want to include compiler switches like
// /debug /nowarn:162,164,168,183,219,436,1717,1718

Expand Down
Loading
Loading