diff --git a/.gitignore b/.gitignore
index 3403530..f889c0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ artifacts/
*DS_Store
*.sln.ide
.vs/
+ref/
diff --git a/src/OpenbveFcmbTrainPlugin.csproj b/src/OpenbveFcmbTrainPlugin.csproj
index b52c989..7fd8c69 100644
--- a/src/OpenbveFcmbTrainPlugin.csproj
+++ b/src/OpenbveFcmbTrainPlugin.csproj
@@ -29,7 +29,8 @@
- ..\..\..\Documents\OpenBVE\OpenBveApi.dll
+ ref\OpenBveApi.dll
+ False