FacepunchBehaviour is defined in an assembly that is not referencedSolved

The type 'FacepunchBehaviour' is defined in an assembly that is not referenced. You must add a reference to assembly 'Facepunch.UnityEngine

I have referenced everything that downloads from the rust dedicated data folder

im using visual studio 2017

Anyone had this problem?

Have You tryed referencing it again manually?
Seems like it works normally for me...
Yeah that doesnt work for me as i dont have the reference to facepunch unity engine. Where did you get it from can i ask?
In response to SamGreaves ():
Yeah that doesnt work for me as i dont have the reference to facepunch unity engine. Where did you g...
It's included with every Rust server install.

Thank you guys I've fixed it now.

For anyone else looking here I downloaded the rust server from a youtube tutorial. running the server didnt work so I followed a different method from rustified.com :- https://www.rustafied.com/how-to-host-your-own-rust-server

I had to run the following from steam cmd

login anonymous
force_install_dir "c:\rustserver\"
app_update 258550
quit
Locked automatically