Implemented Details of Asset Administration Shell 2.0.1
Fixed AAS-XML schema validation
Refactored versioning of AAS schemas
Packages updated
diff --git a/sdks/dotnet/basyx-core/BaSyx.Models.Export/aas-spec-v2.0/EnvironmentReference_V2_0.cs b/sdks/dotnet/basyx-core/BaSyx.Models.Export/aas-spec-v2.0/EnvironmentReference_V2_0.cs
index d0736e1..2575d42 100644
--- a/sdks/dotnet/basyx-core/BaSyx.Models.Export/aas-spec-v2.0/EnvironmentReference_V2_0.cs
+++ b/sdks/dotnet/basyx-core/BaSyx.Models.Export/aas-spec-v2.0/EnvironmentReference_V2_0.cs
@@ -21,5 +21,13 @@
         [XmlArray("keys")] 
         [XmlArrayItem("key")]
         public List<EnvironmentKey_V2_0> Keys { get; set; }
+
+        public bool ShouldSerializeKeys()
+        {
+            if (Keys == null || Keys.Count == 0)
+                return false;
+            else
+                return true;
+        }
     }
 }