wireguard-nt icon indicating copy to clipboard operation
wireguard-nt copied to clipboard

vs2019 mandatory ?

Open SheiylaDev opened this issue 1 year ago • 1 comments

hello, i have vs2022 and it doesn't work, do i have to use vs2019?

SheiylaDev avatar Dec 27 '24 10:12 SheiylaDev

Managed to run example with vs2022. Other are not so important for me. Anyway here is what i did until I reached the point:

  • install WDK (https://github.com/WireGuard/wireguard-nt#building)
  • installed WDK from visiual studio installer
  • downloaded prebuilt wireguard dll (https://github.com/WireGuard/wireguard-nt#usage)
  • changed the "project"-"Property"-"C/C++"-"General"-"Additional Include Directories" from ../api to the one where extracted prebuilt dll.
  • build example (I also forced to unload all other projects (not sure how to disable dependencies in this extra complicated IDE)
  • put the prebuilt dll together with just built app
  • run from admin

OleksiiSmiian avatar Apr 07 '25 16:04 OleksiiSmiian