Setting custom engine project to read-only

I’m using a manually compiled engine, and keep accidentally cleaning and recompiling it when recompiling my projects in Visual Studio.

Is there any way to set the engine project to read-only in the project solution, so that it can’t wipe the engine build? Ideally in a way that would still allow me to recompile the engine when I need to from the engine solution.