diff --git a/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs b/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs
index e8ba82d..be95e45 100644
--- a/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs
+++ b/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs
@@ -1,4 +1,5 @@
-namespace DigitalData.Core.Abstraction.Application.DTO;
+#if NET
+namespace DigitalData.Core.Abstraction.Application.DTO;
///
/// Represents a base Data Transfer Object (DTO) with an identifier.
@@ -14,4 +15,5 @@ public record BaseDTO(TId Id) where TId : notnull
///
/// A hash code for the current object, derived from the identifier.
public override int GetHashCode() => Id.GetHashCode();
-}
\ No newline at end of file
+}
+#endif
\ No newline at end of file