I downloaded Z3 from https://github.com/Z3Prover/z3 on Ubuntu 16.04, but the compiled file microsoft.z3.dll is installed in the project directory instead of the mono or GAC folder, and the programs do not recognize it (microsoft.z3.dll is placed in z3-master/build/
instead of /usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5.2/
).
These are the instructions I used to install Z3:
- Install the package repository of the mono project as described at their download page, and then:
sudo apt-get install mono-devel
sudo apt-get install nuget
- Download the current stable release from Z3 releases, and then:
CSC=/usr/bin/csc GACUTIL=/usr/bin/gacutil python scripts/mk_make.py --dotnet
cd build
make
sudo make install
Please advise me how to install the file microsoft.z3.dll elsewhere or how to move the installed file microsoft.z3.dll.
dotnet add package Microsoft.Z3.x64 --version 4.8.8
.Could not find any project in `/home/madieh/`.
``` dotnet add <PROJECT> package [options] <PACKAGE_NAME>``` Can you help me?.csproj
file as the second argument todotnet add
i.edotnet add /path/to/yourproject.csproj package Microsoft.Z3.x64 --version 4.8.8
) and the required.dll
file plus required runtimes(for MacOS , Linux and Windows) will be added by default to the~/.nuget/packages
directory.Then whenever you add that dependency to your projects,given the same version of Z3,it won't need to be re-downloaded.Packages in the~/.nuget/packages
is somehow global(Not to be confused with GAC)rror: Error while adding package 'Microsoft.Z3.x64' to project '/home/madieh/Spire-master/Spire/Spire.csproj'. The project does not support adding package references through the add package command.
Thank you very much if you can help me