diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj
index c848dfba2..7c492a029 100644
--- a/BTCPayServer/BTCPayServer.csproj
+++ b/BTCPayServer/BTCPayServer.csproj
@@ -186,9 +186,6 @@
$(IncludeRazorContentInPack)
-
- $(IncludeRazorContentInPack)
-
$(IncludeRazorContentInPack)