mirror of
https://github.com/Z3Prover/z3
synced 2026-05-16 23:25:36 +00:00
Bump dotnet example target framework from netcoreapp2.0 to net8.0 (#9531)
- [x] Update `examples/dotnet/dotnet.csproj` target framework from `netcoreapp2.0` to `net8.0` - [x] Update `cmake/modules/FindDotnet.cmake`: replace all `netcoreapp2.0` references (build options, pack options, dll path, test framework args) with `net8.0` - [x] Update `examples/dotnet/CMakeLists.txt`: fix hardcoded output path from `netcoreapp2.0` to `net8.0` - [x] Update `scripts/mk_util.py`: fix generated `.csproj` template from `netcoreapp2.0` to `net8.0` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
4f40c3d888
commit
bed73a3f43
4 changed files with 8 additions and 8 deletions
|
|
@ -24,9 +24,9 @@ if(UNIX AND NOT APPLE)
|
|||
|
||||
add_custom_target(
|
||||
z3_dotnet_test_manual_copy_assembly_hack ALL
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${z3_dotnet_test_manual_copy_deps} ${PROJECT_BINARY_DIR}/dotnet/netcoreapp2.0/
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${z3_dotnet_test_manual_copy_deps} ${PROJECT_BINARY_DIR}/dotnet/net8.0/
|
||||
# hack the libz3 entry in deps so it's easy enough for dotnet to reach it...
|
||||
COMMAND sed \"s/runtimes\\/.*libz3\\.so/libz3.so/\" -i ${PROJECT_BINARY_DIR}/dotnet/netcoreapp2.0/dotnet.deps.json
|
||||
COMMAND sed \"s/runtimes\\/.*libz3\\.so/libz3.so/\" -i ${PROJECT_BINARY_DIR}/dotnet/net8.0/dotnet.deps.json
|
||||
)
|
||||
|
||||
add_dependencies(z3_dotnet_test_manual_copy_assembly_hack BUILD_dotnet)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue