diff --git a/DICUI.Library/Utilities/Validators.cs b/DICUI.Library/Utilities/Validators.cs
index e3cc65ef..3c728e87 100644
--- a/DICUI.Library/Utilities/Validators.cs
+++ b/DICUI.Library/Utilities/Validators.cs
@@ -1004,6 +1004,7 @@ namespace DICUI.Utilities
/// Copy protection detected in the envirionment, if any
public static async Task RunProtectionScanOnPath(string path)
{
+#if NET_FRAMEWORK
try
{
var found = await Task.Run(() =>
@@ -1021,6 +1022,9 @@ namespace DICUI.Utilities
{
return $"Path could not be scanned! {ex}";
}
+#else
+ return "Copy protection scanning is not available on .NET Core builds";
+#endif
}
}
}