723 B
723 B
How to Run Infer# Locally on Windows via WSL2 (Windows Subsystem for Linux)
Prerequisite
Please use the Ubuntu-20.04 WSL distribution or the Debian WSL distribution.
Setup
- From Windows Command Prompt or PowerShell, enter
wsl.exe
to open your default Linux distribution. - Execute the following commands:
cd ~ && wget https://github.com/microsoft/infersharp/releases/download/v1.2/infersharp-linux64-v1.2.tar.gz && tar -xvzf infersharp-linux64-v1.2.tar.gz && cd infersharp
- Run Infer# against your binaries. For example, if the binaries are at
C:\Code\MyApp\bin
./run_infersharp.sh /mnt/c/Code/MyApp/bin/